public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-trimesh] rawhide: Allow embreex dependency on aarch64
@ 2026-11-13 6:31 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-13 6:31 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-trimesh
Branch : rawhide
Commit : 9ad1f1f9b46e8eb7fc8be84158609ace9e56003b
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-11-13T06:19:54+00:00
Stats : +35/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-trimesh/c/9ad1f1f9b46e8eb7fc8be84158609ace9e56003b?branch=rawhide
Log:
Allow embreex dependency on aarch64
---
diff --git a/0001-Downstream-only-allow-embreex-dependency-on-aarch64.patch b/0001-Downstream-only-allow-embreex-dependency-on-aarch64.patch
new file mode 100644
index 0000000..601529c
--- /dev/null
+++ b/0001-Downstream-only-allow-embreex-dependency-on-aarch64.patch
@@ -0,0 +1,25 @@
+From 71d4fa4caf7d10df577a5eb0f3eebfa6288eaf55 Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code@musicinmybrain.net>
+Date: Fri, 13 Nov 2026 06:14:03 +0000
+Subject: [PATCH] Downstream-only: allow embreex dependency on aarch64
+
+---
+ pyproject.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index bcff0ad7..fa09ca72 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -80,7 +80,7 @@ easy = [
+ "rtree",
+ "httpx",
+ "scipy",
+- "embreex; platform_machine!='aarch64'",
++ "embreex",
+ "pillow",
+ "vhacdx",
+ # old versions of mapbox_earcut produce incorrect values on numpy 2.0
+--
+2.56.1
+
diff --git a/python-trimesh.spec b/python-trimesh.spec
index f4e415e..5c4d320 100644
--- a/python-trimesh.spec
+++ b/python-trimesh.spec
@@ -29,6 +29,16 @@ Source0: https://github.com/mikedh/trimesh/archive/%{version}/trimesh-%{v
# output and on the docstring of trimesh.__main__.main
Source1: trimesh.1
+# Downstream-only: allow embreex dependency on aarch64
+#
+# The embreex project, https://github.com/trimesh/embreex, builds binary wheels
+# for PyPI using binary releases of https://github.com/RenderKit/embree. Since
+# embree doesn’t make aarch64 releases (except for MacOS), embreex doesn’t
+# build aarch64 wheels, and therefore trimesh excludes the embreex dependency
+# on aarch64. Since embree does support aarch64 at the source level, and all of
+# our dependencies are built from source, we have no such limitations.
+Patch: 0001-Downstream-only-allow-embreex-dependency-on-aarch64.patch
+
# trimesh.interfaces.blender
# Since 5.0.0, Blender doesn’t support big-endian architectures.
%ifnarch s390x
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-13 6:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-13 6:31 [rpms/python-trimesh] rawhide: Allow embreex dependency on aarch64 Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox