python-debian has invalid version

Bug #1926870 reported by Niora on 2021-05-02
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-debian (Ubuntu)

Bug Description

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:

It requires + sign before local version identifier, like:

So python-debian should have version like:

Actually if you'll launch pip list, you'll see:
    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.

    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:

Niora (naumovvladislav) on 2021-05-02
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers