Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pytest-dev/pytest-rerunfailures
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 15.1
Choose a base ref
...
head repository: pytest-dev/pytest-rerunfailures
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 16.1
Choose a head ref
  • 19 commits
  • 10 files changed
  • 11 contributors

Commits on May 8, 2025

  1. Back to development: 15.2

    icemac committed May 8, 2025
    Configuration menu
    Copy the full SHA
    b3220b9 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2025

  1. Allow to pass a callable condition to the flaky marker (#299)

    * feat: add 'condition' parameter to flaky marker
    
    This introduces a condition parameter to the `@pytest.mark.flaky`
    decorator, allowing for more granular control over when a test is rerun.
    
    The condition can be a callable or a string.
    
    If it's a callable, it will be passed the exception object from the
    failed test. The test will be rerun only if the callable returns True.
    
    If it's a string, it will be evaluated with the following objects in
    its global context: os, sys, platform, config, and error (the
    exception instance). The test will be rerun only if the string
    evaluates to True.
    
    Exceptions raised by a condition callable are now caught and logged as a
    warning, preventing the test suite from crashing.
    
    Issue #230
    
    
    ---------
    
    Co-authored-by: Michael Howitz <m.howitz@minddistrict.com>
    alessio-locatelli and icemac authored Aug 27, 2025
    Configuration menu
    Copy the full SHA
    bd8cb4d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    72f29f3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    da8ea48 View commit details
    Browse the repository at this point in the history
  4. Remove outdated fixtures description in README (#291)

    See #260 and #290.
    
    Co-authored-by: Michael Howitz <icemac@gmx.net>
    The-Compiler and icemac authored Aug 27, 2025
    Configuration menu
    Copy the full SHA
    5dc2e6e View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2025

  1. Add support for Python 3.14 (#301)

    Co-authored-by: Michael Howitz <icemac@gmx.net>
    hugovk and icemac authored Aug 29, 2025
    Configuration menu
    Copy the full SHA
    9a88959 View commit details
    Browse the repository at this point in the history
  2. Preparing release 16.0

    icemac committed Aug 29, 2025
    Configuration menu
    Copy the full SHA
    34a87e4 View commit details
    Browse the repository at this point in the history
  3. Back to development: 16.1

    icemac committed Aug 29, 2025
    Configuration menu
    Copy the full SHA
    010a2c2 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2025

  1. Make pytest-xdist happy again (#304)

    * Revert "Allow to pass a callable condition to the `flaky` marker (#299)"
    
    This reverts commit bd8cb4d.
    alessio-locatelli authored Sep 2, 2025
    Configuration menu
    Copy the full SHA
    91b0b04 View commit details
    Browse the repository at this point in the history
  2. Prepare release.

    icemac committed Sep 2, 2025
    Configuration menu
    Copy the full SHA
    c60d17d View commit details
    Browse the repository at this point in the history
  3. Preparing release 16.0.1

    icemac committed Sep 2, 2025
    Configuration menu
    Copy the full SHA
    f97618f View commit details
    Browse the repository at this point in the history
  4. Back to development: 16.1

    icemac committed Sep 2, 2025
    Configuration menu
    Copy the full SHA
    f149c7d View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2025

  1. Change 'localhost' to '127.0.0.1' (#305)

    Co-authored-by: Michael Howitz <icemac@gmx.net>
    Cyperwu and icemac authored Sep 3, 2025
    Configuration menu
    Copy the full SHA
    df47974 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2025

  1. Drop support for Python 3.9. (#308)

    * Drop support for Python 3.9.
    icemac authored Sep 26, 2025
    Configuration menu
    Copy the full SHA
    88e0023 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2025

  1. Bump actions/setup-python from 5 to 6 in the actions group (#310)

    Bumps the actions group with 1 update: [actions/setup-python](https://github.com/actions/setup-python).
    
    
    Updates `actions/setup-python` from 5 to 6
    - [Release notes](https://github.com/actions/setup-python/releases)
    - [Commits](actions/setup-python@v5...v6)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-python
      dependency-version: '6'
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: actions
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 1, 2025
    Configuration menu
    Copy the full SHA
    5e01132 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2025

  1. Add a --force-reruns to override rerun count globally (#307)

    * Add a `--force-reruns` to override rerun count globally
    
    Add a new `--force-reruns` command-line option that can be used to
    override the rerun count globally, irrespectively of individual test
    markers.
    
    Fixes #306.
    
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    
    ---------
    
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    Co-authored-by: Michael Howitz <icemac@gmx.net>
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    3 people authored Oct 8, 2025
    Configuration menu
    Copy the full SHA
    cb8ede7 View commit details
    Browse the repository at this point in the history
  2. Fix NotImplementedError crash when using xdist schedulers without `…

    …mark_test_pending` (#309)
    
    * Fix NotImplementedError crash when using xdist schedulers without mark_test_pending
    
    Handle gracefully when pytest-xdist schedulers (like LoadScopeScheduling)
    don't implement mark_test_pending by catching NotImplementedError and
    failing the test with a clear message instead of crashing the test run.
    
    When a test crashes and cannot be rescheduled:
    - Set report outcome to "failed" with informative error message
    - Explain which scheduler lacks rescheduling support
    - Show remaining rerun count that couldn't be used
    - Continue test execution instead of internal crash
    
    Fixes #247
    
    
    ---------
    
    Co-authored-by: Michael Howitz <icemac@gmx.net>
    msabramo and icemac authored Oct 8, 2025
    Configuration menu
    Copy the full SHA
    8d04ad9 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2025

  1. Prepare release.

    icemac committed Oct 10, 2025
    Configuration menu
    Copy the full SHA
    c1666dd View commit details
    Browse the repository at this point in the history
  2. Preparing release 16.1

    icemac committed Oct 10, 2025
    Configuration menu
    Copy the full SHA
    b015092 View commit details
    Browse the repository at this point in the history
Loading