Define dependencies conditioned on Python version in pixi.toml? #4895
Replies: 2 comments 1 reply
-
|
There is an on-going discussion on CEP-111 for adding this behavior ecosystem-wide in general (not just Even if that does land, the "list of increasingly-complex-matchspecs with duplicate names" syntax isn't going to play very nicely with pixi's generally more sensible "set of named deps." An incomplete So today: a dedicated |
Beta Was this translation helpful? Give feedback.
-
|
@bollwyvl is right, features are the way atm. But im sure we will be supporting conditional dependencies (and more) as described in the CEP in the near future. We "just" need to figure out the syntax for it in TOML. We already have the technology to support this CEP done. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In pyproject.toml, we can define the build dependencies like below
But in pixi.toml, can we define dependencies conditioned on Python version?
Currently I use
feature.py39.dependenciesto overwrite thedefault.dependencies, like belowBeta Was this translation helpful? Give feedback.
All reactions