python3Packages.alphashape: disable failing tests on darwin

This commit is contained in:
Fabian Affolter
2026-10-24 23:37:18 +02:00
parent 824d12a19a
commit f987cd0545

View File

@@ -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" ];