python3Packages.geopandas: fix tests

main
Robert T. McGibbon 2 years ago committed by Jonathan Ringer
parent 64ecf2a514
commit 42282ebb76
  1. 15
      pkgs/development/python-modules/geopandas/default.nix

@ -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…
Cancel
Save