You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pixi, using pixi --version.
Reproducible example
pixi add --feature test --pypi ruff
pixi add --feature test ruff
Issue description
the commands above will result in the following changes to pixi.toml
[feature.test.dependencies]
ruff = ">=0.3.5,<0.4"
[pypi-dependencies] # <- Incorrect since this is the wrong featureruff = "*"
Adding a pypi dependency via cli places it incorrectly into the default feature instead of the specified feature. The same works correctly when adding without the --pypi argument.
Also the version strings are different between the pypi and conda-forge variant. While the conda forge variant has the version range in the specification (">=0.3.5,<0.4") the pypi variant has no modifier and is set to "*"
NOTE: Adding the dependency manually by editing the pixi.toml file works correctly.
Checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pixi, using
pixi --version
.Reproducible example
Issue description
the commands above will result in the following changes to
pixi.toml
Adding a pypi dependency via cli places it incorrectly into the
default
feature instead of the specified feature. The same works correctly when adding without the--pypi
argument.Also the version strings are different between the pypi and conda-forge variant. While the conda forge variant has the version range in the specification (
">=0.3.5,<0.4"
) the pypi variant has no modifier and is set to"*"
NOTE: Adding the dependency manually by editing the
pixi.toml
file works correctly.Expected behavior
The text was updated successfully, but these errors were encountered: