python3Packages.geopandas: fix tests
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder
|
||||
{ lib, stdenv, buildPythonPackage, fetchFromGitHub, fetchpatch, pythonOlder
|
||||
, pandas, shapely, fiona, pyproj
|
||||
, pytestCheckHook, Rtree }:
|
||||
|
||||
@@ -14,6 +14,19 @@ buildPythonPackage rec {
|
||||
sha256 = "sha256-58X562OkRzZ4UTNMTwXW4U5czoa5tbSMBCcE90DqbaE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "skip-pandas-master-fillna-test.patch";
|
||||
url = "https://github.com/geopandas/geopandas/pull/1878.patch";
|
||||
sha256 = "1yw3i4dbhaq7f02n329b9y2cqxbwlz9db81mhgrfc7af3whwysdb";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "fix-proj4strings-test.patch";
|
||||
url = "https://github.com/geopandas/geopandas/pull/1958.patch";
|
||||
sha256 = "0kzmpq5ry87yvhqr6gnh9p2606b06d3ynzjvw0hpp9fncczpc2yn";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pandas
|
||||
shapely
|
||||
|
||||
Reference in New Issue
Block a user