Skip to content

core: bump pytest from 9.1.1 to 9.2.0 - #27573

Merged
emilburzo merged 1 commit into
mainfrom
dependabot/uv/pytest-9.2.0
Nov 4, 2026
Merged

emilburzo merged 1 commit into
mainfrom
dependabot/uv/pytest-9.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 4, 2026

Copy link
Copy Markdown
Contributor

Bumps pytest from 9.1.1 to 9.2.0.

Release notes

Sourced from pytest's releases.

9.2.0

pytest 9.2.0 (2026-10-27)

Removals and backward incompatible breaking changes

  • #14716: -c now raises a usage error for a path that does not exist, is a directory, or is in a format pytest has no loader for. Such paths were previously either ignored or reported as an unhandled FileNotFoundError.

  • #8593: The indirect, ids and scope arguments of Metafunc.parametrize() <pytest.Metafunc.parametrize> -- and therefore of @pytest.mark.parametrize <pytest.mark.parametrize ref> -- are now keyword-only.

    Passing them positionally was a common source of confusing errors, e.g. parametrize("arg1", "arg2", [(1, 2)]) made the argvalues land in indirect and failed with indirect fixture '(1, 2)' doesn't exist; such mistakes now fail with an understandable TypeError. The type annotations have always declared these arguments as keyword-only.

  • #993: Plugin import failures at startup are now reported and classified instead of escaping as a raw traceback with the accidental exit code 1:

    • a plugin that cannot be found -- via -p, pytest_plugins or PYTEST_PLUGINS -- exits with pytest.ExitCode USAGE_ERROR (4), like a conftest.py that fails to import;
    • a plugin that is found but raises while importing -- including a broken pytest11 entry point or a missing plugin dependency -- exits with pytest.ExitCode INTERNAL_ERROR (3), with the traceback preserved.

    pytest.main now returns these codes instead of raising ImportError. Also fixed an IndexError from pytest's own internals when the plugin raised an exception with no arguments.

Deprecations (removal in next major release)

  • #14742: The private _pytest.python.CallSpec2 name has been renamed to CallSpec. The old CallSpec2 alias remains available for now and will be removed in pytest 10 or 11.

  • #14755: Schedule yield_fixture decorator for removal in pytest 10 or 11.

  • #14774: Similarly to the deprecation of class-scoped fixtures defined as instance methods in pytest 9.1, all higher-scoped fixtures (module, package, and session) defined as instance methods are now deprecated.

    They suffer from the same issue the original deprecation only fixed for class-scoped fixtures, see 10819 and 14011.

  • #14808: Passing a non-string value to a string-typed ini option now emits a pytest.PytestRemovedIn10Warning. This affects [tool.pytest.ini_options] in pyproject.toml. In pytest 10 this will raise a TypeError, matching the behavior of the corresponding TOML config path.

  • #7323: Passing bytes to TerminalReporter.write_line() is now deprecated, pass a str instead.

New features

  • #14743: Full diff: now contains a legend explaining the + & - symbols in diff output.
  • #2781: When strict_markers is enabled, marker names used in -m expressions are now validated against registered markers.
  • #6881: Added the parametrize_long_str_id_strategy configuration option to control how long str/bytes parameter values are handled in auto-generated test IDs. Explicit IDs set via ids=[...] or pytest.param(..., id=...) are not affected. Available strategies: short (default, values over 100 chars fall back to argname+index), sha256 (SHA-256 hex digest), legacy (keep full value), and disallow (error requesting explicit IDs).

Improvements in existing functionality

  • #10745: A RecursionError whose recursion origin cannot be located now shows only the first and last 10 stack frames, matching what pytest already did when locating the origin failed outright. Previously the full traceback -- often around a thousand near-identical frames -- was rendered, which was both slow and unreadable. Pass --full-trace to see every frame.

... (truncated)

Commits
  • ae1d0ff Prepare release version 9.2.0
  • 143ce31 pre-commit: exclude codespell on generated release announcements
  • 532dc5f tox: add attrs dependency to regen, needed in reportingdemo.rst
  • a7b2446 Merge pull request #15245 from pytest-dev/claude/project-thread-9jcf91
  • 679d09c [pre-commit.ci] pre-commit autoupdate (#15266)
  • 41d12cd docs: clarify typing for yield fixtures
  • b9022ba Merge pull request #15182 from 1871698/docs/improve-getting-started-description
  • 16f87a7 docs: improve getting-started.rst test execution description
  • 082ed70 Merge pull request #15255 from pytest-dev/claude/project-thread-eoi3d6
  • ae37a01 Merge pull request #15227 from pytest-dev/claude/project-thread-4etye4
  • 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)

@dependabot
dependabot Bot requested a review from a team as a code owner November 4, 2026 04:08
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 4, 2026
@netlify

netlify Bot commented Nov 4, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 4e46af2
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6aeaafd4da112c66b612f671
😎 Deploy Preview https://deploy-preview-27573--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 Nov 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.97%. Comparing base (f8dde2e) to head (edf3408).
⚠️ Report is 4 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #27573      +/-   ##
==========================================
- Coverage   93.00%   92.97%   -0.03%     
==========================================
  Files        1226     1226              
  Lines       85235    85235              
  Branches     4894     4894              
==========================================
- Hits        79270    79245      -25     
- Misses       5878     5903      +25     
  Partials       87       87              
Flag Coverage Δ
conformance 30.57% <ø> (+<0.01%) ⬆️
e2e 35.31% <ø> (+<0.01%) ⬆️
integration 27.73% <ø> (-0.32%) ⬇️
rust 51.12% <ø> (ø)
unit 94.53% <ø> (+<0.01%) ⬆️
unit-migrate 94.54% <ø> (+<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.

@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

Download this run's HTML report and traces, then open the report:

gh run download 41801448938 -D playwright-artifacts
npx playwright show-report playwright-artifacts/playwright-report

Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-edf34089f20b91b3b5c0e245865a699985d38ced
# Distroless image: AUTHENTIK_TAG=gh-edf34089f20b91b3b5c0e245865a699985d38ced-distroless
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-edf34089f20b91b3b5c0e245865a699985d38ced
        # Distroless image: tag: gh-edf34089f20b91b3b5c0e245865a699985d38ced-distroless

Afterwards, run the upgrade commands from the latest release notes.

@emilburzo
emilburzo force-pushed the dependabot/uv/pytest-9.2.0 branch from 4e46af2 to edf3408 Compare November 4, 2026 08:41
@emilburzo
emilburzo enabled auto-merge (squash) November 4, 2026 08:41
@emilburzo
emilburzo merged commit 2c34d59 into main Nov 4, 2026
287 of 289 checks passed
@emilburzo
emilburzo deleted the dependabot/uv/pytest-9.2.0 branch November 4, 2026 09:22
kensternberg-authentik added a commit that referenced this pull request Nov 4, 2026
* main: (176 commits)
  flows: format titles correct on first render if possible (#27589)
  common/saml: Add ability to select nameid unspecified (#27027)
  core: bump cachetools from 7.2.7 to 7.2.8 (#27575)
  core: bump pytest from 9.1.1 to 9.2.0 (#27573)
  core: bump django from 5.2.18 to 5.2.19 (#27574)
  core: bump pydantic from 2.14.1 to 2.14.2 (#27576)
  ci: bump taiki-e/install-action from 2.88.1 to 2.89.0 in /.github/actions/setup (#27577)
  common/saml: skip Ed25519 tests when FIPS is enabled (#27583)
  outposts/proxy: verify ML-DSA signed tokens (#27171)
  web: bump js-yaml from 4.3.0 to 4.3.2 (#27522)
  web: bump shell-quote from 1.9.0 to 1.12.0 (#27531)
  web/admin: allow adding source to identification stage after creation (#27485)
  web: bump @xmldom/xmldom from 0.8.13 to 0.8.15 in /web (#27520)
  web: bump source-map-js from 1.2.1 to 1.2.2 (#27523)
  web: bump follow-redirects from 1.16.0 to 1.16.2 (#27524)
  web: bump joi from 17.13.4 to 17.13.9 (#27525)
  web: bump smol-toml from 1.8.0 to 1.9.1 (#27526)
  web: bump markdown-it from 14.3.0 to 14.3.3 (#27528)
  web: bump fast-uri from 3.1.8 to 3.1.9 (#27529)
  web: bump image-size from 2.0.2 to 2.0.4 (#27530)
  ...
kensternberg-authentik added a commit that referenced this pull request Nov 4, 2026
* main:
  flows: format titles correct on first render if possible (#27589)
  common/saml: Add ability to select nameid unspecified (#27027)
  core: bump cachetools from 7.2.7 to 7.2.8 (#27575)
  core: bump pytest from 9.1.1 to 9.2.0 (#27573)
  core: bump django from 5.2.18 to 5.2.19 (#27574)
  core: bump pydantic from 2.14.1 to 2.14.2 (#27576)
  ci: bump taiki-e/install-action from 2.88.1 to 2.89.0 in /.github/actions/setup (#27577)
  common/saml: skip Ed25519 tests when FIPS is enabled (#27583)
  outposts/proxy: verify ML-DSA signed tokens (#27171)
  web: bump js-yaml from 4.3.0 to 4.3.2 (#27522)
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