Release Date: 2025-07-10
Version: 1.3.16
Compatibility and Wheel Support
This release provides binary wheels that are fully compatible with lxml v6.0.0. 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.0. 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.0, 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.0:
libxml2v2.14.4libxsltv1.1.43xmlsec1v1.3.7
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.0.
Acknowledgements
Special thanks to @TomiBelan for helping with the creation of binary wheels for this release.