Your message dated Fri, 06 Sep 2019 19:19:04 +0000 with message-id <e1i6jla-000277...@fasolo.debian.org> and subject line Bug#939457: fixed in beautifulsoup4 4.8.0-2 has caused the Debian Bug report #939457, regarding lxml breaks beautifulsoup4 autopkgtest: a real XHTML didn't come out *exactly* the same as it went in 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 ow...@bugs.debian.org immediately.) -- 939457: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939457 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Source: lxml, beautifulsoup4 Control: found -1 lxml/4.4.1-1 Control: found -1 beautifulsoup4/4.8.0-1 Severity: serious Tags: sid bullseye X-Debbugs-CC: debian...@lists.debian.org User: debian...@lists.debian.org Usertags: breaks needs-update Dear maintainers, With a recent upload of lxml the autopkgtest of beautifulsoup4 fails in testing when that autopkgtest is run with the binary packages of lxml from unstable. It passes when run with only packages from testing. In tabular form: pass fail lxml from testing 4.4.1-1 beautifulsoup4 from testing 4.8.0-1 all others from testing from testing I copied some of the output at the bottom of this report. The test seems to me to be testing a reasonable thing, but I am not in the position to judge if this is indeed guaranteed behavior: A real XHTML document should come out *exactly* the same as it went in. Currently this regression is blocking the migration of lxml to testing [1]. Due to the nature of this issue, I filed this bug report against both packages. Can you please investigate the situation and reassign the bug to the right package? More information about this bug and the reason for filing it can be found on https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation Paul [1] https://qa.debian.org/excuses.php?package=lxml https://ci.debian.net/data/autopkgtest/testing/amd64/b/beautifulsoup4/2885653/log.gz autopkgtest [18:11:15]: test unittests3: [----------------------- === python3.7 === .........................................................................................................................................../usr/lib/python3/dist-packages/bs4/builder/_htmlparser.py:78: UserWarning: don't crash warnings.warn(msg) ......................................................................F...F.......................................................................................................................................................................................................................................................................................... ====================================================================== FAIL: test_nested_namespaces (bs4.tests.test_lxml.LXMLXMLTreeBuilderSmokeTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/bs4/testing.py", line 841, in test_nested_namespaces self.assertEqual(doc, soup.encode()) AssertionError: b'<?x[144 chars]xmlns="http://ns1/">\n<child xmlns="http://ns2[96 chars]ent>' != b'<?x[144 chars]xmlns:="http://ns1/">\n<child xmlns:="http://n[99 chars]ent>' ====================================================================== FAIL: A real XHTML document should come out *exactly* the same as it went in. ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3/dist-packages/bs4/testing.py", line 830, in test_real_xhtml_document soup.encode("utf-8"), markup) AssertionError: b'<?x[108 chars]xmlns:="http://www.w3.org/1999/xhtml">\n<head>[56 chars]tml>' != b'<?x[108 chars]xmlns="http://www.w3.org/1999/xhtml">\n<head><[55 chars]tml>' ---------------------------------------------------------------------- Ran 496 tests in 0.443s FAILED (failures=2) autopkgtest [18:11:16]: test unittests3: -----------------------]
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---Source: beautifulsoup4 Source-Version: 4.8.0-2 We believe that the bug you reported is fixed in the latest version of beautifulsoup4, 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 939...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Stefano Rivera <stefa...@debian.org> (supplier of updated beautifulsoup4 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 ftpmas...@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Fri, 06 Sep 2019 15:58:05 -0300 Source: beautifulsoup4 Architecture: source Version: 4.8.0-2 Distribution: unstable Urgency: medium Maintainer: Debian Python Modules Team <python-modules-t...@lists.alioth.debian.org> Changed-By: Stefano Rivera <stefa...@debian.org> Closes: 939457 Changes: beautifulsoup4 (4.8.0-2) unstable; urgency=medium . * Patch: Fixed the definition of the default XML namespace when using lxml 4.4. (Closes: #939457) Checksums-Sha1: 178d2331f72c1022c59e9f9af6a37bff95a33518 2224 beautifulsoup4_4.8.0-2.dsc 58f982277277f0cbb7fbc26900d466a486b465d4 6288 beautifulsoup4_4.8.0-2.debian.tar.xz 135c7d1feab194cd526ec2c56661f4dce6dc69f0 7339 beautifulsoup4_4.8.0-2_source.buildinfo Checksums-Sha256: dd7f1449e2635685d1c13c8d3374199d12f656e5a3fc727748db138509805e7b 2224 beautifulsoup4_4.8.0-2.dsc a60df03ee6fb0cc02bc868ec1c11ab8ed9ef9265407733309490d59c6641ff3a 6288 beautifulsoup4_4.8.0-2.debian.tar.xz ee8cdeee0e36712cc8e583c148f758c6d3f1ef69374b2a630708ef4ef65f8772 7339 beautifulsoup4_4.8.0-2_source.buildinfo Files: 4981e899ba2c0f19b365d17502e1e92a 2224 python optional beautifulsoup4_4.8.0-2.dsc 89bb4336f58aae345cded84dc38a3073 6288 python optional beautifulsoup4_4.8.0-2.debian.tar.xz ba2148aef8b3f3499ed3e0ea0047adf2 7339 python optional beautifulsoup4_4.8.0-2_source.buildinfo -----BEGIN PGP SIGNATURE----- iQFIBAEBCgAyFiEE/zEtpbjiRmXHk+j/6vGSvKo/D1EFAl1yrIoUHHN0ZWZhbm9y QGRlYmlhbi5vcmcACgkQ6vGSvKo/D1HPPgf/RdH8IUhaZyu2LCX98s/orCMYvlHC hyeJXelUy8D2+sCZQmvk3y7EsZ3ESVkWy4jmhEpfjmfZCi3whJeLwXunsOXTEqor dvXYPKiE7t0sZvWbos2aNe6K/kkOgkqbI6MzCzA0RLthsrDnvHUCWOvAWXHrGYoo 3Cgj1WQdBAtQ4PT4FnQkJ97aKSUkv+jrW6Vkoeofv24qjoQxyOKfaXPf6Q9z1T/G hLXtSfKFysQ3ajU78UKmPD5gEbKJHQ1ITO4WDo35Co8xfF0B5MjDkPcH01D02leJ MW+hocullSFfw1jpn+jOVWCSvDFUksvg19mc6z2vrUURxpfEcGOX9/y2Eg== =kXYy -----END PGP SIGNATURE-----
--- End Message ---