Open vigneshmanick opened 5 months ago
pixi update
will arrive soon, so I propose to wait for that implementation before we change any of the current add
behavior.
related to #1449
pixi update
is available!
If you run pixi add python
twice in a row now (without any version specifiers) the second invocation won't error but pixi also won't update the bounds.
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
will result in pytest changing to
pytest = ">=8.2.0,<8.3"
since the version in the manifest is lower than the current version and the command passesbut if now we try the same with
pytest-cov
will result in a failure since the version in the manifest is already the latest versionIssue description
Until the
pixi update/upgrade
command is available, i am trying to update the dependencies by just running thepixi add
command. In doing so i have noticed that, when a dependency version is already the latest version then adding it again usingpixi add
will result in an error.Expected behavior
There should be no error and the message should be that the version in the manifest is already the latest version. Also when the dependency is added that is already present the message should be
Updated <dependency> from <vX> to <vY>