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 2 , pandas, shapely, fiona, pyproj 3 , pytestCheckHook, Rtree }: 4 5 buildPythonPackage rec { 6 pname = "geopandas"; 7 - version = "0.9.0"; 8 disabled = pythonOlder "3.6"; 9 10 src = fetchFromGitHub { 11 owner = "geopandas"; 12 repo = "geopandas"; 13 rev = "v${version}"; 14 - sha256 = "sha256-58X562OkRzZ4UTNMTwXW4U5czoa5tbSMBCcE90DqbaE="; 15 }; 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 propagatedBuildInputs = [ 31 pandas 32 shapely ··· 35 ]; 36 37 doCheck = !stdenv.isDarwin; 38 checkInputs = [ pytestCheckHook Rtree ]; 39 disabledTests = [ 40 # requires network access
··· 1 + { lib, stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder 2 , pandas, shapely, fiona, pyproj 3 , pytestCheckHook, Rtree }: 4 5 buildPythonPackage rec { 6 pname = "geopandas"; 7 + version = "0.10.2"; 8 disabled = pythonOlder "3.6"; 9 10 src = fetchFromGitHub { 11 owner = "geopandas"; 12 repo = "geopandas"; 13 rev = "v${version}"; 14 + sha256 = "14azl3gppqn90k8h4hpjilsivj92k6p1jh7mdr6p4grbww1b7sdq"; 15 }; 16 17 propagatedBuildInputs = [ 18 pandas 19 shapely ··· 22 ]; 23 24 doCheck = !stdenv.isDarwin; 25 + preCheck = '' 26 + # Wants to write test files into $HOME. 27 + export HOME="$TMPDIR" 28 + ''; 29 checkInputs = [ pytestCheckHook Rtree ]; 30 disabledTests = [ 31 # requires network access