Your message dated Sun, 18 Mar 2018 19:19:23 +0000 with message-id <[email protected]> and subject line Bug#860139: fixed in dh-python 3.20180318 has caused the Debian Bug report #860139, regarding dh-python: should ignore leading and trailing whitespace from ‘pydist’ lines when parsing 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.) -- 860139: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860139 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: dh-python Version: 2.20170125 Severity: normal The parsing of ‘pydist’ configuration files currently fails if there is leading or trailing whitespace, such as a U+000C FORM FEED, on the line. This is because the parser strips only line-end characters from the input line. That causes any remaining leading or trailing space to count as “not an empty line”:: >>> line = ' \f\n' >>> line = line.strip('\r\n') >>> if line.startswith('#') or not line: ... print('line is empty') ... >>> if not PYDIST_RE.match(line): ... print('invalid line') ... invalid line Instead, the line should be stripped of *any* leading or trailing whitespace, before checking whether the line is empty:: >>> line = ' \f\n' >>> line = line.strip() >>> if line.startswith('#') or not line: ... print('line is empty') ... line is empty This will need to change in, at least: * dhpython.pydist.validate * dhpython.pydist.load -- \ “No matter how cynical you become, it's never enough to keep | `\ up.” —Jane Wagner, via Lily Tomlin | _o__) | Ben Finney <[email protected]>
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---Source: dh-python Source-Version: 3.20180318 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. Piotr Ożarowski <[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: Sun, 18 Mar 2018 19:52:49 +0100 Source: dh-python Binary: dh-python Architecture: source all Version: 3.20180318 Distribution: unstable Urgency: medium Maintainer: Piotr Ożarowski <[email protected]> Changed-By: Piotr Ożarowski <[email protected]> Description: dh-python - Debian helper tools for packaging Python libraries and applicatio Closes: 860139 861132 892931 Changes: dh-python (3.20180318) unstable; urgency=medium . [ Ondřej Nový ] * d/copyright: Use https protocol in Format field * d/changelog: Remove trailing whitespaces . [ Ben Finney ] * Ignore leading and trailing whitespace from ‘pydist’ lines when parsing (closes: 860139) . [ Piotr Ożarowski ] * pybuild.pm: add support for DEBPYTHON{3,}_{DEFAULT,SUPPORTED} env. vars (closes: 861132) * pybuild: - support cross compiling Python 3.X extensions (i.e. set _PYTHON_SYSCONFIGDATA_NAME env. and add dpkg-dev to Depends closes: 892931) * Standards-Version is 4.1.3 now (no changes needed) Checksums-Sha1: 77549c8f59adb96aa0b62b7ea68b6bd2c5ebb5c2 1907 dh-python_3.20180318.dsc b61cc79a5c061df755e231b1cc738b21c00a6dfc 94940 dh-python_3.20180318.tar.xz 71dbfa069cd00e03740069f4fdcbe4762d95510f 92876 dh-python_3.20180318_all.deb 956b89349a2cf6fdcf312b524c3264a9a47d0a34 6259 dh-python_3.20180318_amd64.buildinfo Checksums-Sha256: 01004e917fea944c564949aa05ce24ad8da6d896d2cf53ec01fc128ee66069da 1907 dh-python_3.20180318.dsc b5c031b21423a56774cd66aec1a3f1b1725ce0a934b1fa817ad33c78cc72c24f 94940 dh-python_3.20180318.tar.xz e58e7f223248d1f218aa4416b9a4ca529aeb0377c9562adc50a6734946e5b922 92876 dh-python_3.20180318_all.deb 2368a45fb85f3dbc0ebbf403c59216f8d22a875e9bcb1dc65cbfd6237d280ae7 6259 dh-python_3.20180318_amd64.buildinfo Files: b742238d0cb49bb62db91a9c7c932443 1907 python optional dh-python_3.20180318.dsc c10e748fe4b52b4cd1dbfbf09f2fcd15 94940 python optional dh-python_3.20180318.tar.xz 56a60c408d5488753abd601ed61bf447 92876 python optional dh-python_3.20180318_all.deb 39f567a9a6c95ff5ccb875512452884e 6259 python optional dh-python_3.20180318_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEHS+omFjar2IXhi33rvbxoqdFdkUFAlqut0MACgkQrvbxoqdF dkXpThAAumUq+R+QjPATvx8atpLWBCVWIGJrFYiZBCBfGT1tuGZNKv1evJ7iU2M2 jE9MbBB1P8xQXykGevBN1V0e5Vz1kT0/vgwmX2FtRQFsmqexNBjOV6n4FArcvBa6 RNqQN9lU+a5U8sfkKkjS77zzBqZUC8LDgnZ8uqmnsm9sqgKjYw9EMNWK7eK8p36s SH39Bhg5CQrRURyVIG3tZIGiuMncCZD1fVWMj1xARUNcvnbT7D3IQHGGr4L+MVJx 94t4JaGO+r5rquJDDKkv3TkVfVLiVLhfUliTxIuotEbK4A3moIx1baCquWrCv6dU Tiq3ZkpEDMZUNWImEz30GbkdVS1lTPpQSrykQodggqnarpcT0ERCEM6HxCD9kDnl XBGUwI5+bj23gAgGJ+jNW8xCbgDb6H+Mum/FGgSgN+rOH74WllS3USevDtx8qzcu 9WCWIX52nYH1k77dmXflddYzBVd+gSdmk6CeQvfhbSkLV9rNa+Loq/Jms69MbKOt yECV8DqFXOJ5ujvlRwVgbG+npKPT7ux+iDOLhgOQqKFWGy64FzBe3dpKgjOwmgxi STeoJ195Q/6luoORdk0Gx8WBf6cZgklOoJgIDYgdisttc63RPiv0kRUApLllBh55 /ECJb+g26dKv4GhMGps2qmrCyUK0TonqYMEYLHdLG4Q4yt66rNU= =O+nb -----END PGP SIGNATURE-----
--- End Message ---

