python39Packages.warlock: disable failing test

also fixes openstack glances client
This commit is contained in:
Sandro Jäckel 2022-02-19 00:43:54 +01:00
parent 4150bf02b5
commit 87b373e822
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

@ -22,6 +22,12 @@ buildPythonPackage rec {
hash = "sha256-59V4KOwjs/vhA3F3E0j3p5L4JnKPgcExN+mgSWs0Cn0=";
};
postPatch = ''
substituteInPlace requirements.txt \
--replace "jsonschema>=0.7,<4" "jsonschema"
sed -i "/--cov/d" pytest.ini
'';
propagatedBuildInputs = [
jsonpatch
jsonschema
@ -32,11 +38,10 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
substituteInPlace requirements.txt \
--replace "jsonschema>=0.7,<4" "jsonschema"
sed -i "/--cov/d" pytest.ini
'';
disabledTests = [
# https://github.com/bcwaldon/warlock/issues/64
"test_recursive_models"
];
pythonImportsCheck = [
"warlock"