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
Not sure why I am unable to get past this error... I am forcing the use of lxml2 2.13.16 but when I build it seems to be pulling (or assuming) that I am using a 2.12.x version of the library. Note that the 2.12.x comes from reading the "LIBXML_VERSION" attribute...
version = PyObject_GetAttrString(lxml, "LIBXML_VERSION")
E xmlsec.Error: (100, 'lxml & xmlsec libxml2 library version mismatch')
=========================================================== short test summary info ============================================================
ERROR tests/test_constants.py - xmlsec.InternalError: (-1, 'lxml & xmlsec libxml2 library version mismatch')
ERROR tests/test_ds.py - xmlsec.Error: (100, 'lxml & xmlsec libxml2 library version mismatch')
ERROR tests/test_enc.py - xmlsec.Error: (100, 'lxml & xmlsec libxml2 library version mismatch')
ERROR tests/test_keys.py - xmlsec.Error: (100, 'lxml & xmlsec libxml2 library version mismatch')
ERROR tests/test_main.py - xmlsec.Error: (100, 'lxml & xmlsec libxml2 library version mismatch')
ERROR tests/test_pkcs11.py - xmlsec.Error: (100, 'lxml & xmlsec libxml2 library version mismatch')
ERROR tests/test_templates.py - xmlsec.Error: (100, 'lxml & xmlsec libxml2 library version mismatch')
ERROR tests/test_tree.py - xmlsec.Error: (100, 'lxml & xmlsec libxml2 library version mismatch')
ERROR tests/test_type_stubs.py - xmlsec.Error: (100, 'lxml & xmlsec libxml2 library version mismatch')
ERROR tests/test_xmlsec.py - xmlsec.Error: (100, 'lxml & xmlsec libxml2 library version mismatch')
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 10 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
============================================================== 10 errors in 0.62s ==============================================================
(this is debug output of printf("%ld %ld %ld %ld\n", PyLong_AsLong(major), PyXmlSec_GetLibXmlVersionMajor(), PyLong_AsLong(minor), PyXmlSec_GetLibXmlVersionMinor());):
…pproach - Install system dependencies (libxml2-dev, libxmlsec1-dev) in CI - Use --no-binary lxml flag to build from source and avoid bundled libxml2 - Simplify lxml version constraint to >=4.6.5 - Based on solution from xmlsec/python-xmlsec#351
Not sure why I am unable to get past this error... I am forcing the use of lxml2 2.13.16 but when I build it seems to be pulling (or assuming) that I am using a 2.12.x version of the library. Note that the 2.12.x comes from reading the "LIBXML_VERSION" attribute...
E xmlsec.Error: (100, 'lxml & xmlsec libxml2 library version mismatch')
=========================================================== short test summary info ============================================================
ERROR tests/test_constants.py - xmlsec.InternalError: (-1, 'lxml & xmlsec libxml2 library version mismatch')
ERROR tests/test_ds.py - xmlsec.Error: (100, 'lxml & xmlsec libxml2 library version mismatch')
ERROR tests/test_enc.py - xmlsec.Error: (100, 'lxml & xmlsec libxml2 library version mismatch')
ERROR tests/test_keys.py - xmlsec.Error: (100, 'lxml & xmlsec libxml2 library version mismatch')
ERROR tests/test_main.py - xmlsec.Error: (100, 'lxml & xmlsec libxml2 library version mismatch')
ERROR tests/test_pkcs11.py - xmlsec.Error: (100, 'lxml & xmlsec libxml2 library version mismatch')
ERROR tests/test_templates.py - xmlsec.Error: (100, 'lxml & xmlsec libxml2 library version mismatch')
ERROR tests/test_tree.py - xmlsec.Error: (100, 'lxml & xmlsec libxml2 library version mismatch')
ERROR tests/test_type_stubs.py - xmlsec.Error: (100, 'lxml & xmlsec libxml2 library version mismatch')
ERROR tests/test_xmlsec.py - xmlsec.Error: (100, 'lxml & xmlsec libxml2 library version mismatch')
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 10 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
============================================================== 10 errors in 0.62s ==============================================================
(this is debug output of printf("%ld %ld %ld %ld\n", PyLong_AsLong(major), PyXmlSec_GetLibXmlVersionMajor(), PyLong_AsLong(minor), PyXmlSec_GetLibXmlVersionMinor());):
2 2 12 13
2 2 12 13
2 2 12 13
2 2 12 13
2 2 12 13
2 2 12 13
2 2 12 13
2 2 12 13
2 2 12 13
2 2 12 13
The text was updated successfully, but these errors were encountered: