Source: python3-debian
Version: 0.1.52
Severity: wishlist

deb-changelog(5) lists the entry format as:

    package (version) distributions; metadata
    [...]

and says:

    metadata lists zero or more comma-separated keyword=value items.

However given the changelog:

    example (1.0.0) unstable;

      * Example.

     -- Raul Tambre <r...@tambre.ee>  Sun, 12 Jan 2025 20:13:39 +0200

it generates a parse error:

    Python 3.13.1 (main, Jan  3 2025, 10:26:34) [GCC 14.2.0] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import debian.changelog
    >>> debian.changelog.Changelog(open("changelog"))
    Invalid key-value pair after ';': 
    <debian.changelog.Changelog object at 0x7f2e985b3b60>

I don't believe it should per the specification.
Obviously real-world uploads will have at least the urgency field, but it isn't 
required per se.

Reply via email to