I'll be uploading this to the -proposed

$ head debian/changelog
python-apt (2.0.1ubuntu0.20.04.2esm2) focal-security; urgency=medium

  * SECURITY REGRESSION: PEP 440 incompatible version string (LP: #2137070)
    - Fix version to be compatible with PEP 440

 -- Sudhakar Verma <[email protected]>  Wed, 14 Jan 2026
11:20:20 +0530

python-apt (2.0.1ubuntu0.20.04.1+esm1) focal-security; urgency=medium

  * SECURITY UPDATE: NULL pointer dereference (LP: #2091865)

$ cat 
target/usr/lib/python3/dist-packages/python_apt-2.0.1+ubuntu0.20.4.2esm2.egg-info/PKG-INFO
Metadata-Version: 1.0
Name: python-apt
Version: 2.0.1+ubuntu0.20.4.2esm2
Summary: Python bindings for APT
Home-page: UNKNOWN
Author: APT Development Team
Author-email: [email protected]
License: GNU GPL
Description: UNKNOWN
Platform: posix


which should work

In [1]: from packaging.version import parse, Version

In [2]: Version("2.0.1+ubuntu0.20.4.2esm2")
Out[2]: <Version('2.0.1+ubuntu0.20.4.2esm2')>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2137070

Title:
  python3-apt 2.0.1ubuntu0.20.04.1+esm1 version does not comply with PEP
  440

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-pro/+bug/2137070/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to