Update pytest requirement from ~=8.2.2 to ~=9.0.3#421
Conversation
WalkthroughThe Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
|
The quality checks have failed. Please run |
e364f88 to
ef60461
Compare
There was a problem hiding this comment.
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 | 🔴 CriticalUpgrade pytest-asyncio to >=1.3.0 for pytest 9 compatibility.
The current pinned version
pytest-asyncio~=0.23.8is 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.3or 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
📒 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>
ef60461 to
33bba08
Compare
|
This pull request has merge conflicts that must be resolved before it can be |
Updates the requirements on pytest to permit the latest version.
Release notes
Sourced from pytest's releases.
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)