PBR

Reuse packaging code for version parsing

Bug #1554516 reported by Thomas Bechtold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PBR
Won't Fix
Undecided
Unassigned

Bug Description

pbr implements it's own logic to parse PEP0440 versions. But pbr does that incomplete (i.e. local versions like 1.1.0dev3+local4 are not supported).
Why not using the code from the pypi packaging module which supports all possible versioning schemas mentioned in PEP440?

Revision history for this message
Clark Boylan (cboylan) wrote :

Part of that is because PBR explicitly supports a subset of PEP440 as I understand it. Specifically the versioning scheme at https://docs.openstack.org/pbr/latest/user/semver.html which is semver made to be compatible with PEP440.

Another reason for it is PBR cannot have any dependencies so any external code would have to be vendored in.

Revision history for this message
Ben Nemec (bnemec) wrote :

Yeah, I don't think this will work for the reasons Clark mentioned.

Changed in pbr:
status: New → Won't Fix
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.