From 4858a62b11cbd3798f6d38dea87366ae242460cf Mon Sep 17 00:00:00 2001 From: Augustin Trancart Date: Wed, 3 Sep 2025 18:20:41 +0200 Subject: [PATCH] pythonPackages.mapclassify: disable tests depending on an internet connection --- .../development/python-modules/mapclassify/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mapclassify/default.nix b/pkgs/development/python-modules/mapclassify/default.nix index ef30592b9b66..2ce7804f896b 100644 --- a/pkgs/development/python-modules/mapclassify/default.nix +++ b/pkgs/development/python-modules/mapclassify/default.nix @@ -48,10 +48,16 @@ buildPythonPackage rec { # requires network access disabledTestPaths = [ + # this module does http requests *at import time* "mapclassify/tests/test_greedy.py" + # depends on remote data "mapclassify/tests/test_rgba.py" - # Abort trap: 6 - "mapclassify/tests/test_mapclassify.py" + ]; + + disabledTests = [ + # depends on remote datasets + "test_legendgram_map" + "test_legendgram_most_recent_cmap" ]; pythonImportsCheck = [ "mapclassify" ];