Python package versions are not PEP440 compliant

Bug #2002600 reported by Martin Pecka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devscripts (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Version strings like 2.22.1ubuntu1 do not validate as valid Python package versions according to PEP440. 2.22.1+ubuntu1 would.

Please fix this in all released distros starting bionic. Some tools enforcing PEP440 have problems with this.

For reference and a ready-made fix, see https://bugs.launchpad.net/ubuntu/+source/distro-info/+bug/1991606 .

Thanks.

Revision history for this message
Benjamin Drung (bdrung) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug is already tracked in bug #1991606.

Revision history for this message
Benjamin Drung (bdrung) wrote :

This bug is a duplicate of bug #1991606 but due to bug #2008514 it runs into a timeout when marking as duplicate. Since devscripts in Ubuntu 23.04 (lunar) is fixed, I am marking this bug is fixed as well. Please follow bug #1991606 for the updates to the stable releases.

Changed in devscripts (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.