Compare commits

...

27 Commits

Author SHA256 Message Date
Ana Guerrero
89564b3eac Accepting request 1226221 from devel:languages:python:pytest
- update to 15.0:
  * Drop support for Python 3.8.
  * Drop support for pytest < 7.4.
  * Fix compatibility with pytest 8.2.
  * Add support for pytest 8.2, 8.3.
  * Add --fail-on-flaky option to fail the test run with custom
    exit code when test passed on rerun.

OBS-URL: https://build.opensuse.org/request/show/1226221
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-rerunfailures?expand=0&rev=14
2024-11-26 19:55:22 +00:00
Ana Guerrero
8c52facf79 Accepting request 1172300 from devel:languages:python:pytest
- Switch to pyproject macros.
- Skip some tests that have been broken by pytest 8.2.

OBS-URL: https://build.opensuse.org/request/show/1172300
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-rerunfailures?expand=0&rev=13
2024-06-21 14:02:41 +00:00
Steve Kowalik
3643bbb074 - Switch to pyproject macros.
- Skip some tests that have been broken by pytest 8.2.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-rerunfailures?expand=0&rev=27
2024-05-07 03:12:59 +00:00
Ana Guerrero
5f5d38d57c Accepting request 1158431 from devel:languages:python:pytest
- 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.

OBS-URL: https://build.opensuse.org/request/show/1158431
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-rerunfailures?expand=0&rev=12
2024-03-18 15:44:09 +00:00
6138396fd7 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-rerunfailures?expand=0&rev=25
2024-03-16 09:49:50 +00:00
Ana Guerrero
fb1c18bfa7 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
2023-12-15 20:46:05 +00:00
f7083ed8e3 - 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/package/show/devel:languages:python:pytest/python-pytest-rerunfailures?expand=0&rev=23
2023-12-14 21:18:41 +00:00
Ana Guerrero
1487558cea Accepting request 1100456 from devel:languages:python:pytest
- update to 12.0:
  * Drop support for pytest < 6.2.
  * Add ``only_rerun`` and ``rerun_except`` arguments to
    ``@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`` and ``--rerun-except`` together
    could cause failures to be rerun even if they did not
    match any ``--only-rerun`` pattern, and when using
    multiple ``--rerun-except`` patterns, all failures
    would be rerun unless they matched every pattern.

OBS-URL: https://build.opensuse.org/request/show/1100456
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-rerunfailures?expand=0&rev=10
2023-07-26 11:21:43 +00:00
38228ce8f9 - update to 12.0:
* Drop support for pytest < 6.2.
  * Add ``only_rerun`` and ``rerun_except`` arguments to
    ``@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`` and ``--rerun-except`` together
    could cause failures to be rerun even if they did not
    match any ``--only-rerun`` pattern, and when using
    multiple ``--rerun-except`` patterns, all failures
    would be rerun unless they matched every pattern.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-rerunfailures?expand=0&rev=21
2023-07-24 19:56:34 +00:00
Dominique Leuenberger
762ee5c416 Accepting request 1085836 from devel:languages:python:pytest
- 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/request/show/1085836
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-rerunfailures?expand=0&rev=9
2023-05-10 14:17:24 +00:00
792f3924a4 - 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
2023-05-09 21:12:20 +00:00
Dominique Leuenberger
ad7b31321e Accepting request 1082429 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/1082429
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-rerunfailures?expand=0&rev=8
2023-04-25 14:53:28 +00:00
60ede2574e Accepting request 1082418 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1082418
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-rerunfailures?expand=0&rev=17
2023-04-24 09:14:39 +00:00
Dominique Leuenberger
aa34760ce1 Accepting request 965763 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/965763
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-rerunfailures?expand=0&rev=7
2022-04-23 17:45:13 +00:00
4eadb68017 Accepting request 965494 from home:bnavigator:branches:devel:languages:python:pytest
- Update to 10.2
  * Allow recovery from crashed tests with pytest-xdist.
  * Add support for Python 3.10 (as of Python 3.10.rc2). (Thanks to
    @hugovk for the PR.)
  * Allows using a str as condition for
    @pytest.mark.flaky(condition) which gets evaluated dynamically
    similarly to @pytest.mark.skipif(condition). (#162 provided by
    @15klli)
  * Drop support for Python 3.5.
  * Drop support for pytest < 5.3.
  * Add condition keyword argument to the re-run marker. (Thanks to
    @BeyondEvil for the PR.)
  * Add support for Python 3.9. (Thanks to @digitronik for the PR.)
  * Add support for pytest 6.3. (Thanks to @bluetech for the PR.)
  * Add compatibility with pytest-xdist >= 2.0. (Thanks to
    @bluetech for the PR.)
  * Check for the resultlog by feature and not by version as pytest
    master does not provide a consistent version.

OBS-URL: https://build.opensuse.org/request/show/965494
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-rerunfailures?expand=0&rev=15
2022-03-29 19:44:48 +00:00
Dominique Leuenberger
37c195ff50 Accepting request 846883 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/846883
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-rerunfailures?expand=0&rev=6
2020-11-08 19:59:13 +00:00
86174dda62 Accepting request 846854 from home:bnavigator:branches:devel:languages:python:pytest
- 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, 
    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 
    certain errors.
  Other changes
  * Drop dependency on mock.
  * Add support for pre-commit and add a linting tox target. (#117)
    (PR from @gnikonorov)

OBS-URL: https://build.opensuse.org/request/show/846854
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-rerunfailures?expand=0&rev=13
2020-11-07 23:39:53 +00:00
Dominique Leuenberger
9638ec3dce Accepting request 787374 from devel:languages:python:pytest
- Update to 9.0:
  * Add support for pytest 5.4.
  * Add support for Python 3.8.
  * Drop support for python 2.7

OBS-URL: https://build.opensuse.org/request/show/787374
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-rerunfailures?expand=0&rev=5
2020-03-23 11:51:58 +00:00
Tomáš Chvátal
2052f26b77 - Update to 9.0:
* Add support for pytest 5.4.
  * Add support for Python 3.8.
  * Drop support for python 2.7

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-rerunfailures?expand=0&rev=11
2020-03-23 09:06:38 +00:00
Dominique Leuenberger
37a15f2475 Accepting request 753967 from devel:languages:python:pytest
- Update to 8.0:
  * Explicitly depend on setuptools to ensure installation when
    working in environments without it

OBS-URL: https://build.opensuse.org/request/show/753967
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-rerunfailures?expand=0&rev=4
2019-12-04 12:56:20 +00:00
Tomáš Chvátal
50f0eab40f - Update to 8.0:
* Explicitly depend on setuptools to ensure installation when
    working in environments without it

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-rerunfailures?expand=0&rev=9
2019-12-04 12:00:01 +00:00
Dominique Leuenberger
ac654592be Accepting request 689361 from devel:languages:python:pytest
- Update to 7.0:
  * Drop support for pytest version 3.8 and 3.9.
  * Add support for pytest version 4.2 and 4.3.
  * Fixed #83 issue about ignored pytest_runtest_logfinish hooks

OBS-URL: https://build.opensuse.org/request/show/689361
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-rerunfailures?expand=0&rev=3
2019-03-28 21:49:48 +00:00
Tomáš Chvátal
a14ca138c6 - Update to 7.0:
* Drop support for pytest version 3.8 and 3.9.
  * Add support for pytest version 4.2 and 4.3.
  * Fixed #83 issue about ignored pytest_runtest_logfinish hooks

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-rerunfailures?expand=0&rev=7
2019-03-28 13:33:06 +00:00
Stephan Kulow
4392f3c2d9 Accepting request 676366 from devel:languages:python:pytest
- Enable tests really
- Update to 6.0:
  * Drop support for pytest version 3.6 and 3.7.
  * Add support for pytest version 4.0 and 4.1.
  * Fixed #77 regression issue introduced in 4.2 related to the rerun attribute on the test report. (#77) (Thanks to @RibeiroAna for the PR).

OBS-URL: https://build.opensuse.org/request/show/676366
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-rerunfailures?expand=0&rev=2
2019-02-25 16:51:40 +00:00
Tomáš Chvátal
6fad8e30f0 - Enable tests really
- Update to 6.0:
  * Drop support for pytest version 3.6 and 3.7.
  * Add support for pytest version 4.0 and 4.1.
  * Fixed #77 regression issue introduced in 4.2 related to the rerun attribute on the test report. (#77) (Thanks to @RibeiroAna for the PR).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-rerunfailures?expand=0&rev=5
2019-02-15 09:52:53 +00:00
Dominique Leuenberger
8b2a2ca9ec Accepting request 652701 from devel:languages:python:pytest
Rerun tests on failure

OBS-URL: https://build.opensuse.org/request/show/652701
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-rerunfailures?expand=0&rev=1
2018-11-30 15:32:39 +00:00
Todd R
47d128f7b5 Accepting request 652700 from home:TheBlackCat:branches:devel:languages:python:misc
Rerun tests on failure

OBS-URL: https://build.opensuse.org/request/show/652700
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-rerunfailures?expand=0&rev=1
2018-11-29 21:02:46 +00:00

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

Binary file not shown.