Your message dated Fri, 17 Dec 2021 20:34:49 +0000 with message-id <[email protected]> and subject line Bug#1001838: fixed in dh-python 5.20211217 has caused the Debian Bug report #1001838, regarding AttributeError: 'NoneType' object has no attribute 'group' 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.) -- 1001838: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001838 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: dh-python Version: 5.20211216 Severity: normal Affects: jenkins-job-builder I have no idea if this is a bug in dh-python or elsewhere, but it's showing up here. jenkins-job-builder has this requirement.txt: # The order of packages is significant, because pip processes them in the order # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. six>=1.9.0 # MIT PyYAML>=3.10.0,<6 # MIT pbr>=1.8 # Apache-2.0 stevedore>=1.17.1,<2; python_version < '3.0' # Apache-2.0 stevedore>=1.17.1; python_version >= '3.0' # Apache-2.0 python-jenkins>=0.4.15 fasteners Jinja2 The < '3.0' line shows up like this in the built package: $ cat debian/python3-jenkins-job-builder/usr/lib/python3/dist-packages/jenkins_job_builder-3.11.0.egg-info/requires.txt Jinja2 PyYAML<6,>=3.10.0 fasteners pbr>=1.8 python-jenkins>=0.4.15 six>=1.9.0 stevedore>=1.17.1 [:(python_version < '3.0')] stevedore<2,>=1.17.1 This in turn leads to this dh_python3 output (with one debugging line "Looking at" added): $ dh_python3 -i -O--buildsystem=pybuild W: dh_python3 fs:134: Paths differ: debian/python3-jenkins-job-builder/usr/lib/python3.10/dist-packages/jenkins_job_builder-3.11.0.egg-info/PKG-INFO and debian/python3-jenkins-job-builder/usr/lib/python3/dist-packages/jenkins_job_builder-3.11.0.egg-info/PKG-INFO Looking at debian/python3-jenkins-job-builder/usr/lib/python3/dist-packages/jenkins_job_builder-3.11.0.egg-info/requires.txt [:(python_version < '3.0')] Traceback (most recent call last): File "/usr/bin/dh_python3", line 280, in <module> main() File "/usr/bin/dh_python3", line 201, in main dependencies.parse(stats, options) File "/usr/share/dh-python/dhpython/depends.py", line 242, in parse deps = parse_pydep(self.impl, fn, bdep=self.bdep, **section_options) File "/usr/share/dh-python/dhpython/pydist.py", line 474, in parse_pydep section = m.group('section') AttributeError: 'NoneType' object has no attribute 'group' Christoph
--- End Message ---
--- Begin Message ---Source: dh-python Source-Version: 5.20211217 Done: Stefano Rivera <[email protected]> We believe that the bug you reported is fixed in the latest version of dh-python, 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. Stefano Rivera <[email protected]> (supplier of updated dh-python 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: Fri, 17 Dec 2021 16:13:38 -0400 Source: dh-python Architecture: source Version: 5.20211217 Distribution: unstable Urgency: medium Maintainer: Piotr Ożarowski <[email protected]> Changed-By: Stefano Rivera <[email protected]> Closes: 908999 978949 981752 1001838 Changes: dh-python (5.20211217) unstable; urgency=medium . * Ignore environment markers for Python 2.7, our logic is specific to 3.x. * Ignore requires.txt sections with un-parseable section headers. (closes: 1001838) * Handle extraneous parentheses in requires.txt section headers. * pep517 plugin: Throw an error if an UNKNOWN-*.whl is built. * pep517 plugin: Gracefully skip wheel unpack if it appears to have already been unpacked by a package calling build twice. * dh_python*: Don't delete empty directories in private dirs. (closes: 908999) * pybuild: Sort plugin list for consistent selection, instead of relying on file-system semantics. (closes: 978949) * Correctly parse "== 1.*" style version constraints. (closes: 981752) * Bump Standards-Version to 4.6.0, no changes needed. * Declare Rules-Requires-Root: no. * Strip changelog trailing whitespace. Checksums-Sha1: 73fe2b0ec3d3b6e3c381fc4ebd46a08a59b5d625 1520 dh-python_5.20211217.dsc e28fca3ea17553a0ee2718bd40667fc99773c5da 111148 dh-python_5.20211217.tar.xz 8b5b2d61afabfcf980efb865d91190a5392b7dec 6422 dh-python_5.20211217_source.buildinfo Checksums-Sha256: d349b6a52d43f489a30e84f7cf757a629e00e7e752d76c2ed61cde96a0f5a406 1520 dh-python_5.20211217.dsc 53fd1e6a3c40390760b7f1983414f81dbf448b4b36a137db370ded0b20c07fbd 111148 dh-python_5.20211217.tar.xz 79f397ecf702e255fc081223c6e1ed2ae46bb45077527569929f6d3bfb110d77 6422 dh-python_5.20211217_source.buildinfo Files: 9d2c66a413eb83315857de977feb72da 1520 python optional dh-python_5.20211217.dsc b89864a04aaf0561a94a69e6a0ba7e20 111148 python optional dh-python_5.20211217.tar.xz 8ded38b6d1c9f0d12c5236a753e1051d 6422 python optional dh-python_5.20211217_source.buildinfo -----BEGIN PGP SIGNATURE----- iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCYbzw+hQcc3RlZmFub3JA ZGViaWFuLm9yZwAKCRBHew2wJjpU2K5mAP4l9sHLha/YfBLHxwHxBcMz/2j5otJ1 MK3WQgRnyNNkFwEA56/FtBhPRNXNtkqkpLAbnb47j4LR4OZcDBsBHzbB3wQ= =4hnJ -----END PGP SIGNATURE-----
--- End Message ---

