HomeSoftware Heritage

conda: Fix versions sorting and update release names

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

conda: Fix versions sorting and update release names

Release 22.0 of packaging module can no longer parse invalid Python version
number, an exception is now raised.

Conda loader used the keys of the packages dict as version numbers to sort,
which are in the form "<arch>/<version>-<build>", but those cannot be parsed
anymore.

So extract intrinsic version numbers of packages instead to sort the list of
versions.

Also update snapshot release names to "<version>-<build>-<arch>" as each
release for a given architecture targets a different directory.

Details

Provenance
anlambertAuthored on Dec 20 2022, 12:24 PM
anlambertPushed on Dec 20 2022, 1:34 PM
Differential Revision
D8974: conda, rpm: Fix package versions sorting
Build Status
Buildable 33322
Build 52227: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.