Platform Specific Optional-Depencies in a Pyproject.toml? #3749
Unanswered
TheSkyentist
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I am trying to create a configuration using a pyproject.toml file to build a Python package with optional dependencies. Very basically, I want to have an optional dependency for jax-metal on macOS:
However adding the lines to expose this as a pypi-option fails as pixi attempts to solve the dependency for all platforms, which fails as metal is not available on non osx-arm64 platforms.
Is it possible to get pixi to only register the pyproject.toml optional dependencies for the desired platform?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions