python3Packages.trimesh: 4.11.5 -> 4.12.1, enable embreex tests

Release: https://github.com/mikedh/trimesh/releases/tag/4.12.1
This commit is contained in:
Peder Bergebakken Sundt
2026-04-25 18:47:30 +02:00
parent bb9b1423dd
commit 5a6c1f5e53
@@ -6,7 +6,6 @@
pytestCheckHook,
numpy,
lxml,
trimesh,
# optional deps
colorlog,
@@ -28,14 +27,14 @@
buildPythonPackage (finalAttrs: {
pname = "trimesh";
version = "4.11.5";
version = "4.12.1";
pyproject = true;
src = fetchFromGitHub {
owner = "mikedh";
repo = "trimesh";
tag = finalAttrs.version;
hash = "sha256-LF7tjthYtsEZJLqBiQZBe4urLjSD3Vbi3g1ZJ++0Tyk=";
hash = "sha256-+Xmy3/GSnfj7u1sapMscoCGlRsz00IkUzEo9CJ5Ja3s=";
};
build-system = [ setuptools ];
@@ -69,6 +68,11 @@ buildPythonPackage (finalAttrs: {
nativeCheckInputs = [
lxml
pytestCheckHook
]
# embreex is maintained by trimesh devs
++ lib.optionals embreex.meta.available [
embreex
rtree
];
disabledTests = [
@@ -76,7 +80,12 @@ buildPythonPackage (finalAttrs: {
"test_load"
];
enabledTestPaths = [ "tests/test_minimal.py" ];
enabledTestPaths = [
"tests/test_minimal.py"
]
++ lib.optionals embreex.meta.available [
"tests/test_ray.py"
];
pythonImportsCheck = [
"trimesh"