Skip to content

core: bump pytest from 9.0.3 to 9.1.0 - #23238

Merged
BeryJu merged 1 commit into
mainfrom
dependabot/uv/pytest-9.1.0
Jun 22, 2026
Merged

BeryJu merged 1 commit into
mainfrom
dependabot/uv/pytest-9.1.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps pytest from 9.0.3 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

Dependabot compatibility score

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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pytest](https://github.com/pytest-dev/pytest) from 9.0.3 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)

---
updated-dependencies:
- dependency-name: pytest
  dependency-version: 9.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 22, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner June 22, 2026 04:11
@netlify

netlify Bot commented Jun 22, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 92eafc6
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a38b6057cd9f40008221905
😎 Deploy Preview https://deploy-preview-23238--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Jun 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.22%. Comparing base (86e9798) to head (92eafc6).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #23238      +/-   ##
==========================================
- Coverage   93.26%   93.22%   -0.04%     
==========================================
  Files        1035     1035              
  Lines       60364    60364              
  Branches      400      400              
==========================================
- Hits        56298    56276      -22     
- Misses       4066     4088      +22     
Flag Coverage Δ
conformance 36.45% <ø> (+<0.01%) ⬆️
e2e 41.69% <ø> (+<0.01%) ⬆️
integration 32.41% <ø> (-0.49%) ⬇️
rust 0.00% <ø> (ø)
unit 92.21% <ø> (ø)
unit-migrate 92.25% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@BeryJu
BeryJu merged commit 4063e84 into main Jun 22, 2026
106 checks passed
@BeryJu
BeryJu deleted the dependabot/uv/pytest-9.1.0 branch June 22, 2026 11:15
kensternberg-authentik added a commit that referenced this pull request Jun 22, 2026
* main: (30 commits)
  core, flows: drop maximum-scale=1 from viewport meta (#23261)
  web: bump vite from 8.0.12 to 8.0.16 in /web (#23129)
  web: bump the storybook group across 1 directory with 4 updates (#23246)
  ci: bump actions/checkout from 6.0.3 to 7.0.0 (#23250)
  core: bump structlog from 25.5.0 to 26.1.0 (#23241)
  packages/django-dramatiq-postgres/broker: fix race condition in broker causing completed tasks to be repeated (#23218)
  core, web: update translations (#23237)
  core: bump pytest from 9.0.3 to 9.1.0 (#23238)
  core: bump aws-cdk-lib from 2.258.1 to 2.259.0 (#23240)
  core: bump goauthentik/fips-python from `9b938f7` to `cbec346` in /lifecycle/container (#23242)
  core: bump ruff from 0.15.17 to 0.15.18 (#23243)
  ci: bump int128/docker-manifest-create-action from 2.22.0 to 2.23.0 (#23244)
  core: bump pytest-github-actions-annotate-failures from 0.4.0 to 0.4.1 (#23245)
  ci: bump softprops/action-gh-release from 3.0.0 to 3.0.1 (#23247)
  core: bump astral-sh/uv from 0.11.22 to 0.11.23 in /lifecycle/container (#23248)
  ci: bump taiki-e/install-action from 2.81.11 to 2.82.0 in /.github/actions/setup (#23252)
  web: bump date-fns from 4.1.0 to 4.4.0 in /web (#23253)
  core: bump which from 8.0.3 to 8.0.4 (#23254)
  translate: Updates for project authentik and language ar_AA (#23255)
  packages/django-postgres-cache: fix naive datetime warning (#23033)
  ...
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant