Open lebrice opened 4 days ago
you should be able to remove a pypi dependency with
$ pixi remove gym --pypi
IMO it should be sufficient to just pixi remove gym
no? Is there any case in which one should be allowed to have both conda and pipy versions of the same package installed?
The same package would indeed not make much sense. However, it could be different packages, but with identical names.
This being said, maybe pixi should try removing as pypi if the conda one is not found ?
Checks
[X] I have checked that this issue has not already been reported.
[X] I have confirmed this bug exists on the latest version of pixi, using
pixi --version
.Reproducible example
Issue description
Related to #1312 and #1314 (I think)
I find it confusing (from a new user standpoint) that when adding a package from pypi (with a version string), it seems to be necessary to specify both the same version and the --pypi flag in order to remove it:
For example:
Adding the version number:
Finally, adding the version number and the --pypi flag seems to work correctly (but it shouldn't be necessary to do this, right?)
Is this intended behaviour?
Expected behavior