diff --git a/python-QtPy.changes b/python-QtPy.changes index 6708430..70e4ae9 100644 --- a/python-QtPy.changes +++ b/python-QtPy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Aug 8 12:12:04 UTC 2022 - Stephan Kulow + +- Disable Qt5 bindings as they require python2 (for chromium within + qtwebengine) and we want to get rid of it in ring1 + ------------------------------------------------------------------- Fri Jun 3 19:09:24 UTC 2022 - Ben Greiner diff --git a/python-QtPy.spec b/python-QtPy.spec index 30ab20e..962b6c7 100644 --- a/python-QtPy.spec +++ b/python-QtPy.spec @@ -25,16 +25,9 @@ %bcond_with test BuildArch: noarch %endif -%bcond_without pyqt5 +%bcond_with pyqt5 %bcond_without pyqt6 -%ifnarch %power64 s390x -%bcond_without pyside2 -%else -%bcond_with pyside2 -%endif -# unfortunately we get a segfault in the other backends when pyside6 is installed at the same time (!?) -# test locally: osc build -M test --with pyside6 --without pyside2 --without pyqt5 --without pyqt6 --define "pythons python3" -%bcond_with pyside6 +%bcond_without pyside6 %define skip_python2 1 Name: python-QtPy%{psuffix} @@ -83,9 +76,6 @@ BuildRequires: qt6-sql-sqlite BuildRequires: %{python_module PyQt6-WebEngine} %endif %endif -%if %{with pyside2} -BuildRequires: python3-pyside2 -%endif %if %{with pyside6} BuildRequires: python3-pyside6 BuildRequires: qt6-sql-sqlite @@ -152,10 +142,6 @@ donttest_pyqt6=" or test_qtwebengine" export QT_API=pyqt6 FORCE_QT_API=1 %pytest -rwEfs -v ../qtpy -k "not ($donttest_qt_api $donttest $donttest_pyqt6)" %endif -%if %{with pyside2} -export QT_API=pyside2 FORCE_QT_API=1 -pytest-%{python3_bin_suffix} -rwEfs -v ../qtpy -k "not ($donttest_qt_api $donttest)" -%endif %if %{with pyside6} export QT_API=pyside6 FORCE_QT_API=1 pytest-%{python3_bin_suffix} -rwEfs -v ../qtpy -k "not ($donttest_qt_api $donttest)"