Your message dated Sat, 8 Dec 2018 08:57:27 +0100
with message-id <[email protected]>
and subject line No tilde issue with a recent setuptools-scm
has caused the Debian Bug report #915408,
regarding fails to parse version numbers with tilde (2.2.4~deb9u1)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
915408: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915408
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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é <[email protected]>
 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

--- End Message ---
--- Begin Message ---
Hi,

thanks for the report ; this issue doesn't occur with the setuptools-scm in testing and unstable, so I'm closing.

jpuydt on irc.debian.org

--- End Message ---

Reply via email to