Replies: 1 comment
-
|
As this is that time of year again, I would still like to see something like this. Another possible name could be |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Note: First asked on Discord.
Could it be possible to add a way only to add a dependency to an environment based on another dependency/feature? With the upcoming release of Python 3.13 and some packages still needing to support it, writing features in the
pixi.tomlbecomes a bit awkward. There are different ways to tackle it, but nothing feels great.Option 1 and 2 add many temporary configurations, which first need to be added and removed at some point. Option 3 is also less than ideal if 90% of the dependencies support Python 3.13.
Maybe a dependency could have a way to be ignored if another feature is also set in the environment; an example is given below. This will then install numba in the test-312 environment but not in the test-313 environment. In my case, it is not possible to add numba to the py312 feature as it is also used elsewhere where it should be removed from numba.
*)
ignore_with_featuresis a suboptimal name.Beta Was this translation helpful? Give feedback.
All reactions