Package: src:jack
Version: 4~git20260821.5499fcb-1
User: [email protected]
Usertags: python3.15
Tags: ftbfs, forky, sid
Severity: minor
Hi!
While rebuilding the python related packages against the Python 3.15
version we found that jack fails to build from source, because of the
additional `+py315.1` suffix:
https://debusine.debian.net/debian/r-python-python3.15/artifact/4856250/
From the log, the error seems to be:
packaging.version.InvalidVersion: Invalid version:
'4.0+git20260821.5499fcb+py315.3'
Adding an extra +version is a common practice when triggering rebuilds,
so this shouldn't trigger an Invalid version exception.
The root cause for this is this expression in your debian/rules:
export SETUPTOOLS_SCM_PRETEND_VERSION=$(shell dpkg-parsechangelog -S
version |sed -e 's/~/.0+/g' -e 's/-[[:digit:]]//g')
This strips -1 or -2 from the version (up to -9, -10 would already
break). I think you should remove everything that comes after the dash.
--
Regards,
Marga