Package Version Doesn't Correspond to PEP 440

Bug #1403266 reported by Ron Rickard
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Designate
Invalid
Medium
Unassigned
PBR
Fix Released
Undecided
Unassigned

Bug Description

With setuptools 8.0 or better, PEP 440 versions are used. Since the version is not PEP 440 compatible, a runtime warning similar to the following is shown:

RuntimeWarning: 'designate (2015.1.dev175.g0cfb0ca)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.

Revision history for this message
Kiall Mac Innes (kiall) wrote :

The versions are generated by PBR, if a fix is needed, it needs to happen in there.

Changed in designate:
status: New → Invalid
Changed in designate:
status: Invalid → Triaged
importance: Undecided → Medium
Revision history for this message
Doug Hellmann (doug-hellmann) wrote :

I'm not able to reproduce this using setuptools 12.0.5. Is it still an issue for you?

Changed in pbr:
status: New → Incomplete
Revision history for this message
Kiall Mac Innes (kiall) wrote :

Let's leave this tracked in PBR, and, I'm not sure if Ron is still seeing this.

Changed in designate:
status: Triaged → Invalid
Revision history for this message
Robert Collins (lifeless) wrote :

This is fixed in master - it was the whole point of the master work.

Changed in pbr:
status: Incomplete → Fix Committed
Changed in pbr:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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