lol

geopandas: 0.9.0 -> 0.10.2; fix check

Patches are both now applied upstream.

+7 -16
+7 -16
pkgs/development/python-modules/geopandas/default.nix
··· 1 - { lib, stdenv, buildPythonPackage, fetchFromGitHub, fetchpatch, pythonOlder 1 + { lib, stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder 2 2 , pandas, shapely, fiona, pyproj 3 3 , pytestCheckHook, Rtree }: 4 4 5 5 buildPythonPackage rec { 6 6 pname = "geopandas"; 7 - version = "0.9.0"; 7 + version = "0.10.2"; 8 8 disabled = pythonOlder "3.6"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "geopandas"; 12 12 repo = "geopandas"; 13 13 rev = "v${version}"; 14 - sha256 = "sha256-58X562OkRzZ4UTNMTwXW4U5czoa5tbSMBCcE90DqbaE="; 14 + sha256 = "14azl3gppqn90k8h4hpjilsivj92k6p1jh7mdr6p4grbww1b7sdq"; 15 15 }; 16 16 17 - patches = [ 18 - (fetchpatch { 19 - name = "skip-pandas-master-fillna-test.patch"; 20 - url = "https://github.com/geopandas/geopandas/pull/1878.patch"; 21 - sha256 = "1yw3i4dbhaq7f02n329b9y2cqxbwlz9db81mhgrfc7af3whwysdb"; 22 - }) 23 - (fetchpatch { 24 - name = "fix-proj4strings-test.patch"; 25 - url = "https://github.com/geopandas/geopandas/pull/1958.patch"; 26 - sha256 = "0kzmpq5ry87yvhqr6gnh9p2606b06d3ynzjvw0hpp9fncczpc2yn"; 27 - }) 28 - ]; 29 - 30 17 propagatedBuildInputs = [ 31 18 pandas 32 19 shapely ··· 35 22 ]; 36 23 37 24 doCheck = !stdenv.isDarwin; 25 + preCheck = '' 26 + # Wants to write test files into $HOME. 27 + export HOME="$TMPDIR" 28 + ''; 38 29 checkInputs = [ pytestCheckHook Rtree ]; 39 30 disabledTests = [ 40 31 # requires network access