From e235e390ce122fce104391f73d89876c6282cb36 Mon Sep 17 00:00:00 2001 From: Augustin Trancart Date: Fri, 20 Sep 2024 19:18:22 +0200 Subject: [PATCH] python3Packages.mapclassify: 2.6.1 -> 2.8.0 --- .../python-modules/mapclassify/default.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/mapclassify/default.nix b/pkgs/development/python-modules/mapclassify/default.nix index 0045daf1bd9f..67fac8b840f2 100644 --- a/pkgs/development/python-modules/mapclassify/default.nix +++ b/pkgs/development/python-modules/mapclassify/default.nix @@ -7,6 +7,7 @@ geopandas, libpysal, + matplotlib, networkx, numpy, pandas, @@ -17,15 +18,15 @@ buildPythonPackage rec { pname = "mapclassify"; - version = "2.6.1"; + version = "2.8.0"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "pysal"; repo = "mapclassify"; - rev = "v${version}"; - hash = "sha256-lb2Ui6zdx6MQBtBrL/Xj9k7cm6De8aLEuBLZDhPPDnE="; + rev = "refs/tags/v${version}"; + hash = "sha256-JrFKWkMUu8rjJJb1KK8+R9ANkLhTPf1EmWpzhfE7MAE="; }; build-system = [ setuptools-scm ]; @@ -42,10 +43,14 @@ buildPythonPackage rec { pytestCheckHook geopandas libpysal + matplotlib ]; # requires network access - disabledTestPaths = [ "mapclassify/tests/test_greedy.py" ]; + disabledTestPaths = [ + "mapclassify/tests/test_greedy.py" + "mapclassify/tests/test_rgba.py" + ]; pythonImportsCheck = [ "mapclassify" ];