public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-trimesh] rawhide: Allow embreex dependency on aarch64
Date: Fri, 13 Nov 2026 06:31:49 GMT	[thread overview]
Message-ID: <179455150946.1.9502627608782637822.rpms-python-trimesh-9ad1f1f9b46e@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-11-13  6:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179455150946.1.9502627608782637822.rpms-python-trimesh-9ad1f1f9b46e@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox