public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cura] f43: Replace removed numpy.fromstring calls with numpy.frombuffer
@ 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/cura
            Branch : f43
            Commit : 3fd9c162a4ac247fb2257dec342069b1c4278c85
            Author : Miro Hrončok <miro@hroncok.cz>
            Date   : 2026-07-31T17:33:43+02:00
            Stats  : +4/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/cura/c/3fd9c162a4ac247fb2257dec342069b1c4278c85?branch=f43

            Log:
            Replace removed numpy.fromstring calls with numpy.frombuffer

- Fixes: rhbz#2507983

The upstream report already has a fixer, but upstream pins older numpy.

---
diff --git a/cura.spec b/cura.spec
index f8e6f7b..6883e5c 100644
--- a/cura.spec
+++ b/cura.spec
@@ -111,6 +111,10 @@ dos2unix docs/How_to_use_the_flame_graph_profiler.md
 # Wrong shebang
 sed -i '1s=^#!/usr/bin/\(python\|env python\)3*=#!%{python3}=' cura_app.py
 
+# https://github.com/Ultimaker/Cura/issues/21418
+# https://bugzilla.redhat.com/2507983
+sed -i 's/numpy.fromstring/numpy.frombuffer/g' plugins/CuraEngineBackend/ProcessSlicedLayersJob.py plugins/3MFReader/ThreeMFReader.py
+
 %build
 %cmake \
   -DCURA_VERSION:STRING=%{version} \

^ 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/cura] f43: Replace removed numpy.fromstring calls with numpy.frombuffer 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox