1
0

- update to 11.1.2:

* Execute teardown when test was skipped in setup phase of a
    fixture.
  * Fix crash during teardown when runtest protocol hook is
    overwritten by another plugin.
  * Fix crash during teardown when TestCase class is used as base
    class.
  * Run teardown of session, class, ... scoped fixtures only once
    after rerunning tests
  * Expose `reruns` and `reruns_delay` through `pytest.ini` file.
  * Drop support for Python 3.6.
  * Drop support for pytest < 6.
  * Fix crash when pytest-xdist is installed but disabled.
  * Fix crash when xfail(strict=True) mark is used with --rerun-
    only flag.
  * Added option `--rerun-except` to rerun failed tests those are
    other than the mentioned Error.
  * Add support for Python 3.11.
  * Add support for pytest 7.0, 7.1, 7.2.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-rerunfailures?expand=0&rev=19
This commit is contained in:
Dirk Mueller 2023-05-09 21:12:20 +00:00 committed by Git OBS Bridge
parent 60ede2574e
commit 792f3924a4
4 changed files with 30 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9e1e1bad51e07642c5bbab809fc1d4ec8eebcb7de86f90f1a26e6ef9de446697
size 15863

BIN
pytest-rerunfailures-11.1.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Tue May 9 21:10:26 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 11.1.2:
* Execute teardown when test was skipped in setup phase of a
fixture.
* Fix crash during teardown when runtest protocol hook is
overwritten by another plugin.
* Fix crash during teardown when TestCase class is used as base
class.
* Run teardown of session, class, ... scoped fixtures only once
after rerunning tests
* Expose `reruns` and `reruns_delay` through `pytest.ini` file.
* Drop support for Python 3.6.
* Drop support for pytest < 6.
* Fix crash when pytest-xdist is installed but disabled.
* Fix crash when xfail(strict=True) mark is used with --rerun-
only flag.
* Added option `--rerun-except` to rerun failed tests those are
other than the mentioned Error.
* Add support for Python 3.11.
* Add support for pytest 7.0, 7.1, 7.2.
-------------------------------------------------------------------
Fri Apr 21 12:31:57 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -20,21 +20,21 @@
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-pytest-rerunfailures
Version: 10.2
Version: 11.1.2
Release: 0
Summary: A pytest plugin to re-run tests
License: MPL-2.0
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.6}
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module setuptools >= 40.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 5.3
Requires: python-pytest >= 6.0
Requires: python-setuptools >= 40.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest >= 5.3}
BuildRequires: %{python_module pytest >= 6.0}
BuildRequires: %{python_module pytest-xdist}
# /SECTION
%python_subpackages