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] f44: Python bindings for manifold are now packaged
Date: Thu, 23 Jul 2026 22:39:27 GMT [thread overview]
Message-ID: <178484636764.1.15198082133924038468.rpms-python-trimesh-3ea983f47e7c@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-trimesh
Branch : f44
Commit : 3ea983f47e7c1eb7b84a8c56f68b3de32c466eb9
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-05-02T09:06:40+01:00
Stats : +12/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-trimesh/c/3ea983f47e7c1eb7b84a8c56f68b3de32c466eb9?branch=f44
Log:
Python bindings for manifold are now packaged
- Introduce a bootstrap bcond for breaking a dep. cycle via manifold
---
diff --git a/python-trimesh.spec b/python-trimesh.spec
index 42d1e04..6d43670 100644
--- a/python-trimesh.spec
+++ b/python-trimesh.spec
@@ -1,8 +1,14 @@
-%bcond blender 1
+# Since the tests for manifold’s Python bindings depend on trimesh, a
+# dependency cycle exists: trimesh → manifold → blender, and then trimesh
+# normally depends on both manifold and blender.
+%bcond bootstrap 0
+
+%bcond blender %{without bootstrap}
%bcond skimage 1
# https://bugzilla.redhat.com/show_bug.cgi?id=2460576
# https://github.com/nschloe/meshio/issues/1558
%bcond meshio %{defined fc44}
+%bcond manifold %{without bootstrap}
Name: python-trimesh
Version: 4.12.2
@@ -198,7 +204,10 @@ EOF
# easy extra:
# manifold3d: not yet packaged, https://github.com/elalish/manifold/;
# in either “easy” or “recommend” depending on Python version
+%if %{without manifold}
+# manifold3d: in either “easy” or “recommend” depending on Python version
%pyproject_patch_dependency manifold3d:ignore
+%endif
%if ! 0%{?arch_has_embree}
%pyproject_patch_dependency embreex:ignore
%endif
@@ -206,8 +215,6 @@ EOF
# recommend extra:
# pyglet: incompatible version 2.x, beginning with F41. See “Path to
# supporting Pyglet 2?” https://github.com/mikedh/trimesh/issues/2155
-# manifold3d: in either “easy” or “recommend” depending on Python version;
-# already handled above
%pyproject_patch_dependency pyglet:ignore
%if %{without skimage}
%pyproject_patch_dependency scikit-image:ignore
@@ -278,9 +285,8 @@ deselect="${deselect-} --deselect=tests/test_primitives.py::test_primitives"
# https://github.com/mikedh/trimesh/issues/1351#issuecomment-4088830874
deselect="${deselect-} --deselect=tests/test_color.py::test_data_model"
-%if !0%{?have_blender}
-# This test requires a boolean backend: either blender or manifold3d, which is
-# not yet packaged.
+%if !0%{?have_blender} && %{without manifold}
+# This test requires a boolean backend: either blender or manifold3d
k="${k-}${k+ and }not test_contains_cavity"
%endif
reply other threads:[~2026-07-23 22:39 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=178484636764.1.15198082133924038468.rpms-python-trimesh-3ea983f47e7c@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