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

Question: Support for PyPi Packages planned? #38

Open
arnoan opened this issue Jul 31, 2024 · 4 comments
Open

Question: Support for PyPi Packages planned? #38

arnoan opened this issue Jul 31, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@arnoan
Copy link

arnoan commented Jul 31, 2024

I just discovered pixi-pack and love the idea of being able to create a fully self-contained reproducible environment.

When using a pixi.lock file that also references PyPi dependencies (not all packages we use are available on conda-forge unfortunately), I receive an error: "Error: PyPI packages are not supported in pixi-pack".

Question:
Is it within the scope/vision of pixi-pack to eventually also support PyPI packages or that is deliberately out-of-scope for the time being as I can imagine it would add a lot of additional complexity.

Either way: Big kudos for the great project! 👏

@pavelzw
Copy link
Member

pavelzw commented Sep 5, 2024

unfortunately this would break the micromamba/conda compatibility mode that we have built into pixi-pack.

especially sdists are inherently non-reproducible. but i think adding support for wheels could be nice, PRs are welcome

@fecet
Copy link

fecet commented Nov 4, 2024

prefix-dev/pixi#2049 could be useful

@mjkanji
Copy link

mjkanji commented Jan 11, 2025

@pavelzw Since we can now create self-extracting binaries, is there a particular benefit to keeping conda compatibility? If someone wants to extract an env without pixi-pack installed, wouldn't that be the better option?

@pavelzw
Copy link
Member

pavelzw commented Jan 13, 2025

I still find it nice to be able to be able to use this tool when you only have conda/micromamba availablle; especially in corporate environments where you are not able to execute arbitrary binaries (pixi-pack pack --create-executable is an arbitrary binary).
That being said, I still think that wheels-only should be fine, the conda/micromamba compatibility just won't work in these cases which is okay.

As already mentioned, I'm open to PRs adding pypi wheels support.

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

No branches or pull requests

4 participants