[Bug 1445949] Re: Version does not conform to PEP440
It's backported in git already, we just need to get a permission to upload and upload it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1445949 Title: Version does not conform to PEP440 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1445949/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1445949] Re: Version does not conform to PEP440
Are we going to see this fix backported to, say, 15.04? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1445949 Title: Version does not conform to PEP440 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1445949/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1445949] Re: Version does not conform to PEP440
This bug was fixed in the package python-apt - 1.0.0~beta3 --- python-apt (1.0.0~beta3) unstable; urgency=medium * tests/test_paths.py: Catch and assert the DeprecationWarning * setup.py: If no version is in the environment, return None * doc/source/library/apt_pkg.rst: Fix an example from old API to new API * apt.cache.FilteredCache: Fix multi-arch package lookups * apt.Cache: Introduce a connect2() callback connector * Break the FilteredCache - Cache reference cycle * apt.Cache: Issue a RuntimeWarning in connect() * doc: whatsnew: Document what's new in beta3 -- Julian Andres Klode j...@debian.org Wed, 17 Jun 2015 18:28:44 +0200 ** Changed in: python-apt (Ubuntu) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1445949 Title: Version does not conform to PEP440 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1445949/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1445949] Re: Version does not conform to PEP440
This should do the trick: http://anonscm.debian.org/cgit/apt/python- apt.git/commit/?id=165c3e534716c7f300a6419e2f0ccc331f63c0c9 ** Changed in: python-apt (Ubuntu) Status: New = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1445949 Title: Version does not conform to PEP440 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1445949/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1445949] Re: Version does not conform to PEP440
It's basically irrelevant, is it not? We only use the setup.py for building, python-apt cannot be used by any of Python's package installation tools. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1445949 Title: Version does not conform to PEP440 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1445949/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1445949] Re: Version does not conform to PEP440
Feel free to assign it to another package, but triggering warning in unrelated code just because the package is installed is definitely undesirable. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1445949 Title: Version does not conform to PEP440 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1445949/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1445949 Title: Version does not conform to PEP440 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1445949/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1445949] Re: Version does not conform to PEP440
no, the warning is correct. python-apt shouldn't encode any nmu number or build number into it's own version string. ** Also affects: python-apt (Ubuntu) Importance: Undecided Status: New ** Changed in: python-setuptools (Ubuntu) Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1445949 Title: Version does not conform to PEP440 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1445949/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1445949] Re: Version does not conform to PEP440
Eh, I am not able to locate which part of code triggers the warning. In any case, debian version can be different from the one written in the .egg-info file (e.g. 0.9.3+11build1 is conforming to pep404, for instance). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1445949 Title: Version does not conform to PEP440 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1445949/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1445949] Re: Version does not conform to PEP440
This warning ought to be suppressed. It's of interest to developers, not end users and in some cases wrong for Ubuntu packages anyway. ** Package changed: python-apt (Ubuntu) = python-setuptools (Ubuntu) ** Changed in: python-setuptools (Ubuntu) Status: Invalid = New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1445949 Title: Version does not conform to PEP440 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-setuptools/+bug/1445949/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs