Skip to content

Update pytest requirement from ~=8.2.2 to ~=9.0.3#421

Merged
fynnsu merged 4 commits into
mainfrom
dependabot/pip/main/pytest-approx-eq-9.0.3
May 21, 2026
Merged

Update pytest requirement from ~=8.2.2 to ~=9.0.3#421
fynnsu merged 4 commits into
mainfrom
dependabot/pip/main/pytest-approx-eq-9.0.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 14, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on pytest to permit the latest version.

Release notes

Sourced from pytest's releases.

9.0.3

pytest 9.0.3 (2026-04-07)

Bug fixes

  • #12444: Fixed pytest.approx which now correctly takes into account ~collections.abc.Mapping keys order to compare them.

  • #13634: Blocking a conftest.py file using the -p no: option is now explicitly disallowed.

    Previously this resulted in an internal assertion failure during plugin loading.

    Pytest now raises a clear UsageError explaining that conftest files are not plugins and cannot be disabled via -p.

  • #13734: Fixed crash when a test raises an exceptiongroup with __tracebackhide__ = True.

  • #14195: Fixed an issue where non-string messages passed to unittest.TestCase.subTest() were not printed.

  • #14343: Fixed use of insecure temporary directory (CVE-2025-71176).

Improved documentation

  • #13388: Clarified documentation for -p vs PYTEST_PLUGINS plugin loading and fixed an incorrect -p example.
  • #13731: Clarified that capture fixtures (e.g. capsys and capfd) take precedence over the -s / --capture=no command-line options in Accessing captured output from a test function <accessing-captured-output>.
  • #14088: Clarified that the default pytest_collection hook sets session.items before it calls pytest_collection_finish, not after.
  • #14255: TOML integer log levels must be quoted: Updating reference documentation.

Contributor-facing changes

  • #12689: The test reports are now published to Codecov from GitHub Actions. The test statistics is visible on the web interface.

    -- by aleguy02

Commits

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 14, 2026
@coderabbitai

coderabbitai Bot commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 167e38dd-ac45-4e0f-b303-48acbb716daf

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Walkthrough

The pyproject.toml file is updated to increment the pytest development dependency from version 8.2.2 to 9.0.3, using compatible release version constraints.

Changes

Cohort / File(s) Summary
Pytest Version Update
pyproject.toml
Updated pytest dev dependency constraint from ~=8.2.2 to ~=9.0.3.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and specifically describes the main change: updating pytest version from ~=8.2.2 to ~=9.0.3, which matches the sole modification in pyproject.toml.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description check ✅ Passed The pull request description clearly documents the pytest version update from 8.2.2 to 9.0.3, includes release notes with bug fixes and improvements, and is directly related to the changesets in pyproject.toml.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/pip/main/pytest-approx-eq-9.0.3

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@mergify

mergify Bot commented Apr 14, 2026

Copy link
Copy Markdown

The quality checks have failed. Please run make style and make quality under
the root directory to address the lint failures. You will need to install the
dev optional install to get the required linting packages:
https://github.com/vllm-project/speculators/blob/main/CONTRIBUTING.md

@dependabot dependabot Bot force-pushed the dependabot/pip/main/pytest-approx-eq-9.0.3 branch from e364f88 to ef60461 Compare April 14, 2026 20:16

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
pyproject.toml (1)

85-89: ⚠️ Potential issue | 🔴 Critical

Upgrade pytest-asyncio to >=1.3.0 for pytest 9 compatibility.

The current pinned version pytest-asyncio~=0.23.8 is incompatible with pytest 9.0.x. Pytest 9 support was added in pytest-asyncio 1.3.0. Upgrade to at least version 1.3.0 (e.g., pytest-asyncio~=1.3 or higher). The other plugins (pytest-cov 5.0.0, pytest-rerunfailures 14.0) are compatible with pytest 9.0.x.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@pyproject.toml` around lines 85 - 89, Update the pytest-asyncio dependency in
pyproject.toml to a version compatible with pytest 9 by replacing the current
pinned "pytest-asyncio~=0.23.8" with a spec that requires at least 1.3.0 (for
example "pytest-asyncio~=1.3" or "pytest-asyncio>=1.3,<2"); ensure only the
dependency line for pytest-asyncio is changed and leave the other pytest plugin
entries untouched.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In `@pyproject.toml`:
- Around line 85-89: Update the pytest-asyncio dependency in pyproject.toml to a
version compatible with pytest 9 by replacing the current pinned
"pytest-asyncio~=0.23.8" with a spec that requires at least 1.3.0 (for example
"pytest-asyncio~=1.3" or "pytest-asyncio>=1.3,<2"); ensure only the dependency
line for pytest-asyncio is changed and leave the other pytest plugin entries
untouched.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: e9efcdad-6f7c-4d93-8e0c-d9a9b7aacc73

📥 Commits

Reviewing files that changed from the base of the PR and between 81dbef9 and ef60461.

📒 Files selected for processing (1)
  • pyproject.toml

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.2.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>
@dependabot dependabot Bot force-pushed the dependabot/pip/main/pytest-approx-eq-9.0.3 branch from ef60461 to 33bba08 Compare April 14, 2026 20:34
@mergify

mergify Bot commented May 15, 2026

Copy link
Copy Markdown

This pull request has merge conflicts that must be resolved before it can be
merged. Please rebase the PR, @dependabot[bot].

https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork

@mergify mergify Bot added the needs-rebase label May 15, 2026
Signed-off-by: Fynn Schmitt-Ulms <fschmitt@redhat.com>
@mergify mergify Bot removed the quality-failed label May 21, 2026
Signed-off-by: Fynn Schmitt-Ulms <fschmitt@redhat.com>
@mergify mergify Bot removed the needs-rebase label May 21, 2026
@fynnsu

fynnsu commented May 21, 2026

Copy link
Copy Markdown
Collaborator

@fynnsu fynnsu merged commit 8e023e0 into main May 21, 2026
15 of 16 checks passed
@fynnsu fynnsu deleted the dependabot/pip/main/pytest-approx-eq-9.0.3 branch May 21, 2026 18:00
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.

2 participants