public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-uranium] f43: Replace removed numpy.tostring calls with numpy.tobytes
Date: Fri, 31 Jul 2026 23:40:46 GMT	[thread overview]
Message-ID: <178554124632.1.2676766434251857983.rpms-python-uranium-d7dc4474b4b8@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-uranium
            Branch : f43
            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=f43

            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

                 reply	other threads:[~2026-07-31 23:40 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=178554124632.1.2676766434251857983.rpms-python-uranium-d7dc4474b4b8@fedoraproject.org \
    --to=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