Hello community,

here is the log from the commit of package python-pytest-qt for 
openSUSE:Factory checked in at 2020-09-25 16:36:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-qt (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-qt.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-qt"

Fri Sep 25 16:36:51 2020 rev:7 rq:837379 version:3.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest-qt/python-pytest-qt.changes        
2020-01-06 15:24:46.160561048 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-qt.new.4249/python-pytest-qt.changes  
    2020-09-25 16:37:37.984215142 +0200
@@ -1,0 +2,7 @@
+Fri Sep 25 09:19:58 UTC 2020 - Benjamin Greiner <[email protected]>
+
+- require a default ttf font gh#pytest-dev/pytest-qt#317
+- move to %pytest macro and use pytest-xvfb plugin
+- drop skip-timeout-tests.patch; deselect by pytest -k parameter
+
+-------------------------------------------------------------------

Old:
----
  skip-timeout-tests.patch

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

Other differences:
------------------
++++++ python-pytest-qt.spec ++++++
--- /var/tmp/diff_new_pack.7hRSxK/_old  2020-09-25 16:37:38.584215674 +0200
+++ /var/tmp/diff_new_pack.7hRSxK/_new  2020-09-25 16:37:38.584215674 +0200
@@ -25,17 +25,18 @@
 Group:          Development/Languages/Python
 URL:            http://github.com/pytest-dev/pytest-qt
 Source:         
https://files.pythonhosted.org/packages/source/p/pytest-qt/pytest-qt-%{version}.tar.gz
-Patch0:         skip-timeout-tests.patch
 BuildRequires:  %{python_module pytest >= 3.0}
+BuildRequires:  %{python_module pytest-xvfb}
 BuildRequires:  %{python_module qt5}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  dos2unix
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  xvfb-run
 Requires:       python-pytest >= 3.0
 Requires:       python-qt5
+# https://github.com/pytest-dev/pytest-qt/issues/317
+Requires:       free-ttf-fonts
 BuildArch:      noarch
 %python_subpackages
 
@@ -49,7 +50,6 @@
 
 %prep
 %setup -q -n pytest-qt-%{version}
-%patch0 -p1
 dos2unix LICENSE
 
 %build
@@ -61,16 +61,14 @@
 
 %check
 export PYTEST_QT_API=pyqt5
-export PYTHONDONTWRITEBYTECODE=1
-# skip test_qt_api_ini_config_with_envvar as it needs the qt4 and pyside/etc
-# same applies for test_qt_api_ini_config
-%{python_expand export PYTHONPATH="%{buildroot}%{$python_sitelib}"
-xvfb-run --server-args="-screen 0 1920x1080x24" py.test-%{$python_bin_suffix} 
-k 'not test_qt_api_ini_config_with_envvar and not test_qt_api_ini_config'
-}
+# test_qt_api_ini_config* needs the qt4 and pyside/etc
+# test_wait_window fails randomly on OBS
+%pytest -k 'not (test_qt_api_ini_config or test_wait_window)'
 
 %files %{python_files}
 %license LICENSE
 %doc CHANGELOG.rst README.rst
-%{python_sitelib}/*
+%{python_sitelib}/pytestqt
+%{python_sitelib}/pytest_qt-%{version}-py*.egg-info
 
 %changelog


Reply via email to