Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyqtgraph for 
openSUSE:Factory checked in at 2023-06-21 22:40:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyqtgraph (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyqtgraph.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyqtgraph"

Wed Jun 21 22:40:10 2023 rev:9 rq:1094305 version:0.13.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyqtgraph/python-pyqtgraph.changes        
2022-06-25 10:24:30.718695149 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pyqtgraph.new.15902/python-pyqtgraph.changes 
    2023-06-21 22:41:05.886818545 +0200
@@ -1,0 +2,31 @@
+Tue Jun 20 09:20:04 UTC 2023 - Guillaume GARDET <guillaume.gar...@opensuse.org>
+
+- update to version 0.13.3:
+  * https://github.com/pyqtgraph/pyqtgraph/releases/tag/pyqtgraph-0.13.3
+- Changelog of skipped 0.13.2:
+  * https://github.com/pyqtgraph/pyqtgraph/releases/tag/pyqtgraph-0.13.2
+- Re-enable test_rescaleData and add patch to fix it on aarch64:
+  * 2748.patch
+- Update no-sphinx-qt-doc.patch
+
+-------------------------------------------------------------------
+Tue Feb 21 09:24:07 UTC 2023 - Guillaume GARDET <guillaume.gar...@opensuse.org>
+
+- update to version 0.13.1:
+  * Bug Fixes
+    + Refactor examples using `Interactor` to run on changing
+      function parameters by @ntjess in
+      https://github.com/pyqtgraph/pyqtgraph/pull/2437
+  * API Change
+    + deprecate GraphicsObject::parentChanged method by @pijyoi
+      in https://github.com/pyqtgraph/pyqtgraph/pull/2420
+  * Other
+    + Move Console to generic template and make font Courier New
+      by @j9ac9k in https://github.com/pyqtgraph/pyqtgraph/pull/2435
+- Changelog of skipped 0.13.0:
+  * 
https://github.com/pyqtgraph/pyqtgraph/compare/pyqtgraph-0.12.4...pyqtgraph-0.13.0
+- Disable test_rescaleData on aarch64 until fixed upstream
+- Add patch to not build sphinx qt doc as it fails:
+  * no-sphinx-qt-doc.patch
+
+-------------------------------------------------------------------

Old:
----
  pyqtgraph-0.12.4.tar.gz

New:
----
  2748.patch
  no-sphinx-qt-doc.patch
  pyqtgraph-0.13.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pyqtgraph.spec ++++++
--- /var/tmp/diff_new_pack.uD2MC1/_old  2023-06-21 22:41:06.342821289 +0200
+++ /var/tmp/diff_new_pack.uD2MC1/_new  2023-06-21 22:41:06.346821314 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyqtgraph
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 %define skip_python2 1
 %bcond_without  test
 Name:           python-pyqtgraph
-Version:        0.12.4
+Version:        0.13.3
 Release:        0
 Summary:        Scientific Graphics and GUI Library for Python
 License:        MIT
@@ -28,13 +28,20 @@
 URL:            https://www.pyqtgraph.org/
 # test data is only in the GitHub archive
 Source:         
https://github.com/pyqtgraph/pyqtgraph/archive/refs/tags/pyqtgraph-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE - Borrowed from Fedora - 
https://src.fedoraproject.org/rpms/python-pyqtgraph/tree/
+# Upstream issue: https://github.com/pyqtgraph/pyqtgraph/issues/2644
+Patch1:         no-sphinx-qt-doc.patch
+# https://github.com/pyqtgraph/pyqtgraph/issues/2645
+Patch2:         2748.patch
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module numpy >= 1.17}
+BuildRequires:  %{python_module pydata-sphinx-theme}
 BuildRequires:  %{python_module qt5 >= 5.12}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros >= 20210628
 BuildRequires:  python3-Sphinx
+BuildRequires:  python3-sphinx-qt-documentation
 Requires:       python-numpy >= 1.17
 Recommends:     python-colorcet
 Recommends:     python-cupy
@@ -82,6 +89,8 @@
 
 %prep
 %setup -q -n pyqtgraph-pyqtgraph-%{version}
+%patch1 -p1
+%patch2 -p1
 # Fix rpmlint
 chmod a-x pyqtgraph/examples/Symbols.py
 # only a handful of example scripts have interpreter lines, remove all, they 
don't have executable bits

++++++ 2748.patch ++++++
>From 1cf3f2c6a8c1c3efd2b8b2bdba168132dafb3f62 Mon Sep 17 00:00:00 2001
From: KIU Shueng Chuan <nixch...@gmail.com>
Date: Sat, 17 Jun 2023 10:38:56 +0800
Subject: [PATCH] generate random integers directly

---
 tests/test_functions.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/tests/test_functions.py b/tests/test_functions.py
index e0b079202c..426d757348 100644
--- a/tests/test_functions.py
+++ b/tests/test_functions.py
@@ -118,10 +118,15 @@ def test_subArray():
     
     
 def test_rescaleData():
+    rng = np.random.default_rng(12345)
     dtypes = map(np.dtype, ('ubyte', 'uint16', 'byte', 'int16', 'int', 
'float'))
     for dtype1 in dtypes:
         for dtype2 in dtypes:
-            data = (np.random.random(size=10) * 2**32 - 2**31).astype(dtype1)
+            if dtype1.kind in 'iu':
+                lim = np.iinfo(dtype1)
+                data = rng.integers(lim.min, lim.max, size=10, dtype=dtype1, 
endpoint=True)
+            else:
+                data = (rng.random(size=10) * 2**32 - 2**31).astype(dtype1)
             for scale, offset in [(10, 0), (10., 0.), (1, -50), (0.2, 0.5), 
(0.001, 0)]:
                 if dtype2.kind in 'iu':
                     lim = np.iinfo(dtype2)

++++++ no-sphinx-qt-doc.patch ++++++
--- pyqtgraph-pyqtgraph-0.13.3/doc/source/conf.py.orig  2023-06-20 
11:24:26.721006300 +0200
+++ pyqtgraph-pyqtgraph-0.13.3/doc/source/conf.py       2023-06-20 
11:51:34.297913600 +0200
@@ -37,11 +37,6 @@ extensions = [
     "sphinx.ext.viewcode",
     "sphinx.ext.napoleon",
     "sphinx.ext.intersphinx",
-    "sphinx_qt_documentation",
-    "sphinx_design",
-    "sphinx_favicon",
-    "sphinxext.rediraffe",
-    "sphinxcontrib.images",
 ]
 
 # Add any paths that contain templates here, relative to this directory.

++++++ pyqtgraph-0.12.4.tar.gz -> pyqtgraph-0.13.3.tar.gz ++++++
++++ 37430 lines of diff (skipped)

Reply via email to