Bump pytest from 8.4.2 to 9.0.3 - #31
Conversation
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.4.2 to 9.0.3. - [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.4.2...9.0.3) --- updated-dependencies: - dependency-name: pytest dependency-version: 9.0.3 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2038ac71ad
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| "ruff>=0.15.12", | ||
| "build>=1.5.0", | ||
| "pytest>=8.3.3,<9", # pytest-codeblocks 0.17.0 still uses the pre-pytest-9 collect hook signature. | ||
| "pytest>=8.3.3,<10", # pytest-codeblocks 0.17.0 still uses the pre-pytest-9 collect hook signature. |
There was a problem hiding this comment.
Raise pytest-codeblocks before allowing pytest 9
When this dependency group is resolved from pyproject.toml without the checked-in lockfile, or under a lowest/min-version resolution, it now permits pytest==9.x together with pytest-codeblocks==0.17.0; the existing comment says that plugin version still uses the pre-pytest-9 collect hook signature, and the repo’s pytest configuration always enables --codeblocks, so README/docs collection can abort before tests run. Either keep pytest below 9 or raise the pytest-codeblocks floor to a pytest-9-compatible release.
AGENTS.md reference: AGENTS.md:L20-L23
Useful? React with 👍 / 👎.
Bumps pytest from 8.4.2 to 9.0.3.
Release notes
Sourced from pytest's releases.
... (truncated)
Commits
a7d58d7Prepare release version 9.0.3089d981Merge pull request #14366 from bluetech/revert-14193-backport8127eafRevert "Fix: assertrepr_compare respects dict insertion order (#14050) (#14193)"99a7e60Merge pull request #14363 from pytest-dev/patchback/backports/9.0.x/95d8423bd...ddee02aMerge pull request #14343 from bluetech/cve-2025-71176-simple74eac69doc: Update training info (#14298) (#14301)f92dee7Merge pull request #14267 from pytest-dev/patchback/backports/9.0.x/d6fa26c62...7ee58acMerge pull request #12378 from Pierre-Sassoulas/fix-implicit-str-concat-and-d...37da870Merge pull request #14259 from mitre88/patch-4 (#14268)c34bfa3Add explanation for string context diffs (#14257) (#14266)You can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.
Summary by cubic
Upgrade
pytestto 9.0.3 to pick up security and bug fixes, and relax our dev constraint to allow 9.x. Updatespyproject.tomlanduv.lockto keep the test stack current.pytest8.4.2 → 9.0.3 and setpytest>=8.3.3,<10.-p no:forconftest.py, and disables terminal progress by default (except on Windows).Written for commit 2038ac7. Summary will update on new commits.