Release Date: 2025-11-11
Version: 1.3.17
Compatibility and Wheel Support
This release provides binary wheels that are fully compatible with lxml v6.0.2. The compatibility is ensured by using the same underlying libxml2 version in both python-xmlsec and lxml.
Because of this strict requirement, the wheels cannot be used with versions of lxml lower than 6.0.2. Mixing versions will lead to runtime errors.
Common Error
If you see the following message:
lxml & xmlsec libxml2 library version mismatch
it indicates that the version of libxml2 used to build lxml does not match the version used to build python-xmlsec.
Recommended Solutions
- Upgrade
lxmlto v6.0.2, or - Build both
lxmlandpython-xmlsecmanually from source using the samelibxml2version
Wheel Build Configuration
Linux and macOS Wheels
These wheels are built against the following versions, which match those used in lxml v6.0.2:
libxml2v2.14.6libxsltv1.1.43xmlsec1v1.3.9zlibv1.3.1libiconvv1.18opensslv3.6.0
Windows Binary Wheels
The Windows binary wheels were compiled using Visual Studio 2022 and include the following libraries:
iconvv1.18-1libxml2v2.11.9-3libxsltv1.1.39opensslv3.0.16.pl1xmlsecv1.3.7zlibv1.3.1
These versions are compatible with those used in lxml v6.0.2.
Noticeable changes
- Supporting new wheels
- Windows ARM
- RISC-V 64
- Python 3.14
Acknowledgements
Special thanks to
- @TomiBelan for helping with the creation of Windows ARM binary wheels
- @ffgan for adding riscv64 wheels
- @clement-escolano for adding wheels for Python 3.14
New Contributors
- @paulzakin made their first contribution in #373
- @ffgan made their first contribution in #387
- @clement-escolano made their first contribution in #393
Full Changelog: 1.3.16...1.3.17