Accepting request 1133200 from devel:languages:python:pytest

- 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.

    ``--only-rerun`` pattern (if given) and none of the
    ``--rerun-except`` patterns. Previously, using both
    pytest >= 6.1.0, as it was removed there. This is a quick fix,
  * Add a new flag --only-rerun to allow for users to rerun only
    (PR from @gnikonorov)

OBS-URL: https://build.opensuse.org/request/show/1133200
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-rerunfailures?expand=0&rev=11
This commit is contained in:
Ana Guerrero 2023-12-15 20:46:05 +00:00 committed by Git OBS Bridge
commit fb1c18bfa7
4 changed files with 18 additions and 9 deletions

BIN
pytest-rerunfailures-12.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
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>
@ -7,8 +16,8 @@ Mon Jul 24 19:55:40 UTC 2023 - Dirk Müller <dmueller@suse.com>
``@pytest.mark.flaky`` marker.
* Add support for pytest 7.3, 7.4.
* Failures are now rerun only if they match at least one
``--only-rerun`` pattern (if given) and none of the
``--rerun-except`` patterns. Previously, using both
``--only-rerun`` pattern (if given) and none of the
``--rerun-except`` patterns. Previously, using both
``--only-rerun`` and ``--rerun-except`` together
could cause failures to be rerun even if they did not
match any ``--only-rerun`` pattern, and when using
@ -76,18 +85,18 @@ Sat Nov 7 18:33:40 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Update to 9.1.1
Compatibility fix.
* Ignore --result-log command line option when used together with
pytest >= 6.1.0, as it was removed there. This is a quick fix,
pytest >= 6.1.0, as it was removed there. This is a quick fix,
use an older version of pytest, if you want to keep this
feature for now. (Thanks to @ntessore for the PR)
* Support up to pytest 6.1.0.
- Changelog for 9.1
Features
* Add a new flag --only-rerun to allow for users to rerun only
* Add a new flag --only-rerun to allow for users to rerun only
certain errors.
Other changes
* Drop dependency on mock.
* Add support for pre-commit and add a linting tox target. (#117)
(PR from @gnikonorov)
(PR from @gnikonorov)
-------------------------------------------------------------------
Mon Mar 23 09:00:46 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-pytest-rerunfailures
Version: 12.0
Version: 13.0
Release: 0
Summary: A pytest plugin to re-run tests
License: MPL-2.0