nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python311Packages.hickle: disable failing test

+25 -15
+25 -15
pkgs/development/python-modules/hickle/default.nix
··· 1 - { buildPythonPackage 1 + { lib 2 + , buildPythonPackage 2 3 , fetchPypi 3 4 , pythonOlder 4 5 , h5py ··· 9 8 , scipy 10 9 , pandas 11 10 , pytestCheckHook 12 - , lib 13 11 }: 14 12 15 13 buildPythonPackage rec { ··· 24 24 }; 25 25 26 26 postPatch = '' 27 - substituteInPlace tox.ini --replace "--cov=./hickle" "" 27 + substituteInPlace tox.ini \ 28 + --replace "--cov=./hickle" "" 28 29 ''; 29 30 30 - propagatedBuildInputs = [ h5py numpy dill ]; 31 - 32 - nativeCheckInputs = [ 33 - pytestCheckHook 34 - scipy 35 - pandas 36 - astropy 31 + propagatedBuildInputs = [ 32 + dill 33 + h5py 34 + numpy 37 35 ]; 38 36 39 - pythonImportsCheck = [ "hickle" ]; 37 + nativeCheckInputs = [ 38 + astropy 39 + pandas 40 + pytestCheckHook 41 + scipy 42 + ]; 43 + 44 + pythonImportsCheck = [ 45 + "hickle" 46 + ]; 40 47 41 48 disabledTests = [ 42 49 # broken in 5.0.2 with recent NumPy 43 50 # see https://github.com/telegraphic/hickle/issues/174 44 51 "test_scalar_compression" 45 - # broken in 5.0.2 with python 3.11 52 + # broken in 5.0.2 with Python 3.11 46 53 # see https://github.com/telegraphic/hickle/issues/169 47 54 "test_H5NodeFilterProxy" 55 + # broken in 5.0.2 56 + "test_slash_dict_keys" 48 57 ]; 49 58 50 - meta = { 59 + meta = with lib; { 51 60 description = "Serialize Python data to HDF5"; 52 61 homepage = "https://github.com/telegraphic/hickle"; 53 - license = lib.licenses.mit; 54 - maintainers = with lib.maintainers; [ bcdarwin ]; 62 + changelog = "https://github.com/telegraphic/hickle/releases/tag/v${version}"; 63 + license = licenses.mit; 64 + maintainers = with maintainers; [ bcdarwin ]; 55 65 }; 56 66 }