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 2025-06-06 22:42:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyqtgraph (Old)
and /work/SRC/openSUSE:Factory/.python-pyqtgraph.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyqtgraph"
Fri Jun 6 22:42:12 2025 rev:13 rq:1283436 version:0.13.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyqtgraph/python-pyqtgraph.changes
2025-05-09 18:52:57.689080434 +0200
+++
/work/SRC/openSUSE:Factory/.python-pyqtgraph.new.19631/python-pyqtgraph.changes
2025-06-06 22:42:32.055504452 +0200
@@ -1,0 +2,7 @@
+Thu Jun 5 16:55:55 UTC 2025 - Ben Greiner <[email protected]>
+
+- Remove pyside2 requirement
+- Update qt submodule requirement for matplotlib
+- Disable package for ARM and i586 due to failing tests
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pyqtgraph.spec ++++++
--- /var/tmp/diff_new_pack.1OtEDy/_old 2025-06-06 22:42:32.715531805 +0200
+++ /var/tmp/diff_new_pack.1OtEDy/_new 2025-06-06 22:42:32.719531970 +0200
@@ -17,6 +17,7 @@
%bcond_without test
+%{?sle15_python_module_pythons}
Name: python-pyqtgraph
Version: 0.13.7
Release: 0
@@ -41,6 +42,7 @@
BuildRequires: python3-sphinx-autodoc-typehints
BuildRequires: python3-sphinx-qt-documentation
Requires: python-numpy >= 1.17
+Requires: (python-qt5 >= 5.12 or python-PyQt6 >= 6.1)
Recommends: python-colorcet
Recommends: python-cupy
Recommends: python-h5py
@@ -48,25 +50,21 @@
Recommends: python-opengl
Recommends: python-scipy
BuildArch: noarch
+# Tests fauil. These arches should get the noarch package
+ExcludeArch: %arm %ix86 aarch64
%if %{with test}
BuildRequires: %{python_module PyQt6 >= 6.1}
BuildRequires: %{python_module h5py}
-BuildRequires: %{python_module matplotlib-qt5}
+BuildRequires: %{python_module matplotlib-qt}
BuildRequires: %{python_module matplotlib}
BuildRequires: %{python_module opengl}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest-xvfb}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module scipy}
-BuildRequires: python3-pyside2 >= 5.12
# Tests fail
#BuildRequires: python3-pyside6
%endif
-%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3"
-Requires: (python-qt5 >= 5.12 or python-PyQt6 >= 6.1 or python3-pyside2
>= 5.12)
-%else
-Requires: (python-qt5 >= 5.12 or python-PyQt6 >= 6.1)
-%endif
%python_subpackages
%description
@@ -120,19 +118,6 @@
%check
# reload happens but is not detected by pytest or pytest-xdist
donttest="test_reload"
-# no pyside2-uic
-donttest+=" or (testExamples and (QtDesigner or designerExample) and PySide2)"
-# use shell expressions instead of rpm macros: we build a noarch package but
tests are arch specific
-if [ $(getconf LONG_BIT) -eq 32 -o "${RPM_ARCH}" = "aarch64" ]; then
- # Crashes and timeouts
- donttest+=" or (testExamples and PyQt6)"
- # images different, due to precision errors
- donttest+=" or (test_ROI and test_PolyLineROI)"
-fi
-# Qt on ARM uses openGL ES, which is not supported by pyqtgraph
-if [ "${RPM_ARCH}" = "arm" -o "${RPM_ARCH}" = "aarch64" ]; then
- donttest+=" or (testExamples and GL)"
-fi
%pytest -ra -n auto -k "not (${donttest})"
%endif