From cd82aae7e87ff68fc1230fb9f3bf0e884a62d6d1 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 21 Oct 2025 13:18:55 +0000 Subject: [PATCH] python3Packages.morecantile: disable tests failing with click 8.2.1 --- .../python-modules/morecantile/default.nix | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/morecantile/default.nix b/pkgs/development/python-modules/morecantile/default.nix index 8d0fd9ef7373..2246f96736bd 100644 --- a/pkgs/development/python-modules/morecantile/default.nix +++ b/pkgs/development/python-modules/morecantile/default.nix @@ -46,7 +46,22 @@ buildPythonPackage rec { rasterio ]; - disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ + disabledTests = [ + # AssertionError CLI exists with non-zero error code + # This is a regression introduced by https://github.com/NixOS/nixpkgs/pull/448189 + "test_cli_shapes" + "test_cli_shapesWGS84" + "test_cli_strict_overlap_contain" + "test_cli_tiles_bad_bounds" + "test_cli_tiles_geosjon" + "test_cli_tiles_implicit_stdin" + "test_cli_tiles_multi_bounds" + "test_cli_tiles_multi_bounds_seq" + "test_cli_tiles_ok" + "test_cli_tiles_points" + "test_cli_tiles_seq" + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ # https://github.com/developmentseed/morecantile/issues/156 "test_tiles_when_tms_bounds_and_provided_bounds_cross_antimeridian" ];