Updated pytest to 9.1.1 for python >=3.10 - #35
Open
pkthong wants to merge 1 commit into
Open
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
There was a problem hiding this comment.
🟡 Changes recommended
The Python <3.10 pytest constraint remains broad enough to permit resolving to the vulnerable version mentioned in the PR description on a future lock refresh.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Updates the project’s test dependency constraints to use newer pytest on Python ≥3.10 while maintaining compatibility for Python 3.9, and refreshes the Poetry lockfile accordingly.
Changes:
- Split
pytestdependency constraints by Python version (3.9 vs ≥3.10). - Regenerated
poetry.lockto include pytest 9.1.1 for ≥3.10 and updated related resolved dependencies/markers.
File summaries
| File | Description |
|---|---|
| pyproject.toml | Splits pytest constraints by Python version to allow newer pytest on ≥3.10. |
| poetry.lock | Refreshes locked dependency graph to reflect the updated pytest constraints and related marker changes. |
Review details
- Files reviewed: 1/2 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+62
to
+65
| pytest = [ | ||
| { version = ">=7.2", python = "<3.10" }, | ||
| { version = ">=9.1.1", python = ">=3.10" }, | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this Pull Request accomplish?
pytest 8.3.0 has a security vulnerability. Upgrading to 9.1.1 where possible. Security exceptions still exist until we can drop python 3.9.