public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-uranium] rawhide: Replace removed numpy.tostring calls with numpy.tobytes
@ 2026-07-31 23:40
0 siblings, 0 replies; only message in thread
From: @ 2026-07-31 23:40 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-uranium
Branch : rawhide
Commit : d7dc4474b4b8efb5a275f6b8f791760f902e5b96
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-07-31T17:32:32+02:00
Stats : +5/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-uranium/c/d7dc4474b4b8efb5a275f6b8f791760f902e5b96?branch=rawhide
Log:
Replace removed numpy.tostring calls with numpy.tobytes
- Fixes: rhbz#2507983
The upstream report already has a fixer, but upstream pins older numpy.
---
diff --git a/python-uranium.spec b/python-uranium.spec
index 9311327..3acff66 100644
--- a/python-uranium.spec
+++ b/python-uranium.spec
@@ -92,6 +92,11 @@ cp -a %{SOURCE6} %{SOURCE7} %{SOURCE8} .
# fix compile-shaders
sed -i 's|qsb |qsb-qt6 |g' scripts/compile-shaders
+# https://github.com/Ultimaker/Cura/issues/21418
+# https://bugzilla.redhat.com/2507983
+sed -i 's/tostring/tobytes/g' UM/View/GL/OpenGL.py
+
+
%build
# there is no arch specific content, so we set LIB_SUFFIX to nothing
# see https://github.com/Ultimaker/Uranium/commit/862a246bdfd7e25541b04a35406957612c6f4bb7
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-31 23:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-31 23:40 [rpms/python-uranium] rawhide: Replace removed numpy.tostring calls with numpy.tobytes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox