pbr - Python Build Reasonableness in pbr
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PBR |
New
|
Undecided
|
Unassigned |
Bug Description
Hi.
Looks like pbr does not evaluate X.dev0 package correctly, it seems to confuse it as being equal to X.
Example: from_pip_
According to PEP440, 1.2.dev == 1.2.dev0 but both are < 1.2.
>>> SemanticVersion
pbr.version.
>>> SemanticVersion
pbr.version.
>>> SemanticVersion
pbr.version.
>>> SemanticVersion
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/
return klass._
File "/Users/
dev_count = int(component[3:])
ValueError: invalid literal for int() with base 10: ''
Expected behavior:
>>> SemanticVersion
pbr.version.
>>> SemanticVersion
pbr.version.
description: | updated |