public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Scott Talbert <swt@techie.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pyqtgraph] rawhide: Fix FTBFS with newer numpy (#2504567)
Date: Thu, 23 Jul 2026 15:30:18 GMT	[thread overview]
Message-ID: <178482061846.1.9712134318861119402.rpms-python-pyqtgraph-b904b75d937e@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-pyqtgraph
Branch : rawhide
Commit : b904b75d937e2beef447b6484ce02e34d5b6db40
Author : Scott Talbert <swt@techie.net>
Date   : 2026-07-23T11:30:09-04:00
Stats  : +27/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/python-pyqtgraph/c/b904b75d937e2beef447b6484ce02e34d5b6db40?branch=rawhide

Log:
Fix FTBFS with newer numpy (#2504567)

---
diff --git a/0c23cbe65ccddc36e377695396854b4fc28e44dd.patch b/0c23cbe65ccddc36e377695396854b4fc28e44dd.patch
new file mode 100644
index 0000000..b7ed309
--- /dev/null
+++ b/0c23cbe65ccddc36e377695396854b4fc28e44dd.patch
@@ -0,0 +1,22 @@
+From 0c23cbe65ccddc36e377695396854b4fc28e44dd Mon Sep 17 00:00:00 2001
+From: Ognyan Moore <ognyan.moore@gmail.com>
+Date: Mon, 22 Jun 2026 19:10:11 -0400
+Subject: [PATCH] Use np.vstack instead of np.row_stack due to deprecation
+
+---
+ pyqtgraph/examples/MultiDataPlot.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyqtgraph/examples/MultiDataPlot.py b/pyqtgraph/examples/MultiDataPlot.py
+index c8db14621e..10ce0e9b1b 100644
+--- a/pyqtgraph/examples/MultiDataPlot.py
++++ b/pyqtgraph/examples/MultiDataPlot.py
+@@ -32,7 +32,7 @@ def isNoneOrScalar(value):
+         *[sortedRandint(0, 20, 15) for _ in range(4)],
+     ],
+     # Convention 3 array form
+-    "2D matrix": np.row_stack([sortedRandint(20, 40, 15) for _ in range(6)]),
++    "2D matrix": np.vstack([sortedRandint(20, 40, 15) for _ in range(6)]),
+ }
+ 
+ 

diff --git a/python-pyqtgraph.spec b/python-pyqtgraph.spec
index 50e090b..c135c1b 100644
--- a/python-pyqtgraph.spec
+++ b/python-pyqtgraph.spec
@@ -5,12 +5,13 @@
 
 Name:           python-pyqtgraph
 Version:        0.14.0
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Scientific Graphics and GUI Library for Python
 License:        MIT
 URL:            https://www.pyqtgraph.org/
 Source0:        https://github.com/pyqtgraph/pyqtgraph/archive/refs/tags/pyqtgraph-%{version}.tar.gz
 Patch0:         drop-unpackaged-sphinx-extensions.patch
+Patch1:         https://github.com/pyqtgraph/pyqtgraph/commit/0c23cbe65ccddc36e377695396854b4fc28e44dd.patch
 
 BuildArch:      noarch
 BuildRequires:  python3-devel
@@ -80,6 +81,9 @@ rm -f doc/build/html/objects.inv
 %endif
 
 %changelog
+* Thu Jul 23 2026 Scott Talbert <swt@techie.net> - 0.14.0-5
+- Fix FTBFS with newer numpy (#2504567)
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

                 reply	other threads:[~2026-07-23 15:30 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=178482061846.1.9712134318861119402.rpms-python-pyqtgraph-b904b75d937e@fedoraproject.org \
    --to=swt@techie.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