← Back to team overview

touch-packages team mailing list archive

[Bug 1445949] Re: Version does not conform to PEP440

 

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.

** Changed in: python-apt (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/1445949

Title:
  Version does not conform to PEP440

Status in python-apt package in Ubuntu:
  Invalid

Bug description:
  When looking for available python modules, pkg_resources issues the
  following warning:

      /usr/lib/python2.7/dist-packages/pkg_resources/__init__.py:2512:
  PEP440Warning: 'python-apt (0.9.3.11build1)' 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.

  The package version should be conforming.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: python-apt 0.9.3.11build1
  ProcVersionSignature: Ubuntu 3.13.0-46.79-lowlatency 3.13.11-ckt15
  Uname: Linux 3.13.0-46-lowlatency x86_64
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1445949/+subscriptions


References