lxml test fails with libxml2 2.12
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Beautiful Soup |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I am trying to update libxml2 to 2.12.1 on NixOS and noticed that with that version the lxml test fails. Apparently, it cannot find any namespaced tags:
beautifulsoup: 4.12.2
lxml: 4.9.3-3
Python: 3.11.6
Downstream PR: https:/
=======
______________ TestLXMLXMLTree
self = <bs4.tests.
def test_find_
doc = """<?xml version="1.0" encoding="utf-8"?>
<Document xmlns="http://
xmlns:ns1="http://
xmlns:ns2="http://
<ns2:tag key="value"
</Document>
"""
soup = self.soup(doc)
# There are three <tag> tags.
> print(len(
E AssertionError
bs4/tests/
-------
0
=======
FAILED bs4/tests/
=================== 1 failed, 649 passed, 6 skipped in 2.82s ===================
Changed in beautifulsoup: | |
status: | New → Fix Committed |
Changed in beautifulsoup: | |
status: | Fix Committed → Fix Released |
This is seen in Fedora too: https:/ /bugzilla. redhat. com/show_ bug.cgi? id=2251911