Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pixi list --explict #1216

Closed
bollwyvl opened this issue Apr 17, 2024 · 5 comments · Fixed by #1873
Closed

Add pixi list --explict #1216

bollwyvl opened this issue Apr 17, 2024 · 5 comments · Fixed by #1873
Labels
✨ enhancement Feature request

Comments

@bollwyvl
Copy link
Contributor

Problem description

As always: thanks for pixi!

The creaky old conda list --explicit --md5 format (broken hash, without PyPI deps, and all) is still the most portable thing for feeding into other tools such as constructor and dependency scanners.

While it would be possible to make a third-party contraption that extracted this data from the pixi.lock file, if the structure of even that is in flux (#1172), having a pixi list --explicit in the near term is likely the easiest thing to offer to folk that are otherwise curious about pixi, but need to ship installers.

An extra magic bonus would be not having to re-calculate a matrix with something akin to conda-lock's template mechanism:

pixi list --explicit --format="path/to/folder/{environment}-{platform}.conda.lock.txt"
@bollwyvl bollwyvl added the ✨ enhancement Feature request label Apr 17, 2024
@ruben-arts
Copy link
Contributor

That could make sense! Not sure how hard it would be as pixi can still read conda lock like format using rattler

@bollwyvl
Copy link
Contributor Author

Cool. Or, as pixi list already has a lot of options, having an pixi export (with explicit as the first of perhaps several formats) would make sense.

@abkfenris
Copy link
Contributor

Cool. Or, as pixi list already has a lot of options, having an pixi export (with explicit as the first of perhaps several formats) would make sense.

Apixi export command was also my first thought from hacking around in list recently.

@baszalmstra
Copy link
Contributor

Will be implemented in: #1873

@bollwyvl
Copy link
Contributor Author

Huzzah! Looking forward to the next release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement Feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants