Make use of packaging.versions instead of distutils versions classes
that are deprecated
Resolves T4528
Related to T4465
Differential D8455
Pubdev: Ensure we correctly parse and sort release versions franckbret on Sep 13 2022, 10:04 AM. Authored by
Details
Make use of packaging.versions instead of distutils versions classes Resolves T4528 Related to T4465
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D8455 (id=30474)Rebasing onto 4a2fe2f861... Current branch diff-target is up to date. Changes applied before testcommit 6c97ec689e6b042d8a0a2285299a96ee679f1478 Author: Franck Bret <franck.bret@octobus.net> Date: Tue Sep 13 09:58:36 2022 +0200 Pubdev: Ensure we correctly parse and sort release versions Make use of packaging.versions instead of distutils versions classes that are deprecated Related T4528, T4465 See https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/868/ for more details. Comment Actions Thanks, before I can accept this, one inline comment to handle and the packaging dependency needs to be added in the requirements.txt file.
Comment Actions please don't undo the pretty-printing of data files. Also, remove the large echos from fake_pubdev.sh, that only needs to build tarballs, not the other JSON files that simulate the API Comment Actions Add packaging to requirements + some cleanup Simplier usage of parse_version Comment Actions Build is green Patch application report for D8455 (id=30508)Rebasing onto 4a2fe2f861... Current branch diff-target is up to date. Changes applied before testcommit 134087342b421eeb66a37ad7d8d9750a9750cc96 Author: Franck Bret <franck.bret@octobus.net> Date: Tue Sep 13 09:58:36 2022 +0200 Pubdev: Ensure we correctly parse and sort release versions Make use of packaging.versions instead of distutils versions classes that are deprecated Resolves T4528 Related T4465 See https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/869/ for more details. |