** Description changed: Ubuntu: Ubuntu 20.04 (actually it's Linux Mint 20.1) Package: python-debian 0.1.36ubuntu1 - - Python package version should correspond to PEP 440: - https://www.python.org/dev/peps/pep-0440/#local-version-identifiers + Python package version should correspond to PEP 440: + https://www.python.org/dev/peps/pep-0440/#local-version-identifiers It requires + sign before local version identifier, like: - 2.0.0+ubuntu0.20.4.4 + 2.0.0+ubuntu0.20.4.4 So python-debian should have version like: - 0.1.36+ubuntu1 + 0.1.36+ubuntu1 Actually if you'll launch pip list, you'll see: - python-debian 0.1.36ubuntu1 - + python-debian 0.1.36ubuntu1 Why does it matter: - Some package managers, like Poetry, will fail parsing this version. - I thought to fix Poetry, but don't think I should handle not PEP 440-compliant versions - in PEP 440 version parser. - + Some package managers, like Poetry, will fail parsing this version. + I thought to fix Poetry, but don't think I should handle not PEP 440-compliant versions + in PEP 440 version parser. Notes: - This only should apply to version, specified for pip - Python package manager, not Apt. - Version in Apt may stay 0.1.36ubuntu1. + This only should apply to version, specified for pip - Python package manager, not Apt. + Version in Apt may stay 0.1.36ubuntu1. + + Corresponding issue for Poetry: + https://github.com/python-poetry/poetry/issues/4022
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1926870 Title: python-debian has invalid version To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-debian/+bug/1926870/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs