diff --git a/pkgs/development/python-modules/mapclassify/default.nix b/pkgs/development/python-modules/mapclassify/default.nix index 0045daf1bd9fd..67fac8b840f24 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" ];