Path: csiph.com!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod From: Nilesh Patra Newsgroups: linux.debian.bugs.dist,linux.debian.maint.python Subject: Bug#1020041: zope.testrunner: FTBFS: AttributeError: 're.Pattern' object has no attribute 'replace' Date: Sat, 01 Oct 2022 12:00:04 +0200 Message-ID: References: X-Original-To: 1020041@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sat Oct 1 09:51:10 2022 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -3.999 Reply-To: Nilesh Patra , 1020041@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: Debian QA Group X-Debian-Pr-Message: followup 1020041 X-Debian-Pr-Package: src:zope.testrunner X-Debian-Pr-Keywords: bookworm ftbfs sid X-Debian-Pr-Source: zope.testrunner Organization: The Debian Project MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vbxxqqo3aodwromc" Content-Disposition: inline X-Debian-User: nilesh X-Debian-Message: from BTS X-Mailing-List: archive/latest/1736982 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 61 Sender: robomod@news.nic.it X-Original-Cc: debian-python@lists.debian.org X-Original-Date: Sat, 1 Oct 2022 15:18:50 +0530 X-Original-Message-ID: <20221001094850.tg4qjmzxgswpiavz@posteo.in> X-Original-References: Xref: csiph.com linux.debian.bugs.dist:1119450 linux.debian.maint.python:14505 --vbxxqqo3aodwromc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable reassign -1 dh-python 5.20220924 stop Hi, On Sun, 18 Sep 2022 08:02:58 +0200 Lucas Nussbaum wrote: > Source: zope.testrunner > > make[1]: Entering directory '/<>' > > dh_python3 --shebang=3D/usr/bin/python3 -X tests > > I: dh_python3 tools:114: replacing shebang in debian/python3-zope.testr= unner/usr/bin/zope-testrunner3 > > I: dh_python3 tools:114: replacing shebang in debian/python3-zope.testr= unner/usr/bin/zope-testrunner > > Traceback (most recent call last): > > File "/usr/bin/dh_python3", line 284, in > > main() > > File "/usr/bin/dh_python3", line 214, in main > > dependencies.parse(stats, options) > > File "/usr/share/dh-python/dhpython/depends.py", line 228, in parse > > args +=3D " -X '%s'" % pattern.replace("'", r"'\''") > > AttributeError: 're.Pattern' object has no attribute 'replace' > > make[1]: *** [debian/rules:20: override_dh_python3] Error 1 This looks like a bug with dh-python itself. Maybe this needs to be "sub" i= nstead of "replace", similar string regex replaces at a couple more places. Please let me know if I made a mistake here and this is not a bug in dh-pyt= hon. --=20 Best, Nilesh --vbxxqqo3aodwromc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEPpmlJvXcwMu/HO6mALrnSzQzafEFAmM4DQEACgkQALrnSzQz afGUNg/9EmXoEnRRHQkt7vdTm+ZpwfkdazSVp4Z8uPQ0fqne/s1NvQE8bkbbU9FU GpWeVK+rsKNL8akpbgFUJ5WU+zuLE+yK4fAIN/ZI9KAtb6EPMApm4O/hCaCV49GF g9/FrGnWyRuT8ORWf+lz9tEKcW0aNixJbwBaqPRIMRJaZ7yC3DFKEuckaE7d7CI3 jkrkc6/4OYJhD1+H4+yyBTksibIjPFCLYbBxpuz7kdoW5sZFGjCMgszI+nEamYOP wxIqf1oJquW5QBypDvtAhfcj7AJBB1TD3lmxgRvcCTBD6T4pWE6QBHmdA+b/cuPe HPKIu3cHW8fX5gd6xSOZbcmej7RtUlHBsY1T6hdwExm5pXPj7rifIlw5PGlHJ/mQ QQcxunphusHPipGMvHjwjnUdPJTFIdc+eJa9GTZ+IyndXo6bl7sQLnnNqdnSmbgV U1xrt2AQesKc8FifnrXKqBUGPLPURegAjA7nRr8Fqs1YEqpd4ijO9ASLwRdvda4V dRHQfqXsoIyVuoV4TGOiKsYMeX3w93+Hmr0uFB7JWLiFAFkZMvOWbdSrApATxbqu pIyufdBg6tPWeIT49CZK6x8w2DFZU1oqfbHcA9jG1QZSqZZ1pFw9Qkxw1xfK6qrG x0s8FVThdDRwUhfZyLsVAZVg5jy42ORGjz844U+Vn4wuv9XQMo4= =khyn -----END PGP SIGNATURE----- --vbxxqqo3aodwromc--