From f987cd05458ab1c46002eeaf91c4ef61d054863c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 24 Oct 2026 23:37:18 +0200 Subject: [PATCH] python3Packages.alphashape: disable failing tests on darwin --- .../python-modules/alphashape/default.nix | 28 +++++++++---------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/pkgs/development/python-modules/alphashape/default.nix b/pkgs/development/python-modules/alphashape/default.nix index 06c793bb64cb..22335f8b4ac6 100644 --- a/pkgs/development/python-modules/alphashape/default.nix +++ b/pkgs/development/python-modules/alphashape/default.nix @@ -1,31 +1,25 @@ { lib, + stdenv, buildPythonPackage, - fetchFromGitHub, - - # build-system - setuptools, - - # dependencies - click, click-log, - shapely, - numpy, - trimesh, + click, + fetchFromGitHub, + geopandas, networkx, + numpy, + pytestCheckHook, rtree, scipy, - - # tests - geopandas, - pytestCheckHook, + setuptools, + shapely, + trimesh, }: buildPythonPackage (finalAttrs: { pname = "alphashape"; version = "1.3.1"; pyproject = true; - __structuredAttrs = true; src = fetchFromGitHub { owner = "bellockk"; @@ -56,6 +50,10 @@ buildPythonPackage (finalAttrs: { # TypeError "test_given_a_four_point_polygon_with_no_alpha_return_input" "test_given_a_point_return_a_point" + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + "test_3_dimensional_regression" + "test_3_dimensional_regression_with_dynamic_alpha" ]; pythonImportsCheck = [ "alphashape" ];