Package: python-setuptools-scm Version: 1.15.0-1 Severity: normal I am trying to upload a stable update of monkeysign to Debian stable with a version number 2.2.4~deb9u1. sbuild fails to process the package with the following backtrace:
dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package monkeysign dpkg-buildpackage: info: source version 2.2.4~deb9u1 dpkg-buildpackage: info: source distribution stretch dpkg-buildpackage: info: source changed by Antoine Beaupré <anar...@debian.org> dpkg-source --before-build monkeysign-2.2.4~deb9u1 dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean --with=python2,sphinxdoc --buildsystem=pybuild dh_testdir -O--buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:184: python2.7 setup.py clean Traceback (most recent call last): File "setup.py", line 82, in <module> test_suite='monkeysign.tests', File "/usr/lib/python2.7/distutils/core.py", line 111, in setup _setup_distribution = dist = klass(attrs) File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 320, in __init__ _Distribution.__init__(self, attrs) File "/usr/lib/python2.7/distutils/dist.py", line 287, in __init__ self.finalize_options() File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 387, in finalize_options ep.load()(self, ep.name, value) File "/usr/lib/python2.7/dist-packages/setuptools_scm/integration.py", line 19, in version_keyword dist.metadata.version = get_version(**value) File "/usr/lib/python2.7/dist-packages/setuptools_scm/__init__.py", line 117, in get_version parsed_version = _do_parse(root, parse) File "/usr/lib/python2.7/dist-packages/setuptools_scm/__init__.py", line 66, in _do_parse return meta(pretended) File "/usr/lib/python2.7/dist-packages/setuptools_scm/version.py", line 86, in meta assert tag is not None, 'cant parse version %s' % tag AssertionError: cant parse version None E: pybuild pybuild:283: clean: plugin distutils failed with: exit code=1: python2.7 setup.py clean dh_auto_clean: pybuild --clean -i python{version} -p 2.7 returned exit code 13 debian/rules:11: recipe for target 'clean' failed make: *** [clean] Error 25 The build succeeds with 2.2.3+deb9u1 as a version number, so I feel it's something specific to the tilde version number. This might or might not occur in unstable. -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing'), (1, 'experimental'), (1, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), LANGUAGE=fr_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages python-setuptools-scm depends on: ii python 2.7.15-3 ii python-pkg-resources 40.5.0-1 python-setuptools-scm recommends no packages. python-setuptools-scm suggests no packages. -- debconf-show failed