Version does not conform to PEP440
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-apt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
python-setuptools (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When looking for available python modules, pkg_resources issues the following warning:
/usr/
The package version should be conforming.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: python-apt 0.9.3.11build1
ProcVersionSign
Uname: Linux 3.13.0-
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
CurrentDesktop: XFCE
Date: Sun Apr 19 18:00:31 2015
SourcePackage: python-apt
UpgradeStatus: Upgraded to vivid on 2012-03-12 (1133 days ago)
No. It shouldn't. Unfortunately, PEP-440 describes a versioning scheme that is incompatible with the versioning long used in Debian and it's derivatives such as Ubuntu. As the PEP says, "The main reason to even have a standardised version scheme in the first place is to make it easier to do reliable automated dependency analysis." We already have another system to do that and python-apt is conforming to it.
If one were to conform to PEP 440, then the package would be incompatible with distro versioning requirements.
Note: This is not general issue for Python packages. It is only a conflict for Debian/Ubuntu native packages like python-apt.