pythonPackages.clifford: Update patch hash, use disabledTests, disable failing test

This commit is contained in:
Sandro Jäckel 2021-01-06 00:33:39 +01:00
parent ad97cdf81d
commit 19983c6cb5
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -22,12 +22,15 @@ buildPythonPackage rec {
inherit pname version; inherit pname version;
sha256 = "ade11b20d0631dfc9c2f18ce0149f1e61e4baf114108b27cfd68e5c1619ecc0c"; sha256 = "ade11b20d0631dfc9c2f18ce0149f1e61e4baf114108b27cfd68e5c1619ecc0c";
}; };
patches = [ (fetchpatch {
# Compatibility with h5py 3. patches = [
# Will be included in the next releasse after 1.3.1 (fetchpatch {
url = "https://github.com/pygae/clifford/pull/388/commits/955d141662c68d3d61aa50a162b39e656684c208.patch"; # Compatibility with h5py 3.
sha256 = "00m8ias58xycn5n78sy9wywf4wck1v0gb8gzmg40inzdiha93jyz"; # Will be included in the next releasse after 1.3.1
}) ]; url = "https://github.com/pygae/clifford/pull/388/commits/955d141662c68d3d61aa50a162b39e656684c208.patch";
sha256 = "0pkpwnk0kfdxsbzsxqlqh8kgif17l5has0mg31g3kyp8lncj89b1";
})
];
propagatedBuildInputs = [ propagatedBuildInputs = [
future future
@ -53,10 +56,11 @@ buildPythonPackage rec {
cd clifford/test cd clifford/test
''; '';
pytestFlagsArray = [ disabledTests = [
"-m \"not veryslow\"" "veryslow"
"--ignore=test_algebra_initialisation.py" # fails without JIT "test_algebra_initialisation"
"--ignore=test_cga.py" "test_cga"
"test_estimate_rotor_sequential[random_sphere]"
]; ];
meta = with lib; { meta = with lib; {