You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
When using python-xmlsec (v1.3.15+) with lxml (>=5.4.0) in Python 3.13, the following runtime error occurs:
RuntimeError: lxml & xmlsec libxml2 library version mismatch
Cause:
lxml wheels embed libxml2
python-xmlsec (via wheels or source) links against system-installed libxml2
Mismatch occurs if these differ
Repro Steps:
pip install xmlsec==1.3.15
pip install lxml==5.4.0
run anything using both => runtime crash
Could this repo:
Document an official compatibility matrix (e.g. tested lxml + xmlsec + Python versions)?
Mention the need to install lxml with --no-binary lxml if using the pip wheels for xmlsec?
Offer optional linkage to system libxml2 via env var or flag?
This would help many consumers of python3-saml, pysaml2, and other XML signature flows.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Summary:
When using
python-xmlsec
(v1.3.15+) withlxml
(>=5.4.0) in Python 3.13, the following runtime error occurs:RuntimeError: lxml & xmlsec libxml2 library version mismatch
Cause:
lxml
wheels embedlibxml2
python-xmlsec
(via wheels or source) links against system-installedlibxml2
Repro Steps:
pip install xmlsec==1.3.15
pip install lxml==5.4.0
run anything using both => runtime crash
Could this repo:
This would help many consumers of python3-saml, pysaml2, and other XML signature flows.
The text was updated successfully, but these errors were encountered: