Install on platform missing in the manifest #3105
ruben-arts
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem description
Pixi doesn't install on a platform not defined in it's
project.platforms
field.This is by design, as we only create a lockfile for the platforms defined there.
This proposal tries to rethink that design.
Why change this?
pypi-dependencies
, which might be incorrect and thus limiting the use of pixi. E.g. Pixi cannot resolve pypi dependency on a mac #3081Proposed implementation
.pixi
folder.platforms
stays a default addition to the manifest, but is not a mandatory field anymore.Use cases
pypi-dependencies
on a platform that doesn't allow you to install the prefix on. (Not a fix if it actually can't install, but already an improvement over the current case)pixi.lock
to the.gitignore
Additional notes
pixi lock --platform
might become a tool to lock for specific platforms.This idea has room for refinement, please share your thoughts!
Beta Was this translation helpful? Give feedback.
All reactions