Bug#1063889: Parse package version string using ‘python3-debian’ class ‘debian.debian_support.Version’

2024-02-13 Thread Ben Finney
On 14-Feb-2024, Ben Finney wrote: > The ‘dput.source_check’ function currently uses a custom regex pattern for > parsing a package version string. This pattern differs in some ways from > the official Debian Policy definition of a version string. Thanks to Christoph Berg (‘myon’) for the motivati

Bug#1063889: Parse package version string using ‘python3-debian’ class ‘debian.debian_support.Version’

2024-02-13 Thread Ben Finney
Package: dput Version: dput Severity: minor The ‘dput.source_check’ function currently uses a custom regex pattern for parsing a package version string. This pattern differs in some ways from the official Debian Policy definition of a version string. Instead of custom parsing, re-write the check