Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pytest-rerunfailures for 
openSUSE:Factory checked in at 2024-06-21 16:02:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-rerunfailures (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-rerunfailures.new.18349 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-rerunfailures"

Fri Jun 21 16:02:41 2024 rev:13 rq:1172300 version:14.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pytest-rerunfailures/python-pytest-rerunfailures.changes
  2024-03-18 16:44:20.546479381 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-rerunfailures.new.18349/python-pytest-rerunfailures.changes
       2024-06-21 16:02:56.621489410 +0200
@@ -1,0 +2,6 @@
+Tue May  7 03:12:25 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Switch to pyproject macros.
+- Skip some tests that have been broken by pytest 8.2.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pytest-rerunfailures.spec ++++++
--- /var/tmp/diff_new_pack.IPSbgS/_old  2024-06-21 16:02:57.833533869 +0200
+++ /var/tmp/diff_new_pack.IPSbgS/_new  2024-06-21 16:02:57.833533869 +0200
@@ -25,11 +25,13 @@
 URL:            https://github.com/pytest-dev/pytest-rerunfailures
 Source:         
https://files.pythonhosted.org/packages/source/p/pytest-rerunfailures/pytest-rerunfailures-%{version}.tar.gz
 BuildRequires:  %{python_module base >= 3.7}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools >= 40.0}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       python-packaging >= 17.1
 Requires:       python-pytest >= 7.2
-Requires:       python-setuptools >= 40.0
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module pytest >= 7.2}
@@ -45,19 +47,25 @@
 %setup -q -n pytest-rerunfailures-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%pytest
+# https://github.com/pytest-dev/pytest-rerunfailures/issues/267
+donttest="test_run_session_teardown_once_after_reruns "
+donttest+="or test_exception_matches_rerun_except_query "
+donttest+="or test_exception_not_match_rerun_except_query "
+donttest+="or test_exception_matches_only_rerun_query "
+donttest+="or test_exception_match_only_rerun_in_dual_query"
+%pytest -k "not (${donttest})"
 
 %files %{python_files}
 %doc CHANGES.rst README.rst
 %license LICENSE
-%{python_sitelib}/pytest_rerunfailures.py*
-%pycache_only %{python_sitelib}/__pycache__/pytest_rerunfailures*
-%{python_sitelib}/pytest_rerunfailures-%{version}*-info
+%{python_sitelib}/pytest_rerunfailures.py
+%pycache_only %{python_sitelib}/__pycache__/pytest_rerunfailures*pyc
+%{python_sitelib}/pytest_rerunfailures-%{version}.dist-info
 

Reply via email to