diff options
Diffstat (limited to 'pkgs/development/python-modules/cartopy/default.nix')
-rw-r--r-- | pkgs/development/python-modules/cartopy/default.nix | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/cartopy/default.nix b/pkgs/development/python-modules/cartopy/default.nix index d37818d00be72..06437870fae56 100644 --- a/pkgs/development/python-modules/cartopy/default.nix +++ b/pkgs/development/python-modules/cartopy/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, pythonOlder, + fetchpatch, fetchPypi, cython, setuptools-scm, @@ -35,6 +36,15 @@ buildPythonPackage rec { hash = "sha256-Ix83s1cB8rox2UlZzKdebaBMLuo6fxTOHHXuOw6udnY="; }; + patches = [ + # Some tests in the 0.23.0 release are failing due to missing network markers. Revisit after update. + (fetchpatch { + name = "mnt-add-missing-needs-network-markers.patch"; + url = "https://github.com/SciTools/cartopy/commit/2403847ea69c3d95e899ad5d0cab32ac6017df0e.patch"; + hash = "sha256-aGBUX4jFn7GgoqmHVC51DmS+ga3GcQGKfkut++x67Q0="; + }) + ]; + nativeBuildInputs = [ cython geos # for geos-config @@ -84,7 +94,10 @@ buildPythonPackage rec { "'not network and not natural_earth'" ]; - disabledTests = [ "test_gridliner_labels_bbox_style" ]; + disabledTests = [ + "test_gridliner_constrained_adjust_datalim" + "test_gridliner_labels_bbox_style" + ]; meta = with lib; { description = "Process geospatial data to create maps and perform analyses"; |