Your message dated Sat, 02 Oct 2021 19:49:32 +0000
with message-id <e1mwl0m-0008xx...@fasolo.debian.org>
and subject line Bug#995459: fixed in soupsieve 2.2.1-2
has caused the Debian Bug report #995459,
regarding soupsieve: FTBFS due to HTML CDATA handling
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.)
--
995459: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995459
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: soupsieve
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
Dear Maintainer,
soupsieve FTBFS due to test suite failures (see attached logs in the end
of this message).
As per upstream's bug report [1], we arrive at [2] to understand the root cause
is due to lxml being built against libxml2 >= 2.9.11, where CDATA is no longer
stripped, causing parsing inconsistencies in BeautifulSoup.
[3] has been reported for lxml and, once it is fixed, rebuilding this package
should be enough to close this bug. In the meanwhile, skipping the tests based
on the libxml2 version as suggested in [1] should be safe, if needed.
[1] https://github.com/facelessuser/soupsieve/issues/220
[2] https://bugs.launchpad.net/beautifulsoup/+bug/1930164
[3] https://bugs.launchpad.net/lxml/+bug/1930224
Failed tests report:
=================================== FAILURES ===================================
__________________ TestSoupContains.test_contains_cdata_html ___________________
self = <tests.test_extra.test_soup_contains.TestSoupContains
testMethod=test_contains_cdata_html>
def test_contains_cdata_html(self):
"""Test contains CDATA in HTML5."""
markup = """
<body><div id="1">Testing that <span
id="2"><![CDATA[that]]></span>contains works.</div></body>
"""
> self.assert_selector(
markup,
'body *:-soup-contains("that")',
['1'],
flags=util.HTML
)
tests/test_extra/test_soup_contains.py:154:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/util.py:122: in assert_selector
self.assertEqual(sorted(ids), sorted(expected_ids))
E AssertionError: Lists differ: ['1', '2'] != ['1']
E
E First list contains 1 additional elements.
E First extra element 1:
E '2'
E
E - ['1', '2']
E + ['1']
----------------------------- Captured stdout call -----------------------------
----Running Selector Test----
PATTERN: body *:-soup-contains("that")
## PARSING: 'body *:-soup-contains("that")'
TOKEN: 'tag' --> 'body' at position 0
TOKEN: 'combine' --> ' ' at position 4
TOKEN: 'tag' --> '*' at position 5
TOKEN: 'pseudo_contains' --> ':-soup-contains("that")' at position 6
## END PARSING
====PARSER: html5lib
TAG: div
====PARSER: lxml
TAG: div
TAG: span
_______________ TestSoupContainsOwn.test_contains_own_cdata_html _______________
self = <tests.test_extra.test_soup_contains_own.TestSoupContainsOwn
testMethod=test_contains_own_cdata_html>
def test_contains_own_cdata_html(self):
"""Test contains CDATA in HTML5."""
markup = """
<body><div id="1">Testing that <span
id="2"><![CDATA[that]]></span>contains works.</div></body>
"""
> self.assert_selector(
markup,
'body *:-soup-contains-own("that")',
['1'],
flags=util.HTML
)
tests/test_extra/test_soup_contains_own.py:45:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/util.py:122: in assert_selector
self.assertEqual(sorted(ids), sorted(expected_ids))
E AssertionError: Lists differ: ['1', '2'] != ['1']
E
E First list contains 1 additional elements.
E First extra element 1:
E '2'
E
E - ['1', '2']
E + ['1']
----------------------------- Captured stdout call -----------------------------
----Running Selector Test----
PATTERN: body *:-soup-contains-own("that")
## PARSING: 'body *:-soup-contains-own("that")'
TOKEN: 'tag' --> 'body' at position 0
TOKEN: 'combine' --> ' ' at position 4
TOKEN: 'tag' --> '*' at position 5
TOKEN: 'pseudo_contains' --> ':-soup-contains-own("that")' at position 6
## END PARSING
====PARSER: html5lib
TAG: div
====PARSER: lxml
TAG: div
TAG: span
=========================== short test summary info ============================
FAILED
tests/test_extra/test_soup_contains.py::TestSoupContains::test_contains_cdata_html
FAILED
tests/test_extra/test_soup_contains_own.py::TestSoupContainsOwn::test_contains_own_cdata_html
--
Athos Ribeiro
--- End Message ---
--- Begin Message ---
Source: soupsieve
Source-Version: 2.2.1-2
Done: Stefano Rivera <stefa...@debian.org>
We believe that the bug you reported is fixed in the latest version of
soupsieve, 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 995...@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 soupsieve 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: Sat, 02 Oct 2021 12:25:16 -0700
Source: soupsieve
Architecture: source
Version: 2.2.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Stefano Rivera <stefa...@debian.org>
Closes: 995459
Changes:
soupsieve (2.2.1-2) unstable; urgency=medium
.
* Patch test suite to XFAIL test_contains_cdata_html, due to CDATA behaviour
change in libxml2 >= 2.9.11. Fixing autopkgtests and FTBFS. Thanks Athos
Ribeiro for the investigation and bug report. (Closes: #995459)
* Bump Standards-Version to 4.6.0, no changes needed.
* Migrate to Build-Depend on dh-sequence-python3.
Checksums-Sha1:
985f0e649adfc1f6fa1b86f33ef1305379895197 1658 soupsieve_2.2.1-2.dsc
7bcbd16b8f810601be0af621ea124a3d2cc23319 4272 soupsieve_2.2.1-2.debian.tar.xz
3b957dad62d152ded9d8536673cbaa4beecc6172 6093
soupsieve_2.2.1-2_source.buildinfo
Checksums-Sha256:
d61400299e14901c0774e4a93ab5e5f64938a00c202b9557e6b153e695cfb807 1658
soupsieve_2.2.1-2.dsc
5b39ff440ba750226c98cc933983f0da5c3a893493cb4f53b5a8883a831ce680 4272
soupsieve_2.2.1-2.debian.tar.xz
f793c754409630b353a4362dad04fa113a1c930fc3278a342373c42b728dfbf4 6093
soupsieve_2.2.1-2_source.buildinfo
Files:
708bd155a84b8621bc550685fc6ec6d2 1658 python optional soupsieve_2.2.1-2.dsc
55fa9922677f6f7f3813c6b8a4ef25e6 4272 python optional
soupsieve_2.2.1-2.debian.tar.xz
c441dd4fd775fb1c855082d3be43fcb6 6093 python optional
soupsieve_2.2.1-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCYViyOxQcc3RlZmFub3JA
ZGViaWFuLm9yZwAKCRBHew2wJjpU2Bq3AP0fV7RDlC6zukWwVg4A2Cv8LzsmowTp
PtrYprVnYcVIXQEAhtghw34Eh7y6DeSo6hyjrbIygk9MtzbWHny+huNyvgc=
=UxkB
-----END PGP SIGNATURE-----
--- End Message ---