Skip to content

deps(deps): bump the pytest-ecosystem group with 3 updates#361

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/pytest-ecosystem-600ad2fd3e
Open

deps(deps): bump the pytest-ecosystem group with 3 updates#361
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/pytest-ecosystem-600ad2fd3e

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 15, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on pytest, pytest-rerunfailures and pytest-playwright to permit the latest version.
Updates pytest to 9.1.0

Release notes

Sourced from pytest's releases.

9.1.0

pytest 9.1.0 (2026-06-13)

Removals and backward incompatible breaking changes

  • #14533: When using --doctest-modules, autouse fixtures with module, package or session scope that are defined inline in Python test modules (not plugins or conftests) will now possibly execute twice.

    If this is undesirable, move the fixture definition to a conftest.py file if possible.

    Technical explanation for those interested: When using --doctest-modules, pytest possibly collects Python modules twice, once as pytest.Module and once as a DoctestModule (depending on the configuration). Due to improvements in pytest's fixture implementation, if e.g. the DoctestModule collects a fixture, it is now visible to it only, and not to the Module. This means that both need to register the fixtures independently.

Deprecations (removal in next major release)

  • #10819: Added a deprecation warning for class-scoped fixtures defined as instance methods (without @classmethod). Such fixtures set attributes on a different instance than the test methods use, leading to unexpected behavior. Use @classmethod decorator instead -- by yastcher.

    See 10819 and 14011.

  • #12882: Calling request.getfixturevalue() <pytest.FixtureRequest.getfixturevalue> during teardown to request a fixture that was not already requested is now deprecated and will become an error in pytest 10.

    See dynamic-fixture-request-during-teardown for details.

  • #13409: Using non-~collections.abc.Collection iterables (such as generators, iterators, or custom iterable objects) for the argvalues parameter in @pytest.mark.parametrize <pytest.mark.parametrize ref> and metafunc.parametrize <pytest.Metafunc.parametrize> is now deprecated.

    These iterables get exhausted after the first iteration, leading to tests getting unexpectedly skipped in cases such as running pytest.main() multiple times, using class-level parametrize decorators, or collecting tests multiple times.

    See parametrize-iterators for details and suggestions.

  • #13946: The private config.inicfg attribute is now deprecated. Use config.getini() <pytest.Config.getini> to access configuration values instead.

    See config-inicfg for more details.

  • #14004: Passing baseid to ~pytest.FixtureDef or nodeid strings to fixture registration APIs is now deprecated. These are internal pytest APIs that are used by some plugins.

    Use the node parameter instead for fixture scoping. This enables more robust node-based matching instead of string prefix matching. If you've used nodeid=None, pass node=session instead.

    This will be removed in pytest 10.

  • #14335: The method of configuring hooks using markers, deprecated since pytest 7.2, is now scheduled to be removed in pytest 10. See hook-markers for more details.

  • #14434: The --pastebin option is now deprecated.

... (truncated)

Commits
  • b2522cf Prepare release version 9.1.0
  • 368d2fc [refactor] Tighten SetComparisonFunction to Iterator[str] (#14587)
  • ff77cd8 [refactor] Make base assertion comparisons return an iterator instead of a li...
  • 0d8491a build(deps): Bump actions/stale from 10.2.0 to 10.3.0
  • 4a809d9 Merge pull request #14568 from pytest-dev/register-fixture
  • 5dfa385 Fix recursion traceback test to cover all styles (#14582)
  • f52ff0c Add pytest.register_fixture
  • a8ac094 Merge pull request #14567 from pytest-dev/more-visibility-deprecate
  • e5620cd [pre-commit.ci] pre-commit autoupdate (#14577)
  • 2ce9c6d Merge pull request #14540 from minbang930/fix-14533-doctest-module-fixtures
  • Additional commits viewable in compare view

Updates pytest-rerunfailures to 16.3

Changelog

Sourced from pytest-rerunfailures's changelog.

16.3 (2026-05-22)

Features ++++++++

  • Add --reruns-mode option (strict or append). With append, marker reruns and the global --reruns / reruns ini setting are summed instead of the marker taking strict priority. Default is strict so existing behaviour is unchanged. Fixes [#321](https://github.com/pytest-dev/pytest-rerunfailures/issues/321) <https://github.com/pytest-dev/pytest-rerunfailures/issues/321>_.

  • Add --rerun-show-tracebacks option to display tracebacks from failed attempts that were retried, including tests that eventually passed. The rerun summary section is emitted automatically when the flag is set, so -rR is no longer required to see the tracebacks. Fixes [#156](https://github.com/pytest-dev/pytest-rerunfailures/issues/156) <https://github.com/pytest-dev/pytest-rerunfailures/issues/156>_.

16.2 (2026-05-13)

Breaking changes ++++++++++++++++

  • Drop support for pytest 8.0. Minimum pytest version is now 8.1.

Features ++++++++

  • Add support for pytest 9.0.

Bug fixes +++++++++

  • Fix missing teardown for session and module scoped fixtures when fixture teardown fails. Fixes [#314](https://github.com/pytest-dev/pytest-rerunfailures/issues/314) <https://github.com/pytest-dev/pytest-rerunfailures/issues/314>_.

  • Clear fixture finalizers when removing cached results from failed fixtures to fix compatibility with pytest >= 9, which asserts that _finalizers is empty before executing a fixture. Fixes [#323](https://github.com/pytest-dev/pytest-rerunfailures/issues/323) <https://github.com/pytest-dev/pytest-rerunfailures/issues/323>_.

  • Accept exception classes (not only regex strings) in the only_rerun and rerun_except marker keyword arguments instead of crashing with an internal error. Fixes [#275](https://github.com/pytest-dev/pytest-rerunfailures/issues/275) <https://github.com/pytest-dev/pytest-rerunfailures/issues/275>_.

16.1 (2025-10-10)

... (truncated)

Commits
  • 4b3a220 Preparing release 16.3
  • d17f3be feat: add --reruns-mode option to sum marker and global reruns (#321) (#328)
  • 4a00fac Add --rerun-show-tracebacks to surface retried failures (#329)
  • 9f792d9 Back to development: 16.3
  • 88a84d8 Preparing release 16.2
  • 5e0ad6a fix: accept exception classes in only_rerun and rerun_except markers (#327)
  • 928aa2b Update minimum pytest version to 8.1 and add support for pytest 9.0 (#325)
  • b53ef72 Fix support for pytest-main. (#324)
  • d9ef70e Preserve session and module teardown when fixture teardown fails (#319)
  • a22edc3 Bump actions/cache from 4 to 5 in the actions group (#317)
  • Additional commits viewable in compare view

Updates pytest-playwright to 0.8.0

Release notes

Sourced from pytest-playwright's releases.

v0.8.0

Adds support for expect.soft() soft assertions.

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Updates the requirements on [pytest](https://github.com/pytest-dev/pytest), [pytest-rerunfailures](https://github.com/pytest-dev/pytest-rerunfailures) and [pytest-playwright](https://github.com/microsoft/playwright-pytest) to permit the latest version.

Updates `pytest` to 9.1.0
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@9.0.3...9.1.0)

Updates `pytest-rerunfailures` to 16.3
- [Changelog](https://github.com/pytest-dev/pytest-rerunfailures/blob/master/CHANGES.rst)
- [Commits](pytest-dev/pytest-rerunfailures@16.0.1...16.3)

Updates `pytest-playwright` to 0.8.0
- [Release notes](https://github.com/microsoft/playwright-pytest/releases)
- [Commits](microsoft/playwright-pytest@v0.7.1...v0.8.0)

---
updated-dependencies:
- dependency-name: pytest
  dependency-version: 9.1.0
  dependency-type: direct:production
  dependency-group: pytest-ecosystem
- dependency-name: pytest-rerunfailures
  dependency-version: '16.3'
  dependency-type: direct:production
  dependency-group: pytest-ecosystem
- dependency-name: pytest-playwright
  dependency-version: 0.8.0
  dependency-type: direct:production
  dependency-group: pytest-ecosystem
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file pip Python pip 依赖升级 labels Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file pip Python pip 依赖升级

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants