Inconsistent lockfile with pypi-dependencies: conda dep appears twice in packages #1367
Closed
2 tasks done
Labels
bug
Something isn't working
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
Generate lock file
Re-Generate lock file, and compare diff
mv pixi.lock pixi.old.lock && pixi install diff pixi.old.lock pixi.lock
You may need to do re-gen more than once.
Issue description
I've noticed this specifically with
py
, which was an indirect dep. Moved up to minimize example.Essentially,
py
+ any pypi dep (didn't exhaustively try, but used 3+ unrelated ones) causespy
to sometimes appear twice in lockfile.I think, but don't know, this has to do with
purls
that get added when using pypi deps.These don't appear to be sorted, and different re-generations of lockfile will cause these to be in different orders.
And the times I see 2 versions of
py
inpackages
, they appear to have theirpurls
sorted differently:I normally see a single string under
purls
(for other conda deps), so maybe just a case that has not been accounted for yet.Expected behavior
I would expect a single instance of
py
when it is the exact same dep (iehttps://conda.anaconda.org/conda-forge/noarch/py-1.11.0-pyh6c4a22f_0.tar.bz2
).This sometimes causes minor annoyances when merging branches, and the lines have changed for this dep.
The text was updated successfully, but these errors were encountered: