mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
python3Packages.alphashape: disable failing tests on darwin
This commit is contained in:
@@ -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" ];
|
||||
|
||||
Reference in New Issue
Block a user