python3Packages.xmlsec: disable failing test

This commit is contained in:
Martin Weinelt 2022-03-06 15:44:01 +01:00
parent 615f3a5c74
commit 29786bae65

View File

@ -16,6 +16,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "xmlsec"; pname = "xmlsec";
version = "1.3.12"; version = "1.3.12";
format = "pyproject";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
@ -35,7 +36,14 @@ buildPythonPackage rec {
# Full git clone required for test_doc_examples # Full git clone required for test_doc_examples
checkInputs = [ pytestCheckHook hypothesis ]; checkInputs = [ pytestCheckHook hypothesis ];
disabledTestPaths = [ "tests/test_doc_examples.py" ];
disabledTestPaths = [
"tests/test_doc_examples.py"
# test_reinitialize_module segfaults python
# https://github.com/mehcode/python-xmlsec/issues/203
"tests/test_xmlsec.py"
];
pythonImportsCheck = [ "xmlsec" ]; pythonImportsCheck = [ "xmlsec" ];