Skip to content

Update pytest requirement from <9.0,>=8.0.0 to >=8.0.0,<10.0#302

Merged
fhightower merged 2 commits intomainfrom
dependabot/pip/pytest-gte-8.0.0-and-lt-10.0
Mar 26, 2026
Merged

Update pytest requirement from <9.0,>=8.0.0 to >=8.0.0,<10.0#302
fhightower merged 2 commits intomainfrom
dependabot/pip/pytest-gte-8.0.0-and-lt-10.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Mar 9, 2026

Updates the requirements on pytest to permit the latest version.

Release notes

Sourced from pytest's releases.

9.0.2

pytest 9.0.2 (2025-12-06)

Bug fixes

  • #13896: The terminal progress feature added in pytest 9.0.0 has been disabled by default, except on Windows, due to compatibility issues with some terminal emulators.

    You may enable it again by passing -p terminalprogress. We may enable it by default again once compatibility improves in the future.

    Additionally, when the environment variable TERM is dumb, the escape codes are no longer emitted, even if the plugin is enabled.

  • #13904: Fixed the TOML type of the tmp_path_retention_count settings in the API reference from number to string.

  • #13946: The private config.inicfg attribute was changed in a breaking manner in pytest 9.0.0. Due to its usage in the ecosystem, it is now restored to working order using a compatibility shim. It will be deprecated in pytest 9.1 and removed in pytest 10.

  • #13965: Fixed quadratic-time behavior when handling unittest subtests in Python 3.10.

Improved documentation

  • #4492: The API Reference now contains cross-reference-able documentation of pytest's command-line flags <command-line-flags>.
Commits
  • 3d10b51 Prepare release version 9.0.2
  • 188750b Merge pull request #14030 from pytest-dev/patchback/backports/9.0.x/1e4b01d1f...
  • b7d7bef Merge pull request #14014 from bluetech/compat-note
  • bd08e85 Merge pull request #14013 from pytest-dev/patchback/backports/9.0.x/922b60377...
  • bc78386 Add CLI options reference documentation (#13930)
  • 5a4e398 Fix docs typo (#14005) (#14008)
  • d7ae6df Merge pull request #14006 from pytest-dev/maintenance/update-plugin-list-tmpl...
  • 556f6a2 pre-commit: fix rst-lint after new release (#13999) (#14001)
  • c60fbe6 Fix quadratic-time behavior when handling unittest subtests in Python 3.10 ...
  • 73d9b01 Merge pull request #13995 from nicoddemus/patchback/backports/9.0.x/1b5200c0f...
  • Additional commits viewable in compare view

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 added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Mar 9, 2026
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@8.0.0...9.0.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-version: 9.0.2
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot force-pushed the dependabot/pip/pytest-gte-8.0.0-and-lt-10.0 branch from cf4b359 to 73bc317 Compare March 14, 2026 10:09
Apply dev dependency range rule: >=9.0,<10.0 (was >=8.0.0,<10.0).
Update uv.lock to resolve the CI --locked failure.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@fhightower
Copy link
Copy Markdown
Owner

Review Summary

Dependency type: Dev (listed under [dependency-groups] dev in pyproject.toml)

CI status: All checks were failing due to uv.lock being out of date (--locked flag). This is unrelated to the pytest upgrade itself — Dependabot updated pyproject.toml and requirements_dev.txt but not the lockfile. Fixed by running uv lock.

Changelog findings (pytest 8.x → 9.x):

  • Python 3.9 dropped (not a concern — this project already requires >=3.10)
  • PytestRemovedIn9Warning deprecations are now errors
  • Minor behavior changes: duplicate path deduplication, CI detection requires non-empty env vars
  • Terminal progress feature added in 9.0.0 was disabled by default in 9.0.2 due to compatibility issues
  • No critical breaking changes expected for this project

Version range adjustment:

  • Dependabot proposed: >=8.0.0,<10.0
  • Applied (dev dependency rule — tight range around new major): >=9.0,<10.0

🤖 Generated with Claude Code

@fhightower fhightower merged commit 8b60a15 into main Mar 26, 2026
10 checks passed
@fhightower fhightower deleted the dependabot/pip/pytest-gte-8.0.0-and-lt-10.0 branch March 26, 2026 09:54
@fhightower fhightower restored the dependabot/pip/pytest-gte-8.0.0-and-lt-10.0 branch March 27, 2026 20:51
@fhightower fhightower deleted the dependabot/pip/pytest-gte-8.0.0-and-lt-10.0 branch March 28, 2026 01:11
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 python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant