public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pyqtgraph] rawhide: Fix FTBFS with newer numpy (#2504567)
@ 2026-07-23 15:30 Scott Talbert
  0 siblings, 0 replies; only message in thread
From: Scott Talbert @ 2026-07-23 15:30 UTC (permalink / raw)
  To: git-commits

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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-23 15:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-23 15:30 [rpms/python-pyqtgraph] rawhide: Fix FTBFS with newer numpy (#2504567) Scott Talbert

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