From 30d751dcfcfa11e00be2ab5dcd3a560ecb09049b Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Mon, 29 Dec 2025 23:23:45 +0400 Subject: [PATCH] python3Packages.morecantile: fix build --- .../python-modules/morecantile/default.nix | 25 ++----------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/pkgs/development/python-modules/morecantile/default.nix b/pkgs/development/python-modules/morecantile/default.nix index 3b4322d27bb6..8751a06d1a9b 100644 --- a/pkgs/development/python-modules/morecantile/default.nix +++ b/pkgs/development/python-modules/morecantile/default.nix @@ -1,11 +1,10 @@ { lib, - stdenv, buildPythonPackage, fetchFromGitHub, # build-system - flit, + hatchling, # dependencies attrs, @@ -32,7 +31,7 @@ buildPythonPackage rec { hash = "sha256-VDe39J4z5aSmdARaYknon4BK7OpovEzni0OVCxKRAkE="; }; - build-system = [ flit ]; + build-system = [ hatchling ]; dependencies = [ attrs @@ -48,26 +47,6 @@ buildPythonPackage rec { versionCheckHook ]; - 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" - ]; - pythonImportsCheck = [ "morecantile" ]; meta = {