Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
0064dec1b9 |
BIN
pytest-rerunfailures-12.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
pytest-rerunfailures-12.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
pytest-rerunfailures-14.0.tar.gz
(Stored with Git LFS)
BIN
pytest-rerunfailures-14.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -1,28 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Tue May 7 03:12:25 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
|
||||||
|
|
||||||
- Switch to pyproject macros.
|
|
||||||
- Skip some tests that have been broken by pytest 8.2.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Mar 16 09:48:54 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 14.0:
|
|
||||||
* Fix missing teardown for non-function scoped fixtures when
|
|
||||||
using only_rerun or rerun_except queries. (#234) and
|
|
||||||
* Drop support for Python 3.7.
|
|
||||||
* Drop support for pytest < 7.2.
|
|
||||||
* Add support for pytest 8.0, 8.1.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Dec 14 21:18:17 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 13.0:
|
|
||||||
* Drop support for pytest < 7.0.
|
|
||||||
* Add support for Python 3.12.
|
|
||||||
* Fix crashitem names mismatch between client and server.
|
|
||||||
* Fix crash when setup fails with --rerun-except flag.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 24 19:55:40 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Mon Jul 24 19:55:40 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytest-rerunfailures
|
# spec file for package python-pytest-rerunfailures
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,23 +18,21 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pytest-rerunfailures
|
Name: python-pytest-rerunfailures
|
||||||
Version: 14.0
|
Version: 12.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A pytest plugin to re-run tests
|
Summary: A pytest plugin to re-run tests
|
||||||
License: MPL-2.0
|
License: MPL-2.0
|
||||||
URL: https://github.com/pytest-dev/pytest-rerunfailures
|
URL: https://github.com/pytest-dev/pytest-rerunfailures
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-rerunfailures/pytest-rerunfailures-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pytest-rerunfailures/pytest-rerunfailures-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
BuildRequires: %{python_module pip}
|
|
||||||
BuildRequires: %{python_module setuptools >= 40.0}
|
BuildRequires: %{python_module setuptools >= 40.0}
|
||||||
BuildRequires: %{python_module wheel}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-packaging >= 17.1
|
Requires: python-pytest >= 6.2
|
||||||
Requires: python-pytest >= 7.2
|
Requires: python-setuptools >= 40.0
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module pytest >= 7.2}
|
BuildRequires: %{python_module pytest >= 6.0}
|
||||||
BuildRequires: %{python_module pytest-xdist}
|
BuildRequires: %{python_module pytest-xdist}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -47,26 +45,20 @@ tests to eliminate intermittent failures.
|
|||||||
%setup -q -n pytest-rerunfailures-%{version}
|
%setup -q -n pytest-rerunfailures-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# https://github.com/pytest-dev/pytest-rerunfailures/issues/267
|
%pytest
|
||||||
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}
|
%files %{python_files}
|
||||||
%doc CHANGES.rst README.rst
|
%doc CHANGES.rst README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/pytest_rerunfailures.py
|
%{python_sitelib}/pytest_rerunfailures.py*
|
||||||
%pycache_only %{python_sitelib}/__pycache__/pytest_rerunfailures*pyc
|
%pycache_only %{python_sitelib}/__pycache__/pytest_rerunfailures*
|
||||||
%{python_sitelib}/pytest_rerunfailures-%{version}.dist-info
|
%{python_sitelib}/pytest_rerunfailures-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user