-
Notifications
You must be signed in to change notification settings - Fork 3
chore(deps): update dependency pytest to v9 #2751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -128,7 +128,7 @@ dev = [ | |
| "moto>=5.0.0,<6", | ||
| "nplusone>=1.0.0,<2", | ||
| "pdbpp>=0.11.6,<0.12", | ||
| "pytest>=8.0.0,<9", | ||
| "pytest>=9.0.2,<10", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: The Suggested FixRegenerate the Prompt for AI Agent |
||
| "pytest-cov>=7.0.0,<8", | ||
| "pytest-django>=4.5.2,<5", | ||
| "pytest-env>=1.0.0,<2", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: The
pytestupgrade to 9.0.2 is incompatible with the pinnedpytest-freezegunversion (0.4.2), which is unmaintained. This will cause tests usingfreezegunto fail at runtime.Severity: CRITICAL
Suggested Fix
Replace the unmaintained
pytest-freezegundependency with its actively maintained fork,pytest-freezer. This requires updatingpyproject.tomlto removepytest-freezegunand addpytest-freezer. Alternatively, revert thepytestupgrade until the project can be migrated.Prompt for AI Agent