Your message dated Sat, 11 Jul 2020 13:34:01 +0000
with message-id <[email protected]>
and subject line Bug#933739: fixed in setuptools-scm 4.1.2-2
has caused the Debian Bug report #933739,
regarding setuptools_scm can't parse version "debian/1.9-4"
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.)


-- 
933739: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933739
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: setuptools-scm
Severity: important

Dear maintainer,

setuptools_scm has a trouble parsing git tags like "debian/1.9-4",
because the regexp isn't permissive enough.

This prevents to build some packages like fava without modifying
setup.py or setup.cfg to not fetch the version from git tags.

See the following build log:

.-(19:42:17)-(~/git/debian/python-team/applications/fava/fava)------------------------------------------------------------------------(git)-[fava/debian/master]-(becue@dawaj)-
`---> sbuild -As 
dpkg-source: info: using options from fava/debian/source/options: 
--extend-diff-ignore=^[^/]+.egg-info/
dh clean --with python3 --buildsystem=pybuild
   debian/rules override_dh_auto_clean
make[1]: Entering directory 
'/home/becue/git/debian/python-team/applications/fava/fava'
dh_auto_clean
I: pybuild base:217: python3.7 setup.py clean 
/usr/lib/python3/dist-packages/setuptools_scm/version.py:92: UserWarning: tag 
'debian/1.9-4' no version found
  warnings.warn("tag %r no version found" % (tag,))
/usr/lib/python3/dist-packages/setuptools_scm/version.py:92: UserWarning: tag 
'debian/1.9-4' no version found
  warnings.warn("tag %r no version found" % (tag,))
Traceback (most recent call last):
  File "setup.py", line 7, in <module>
    setup()
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 145, in 
setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.7/distutils/core.py", line 121, in setup
    dist.parse_config_files()
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 705, in 
parse_config_files
    ignore_option_errors=ignore_option_errors)
  File "/usr/lib/python3/dist-packages/setuptools/config.py", line 120, in 
parse_configuration
    meta.parse()
  File "/usr/lib/python3/dist-packages/setuptools/config.py", line 425, in parse
    section_parser_method(section_options)
  File "/usr/lib/python3/dist-packages/setuptools/config.py", line 398, in 
parse_section
    self[name] = value
  File "/usr/lib/python3/dist-packages/setuptools/config.py", line 183, in 
__setitem__
    value = parser(value)
  File "/usr/lib/python3/dist-packages/setuptools/config.py", line 516, in 
_parse_version
    version = version()
  File "/usr/lib/python3/dist-packages/setuptools_scm/__init__.py", line 144, 
in get_version
    parsed_version = _do_parse(config)
  File "/usr/lib/python3/dist-packages/setuptools_scm/__init__.py", line 95, in 
_do_parse
    config, "setuptools_scm.parse_scm"
  File "/usr/lib/python3/dist-packages/setuptools_scm/__init__.py", line 52, in 
_version_from_entrypoint
    version = _call_entrypoint_fn(config, ep.load())
  File "/usr/lib/python3/dist-packages/setuptools_scm/__init__.py", line 39, in 
_call_entrypoint_fn
    return fn(config.absolute_root, config=config)
  File "/usr/lib/python3/dist-packages/setuptools_scm/git.py", line 135, in 
parse
    branch=branch,
  File "/usr/lib/python3/dist-packages/setuptools_scm/version.py", line 204, in 
meta
    assert parsed_version is not None, "cant parse version %s" % tag
AssertionError: cant parse version debian/1.9-4
E: pybuild pybuild:341: clean: plugin distutils failed with: exit code=1: 
python3.7 setup.py clean 
dh_auto_clean: pybuild --clean -i python{version} -p 3.7 returned exit code 13
make[1]: *** [debian/rules:26: override_dh_auto_clean] Error 25
make[1]: Leaving directory 
'/home/becue/git/debian/python-team/applications/fava/fava'
make: *** [debian/rules:9: clean] Error 2
E: Failed to clean source directory 
/home/becue/git/debian/python-team/applications/fava/fava 
(/home/becue/git/debian/python-team/applications/fava/fava_1.10-1.dsc)

I wonder if upstream shouldn't make its version parsing regex a little
less constrained.

With best regards,

-- System Information:
Debian Release: 10.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to fr_FR.UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
Source: setuptools-scm
Source-Version: 4.1.2-2
Done: Julien Puydt <[email protected]>

We believe that the bug you reported is fixed in the latest version of
setuptools-scm, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Puydt <[email protected]> (supplier of updated setuptools-scm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 11 Jul 2020 15:09:40 +0200
Source: setuptools-scm
Architecture: source
Version: 4.1.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<[email protected]>
Changed-By: Julien Puydt <[email protected]>
Closes: 933739
Changes:
 setuptools-scm (4.1.2-2) unstable; urgency=medium
 .
   * Add a patch to fix a typo.
   * Add a patch to accept debian version tags. (Closes: #933739)
Checksums-Sha1:
 1b5f13b72efedae25231abd8220b0641461e7519 2395 setuptools-scm_4.1.2-2.dsc
 9342c5094377a8824213c5370a3f20688eae448f 5048 
setuptools-scm_4.1.2-2.debian.tar.xz
 6d0d8d63f822cb977575016c0fb08e4ac4702c5f 7749 
setuptools-scm_4.1.2-2_source.buildinfo
Checksums-Sha256:
 2adfd7d84bf9a09ba6b4def243cfcd8ec33b2ce12e65d1ffe118c93705150123 2395 
setuptools-scm_4.1.2-2.dsc
 a3f2d6672c29119d7fafc4b9ba8eabf411983b13f9be7b9110452cc9b9a48fef 5048 
setuptools-scm_4.1.2-2.debian.tar.xz
 bb5532ab1a0b3b8be47503706fab3f4a7924f802845a67143a90e0300a1bac6b 7749 
setuptools-scm_4.1.2-2_source.buildinfo
Files:
 bc652ff8716af687de9b91f6edd8bfff 2395 python optional 
setuptools-scm_4.1.2-2.dsc
 dc16c5000b24665a700a0fcbf36d8e1f 5048 python optional 
setuptools-scm_4.1.2-2.debian.tar.xz
 12f8d7c99cef8862a82a7267d57869d6 7749 python optional 
setuptools-scm_4.1.2-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEgS7v2KP7pKzk3xFLBMU71/4DBVEFAl8JuiISHGpwdXlkdEBk
ZWJpYW4ub3JnAAoJEATFO9f+AwVRimwP/2VD8xyHRFMZRiTyHKO5oiAY2/nFFLe8
2A6JeEqzpcjbo78R1xSStXQ2RgchhS5uU0LvWhgbfeXeAS33cjLSrFgfasw13b/H
OAtzHp8vWdSA6VvYz8w+w22aliNtMrpZnD5eddk/0xGD1I2WgRbdxvwxhYNBVmeq
9SgnSm1R1JTDDAOrstU+xuI9HbR0Ar514g6kcrwWJhQODhTbuUHN9LXOJrNmYF0V
aUfoPr/U0t8bfprfDjLCrHYKtY6iElgUbSamEuGh+36q399FhsXroRHf0jElOa3Q
YAkNvCIXwQKHmrJNttJw67J9TfexGEONHz45ZGJohvYQLX2ruc5KkYtXow6EO58y
nLc+HIKYUcmBtlTWiGXtc3KYZ9Dg3BOkTMQlnaivmqid9f+9h+VMuWUzYM4NF9eW
RTBronnLMsxkhT2scLOy4K/ySgZS75+bqNGPVW7aQsI26KOyxkoQNpr/xGmF8LjC
dprB3Z1q9Lme1iDcptdZXBAdpgYO80Rzn7jq3vAK5OHgo6+hxmYLXCZFG89VwOd3
N2/IJbzOW2XUpdyHLk98vjywT62rqTy9LrJwWtkI9TbL2uPcfbOWZRoWwOiRh3Od
Qoz3pvuT1iZnKeojYnAkInYJhqjzBbnGQKXkhn8reMPhWG3oRL7an1fA1i4PIQmE
wlMzvCp5abdl
=AMOq
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to