public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/cura] rawhide: Replace removed numpy.fromstring calls with numpy.frombuffer
Date: Fri, 31 Jul 2026 23:40:24 GMT [thread overview]
Message-ID: <178554122410.1.12057442599800004231.rpms-cura-3fd9c162a4ac@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/cura
Branch : rawhide
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=rawhide
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} \
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=178554122410.1.12057442599800004231.rpms-cura-3fd9c162a4ac@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