Merge pull request #181972 from yl3dy/scikit-image_0_19_1

authored by Sandro and committed by GitHub 2bd7266a d70ce02b

+8 -5
+3
pkgs/development/python-modules/imgaug/default.nix
··· 77 77 license = licenses.mit; 78 78 maintainers = with maintainers; [ cmcdragonkai rakesh4g ]; 79 79 platforms = platforms.linux; 80 + # Scikit-image 0.19 update broke API, see https://github.com/scikit-image/scikit-image/releases/tag/v0.19.0 81 + # and https://github.com/scikit-image/scikit-image/issues/6093 82 + broken = lib.versionAtLeast scikitimage.version "0.19"; 80 83 }; 81 84 }
+5 -5
pkgs/development/python-modules/scikit-image/default.nix
··· 4 4 , buildPythonPackage 5 5 , python 6 6 , cython 7 + , pythran 7 8 , numpy 8 9 , scipy 9 10 , matplotlib ··· 16 17 , imageio 17 18 , tifffile 18 19 , pytestCheckHook 19 - , doCheck ? false 20 20 }: 21 21 22 22 let 23 23 installedPackageRoot = "${builtins.placeholder "out"}/${python.sitePackages}"; 24 24 self = buildPythonPackage rec { 25 25 pname = "scikit-image"; 26 - version = "0.18.3"; 26 + version = "0.19.3"; 27 27 28 28 src = fetchFromGitHub { 29 29 owner = pname; 30 30 repo = pname; 31 31 rev = "v${version}"; 32 - sha256 = "0a2h3bw5rkk23k4r04qc9maccg00nddssd7lfsps8nhp5agk1vyh"; 32 + sha256 = "sha256-zvXgZdvYycFbbMsBFSqMDzLanEtF9+JuVSQ3AM8/LQk="; 33 33 }; 34 34 35 35 patches = [ ./add-testing-data.patch ]; 36 36 37 - nativeBuildInputs = [ cython ]; 37 + nativeBuildInputs = [ cython pythran ]; 38 38 39 39 propagatedBuildInputs = [ 40 40 cloudpickle ··· 51 51 ]; 52 52 53 53 # test suite is very cpu intensive, move to passthru.tests 54 - inherit doCheck; 54 + doCheck = false; 55 55 checkInputs = [ pytestCheckHook ]; 56 56 57 57 # (1) The package has cythonized modules, whose .so libs will appear only in the wheel, i.e. in nix store;