mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 01:16:57 +01:00
python3Packages.geopandas: fix tests
This commit is contained in:
parent
64ecf2a514
commit
42282ebb76
1 changed files with 14 additions and 1 deletions
|
@ -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 = "14azl3gppqn90k8h4hpjilsivj92k6p1jh7mdr6p4grbww1b7sdq";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fixes a test, will be included in the next release after 0.10.2
|
||||
(fetchpatch {
|
||||
url = "https://github.com/geopandas/geopandas/pull/2219/commits/ac67515c9df745b672cca1669adf05eaf5cb0f3b.patch";
|
||||
sha256 = "sha256-XcaoFhD6Rq0nfEpMbOJiAWPbaPDrMwFwoyppayq8NHc=";
|
||||
})
|
||||
# 5 commits from post 0.10.2 that fix the test suite compatibility with pandas >=1.4
|
||||
(fetchpatch {
|
||||
url = "https://github.com/geopandas/geopandas/pull/2289.patch";
|
||||
sha256 = "sha256-BcZVdaO/DdpZoVGUWaw9etFvvgwizAgrkaBISEOhV4A=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pandas
|
||||
shapely
|
||||
|
|
Loading…
Reference in a new issue