From 792f3924a4c05d00c75c0d6425ecf1f51860c419c9a5e9802f3881abe3ff7dce Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 9 May 2023 21:12:20 +0000 Subject: [PATCH] - 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 --- pytest-rerunfailures-10.2.tar.gz | 3 --- pytest-rerunfailures-11.1.2.tar.gz | 3 +++ python-pytest-rerunfailures.changes | 23 +++++++++++++++++++++++ python-pytest-rerunfailures.spec | 8 ++++---- 4 files changed, 30 insertions(+), 7 deletions(-) delete mode 100644 pytest-rerunfailures-10.2.tar.gz create mode 100644 pytest-rerunfailures-11.1.2.tar.gz diff --git a/pytest-rerunfailures-10.2.tar.gz b/pytest-rerunfailures-10.2.tar.gz deleted file mode 100644 index d248dda..0000000 --- a/pytest-rerunfailures-10.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9e1e1bad51e07642c5bbab809fc1d4ec8eebcb7de86f90f1a26e6ef9de446697 -size 15863 diff --git a/pytest-rerunfailures-11.1.2.tar.gz b/pytest-rerunfailures-11.1.2.tar.gz new file mode 100644 index 0000000..8ee03ff --- /dev/null +++ b/pytest-rerunfailures-11.1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55611661e873f1cafa384c82f08d07883954f4b76435f4b8a5b470c1954573de +size 17234 diff --git a/python-pytest-rerunfailures.changes b/python-pytest-rerunfailures.changes index baac6e4..e7a1412 100644 --- a/python-pytest-rerunfailures.changes +++ b/python-pytest-rerunfailures.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Tue May 9 21:10:26 UTC 2023 - Dirk Müller + +- 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 diff --git a/python-pytest-rerunfailures.spec b/python-pytest-rerunfailures.spec index ef64db8..23ada3d 100644 --- a/python-pytest-rerunfailures.spec +++ b/python-pytest-rerunfailures.spec @@ -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