Skip to content

Updated pytest to 9.1.1 for python >=3.10 - #35

Open
pkthong wants to merge 1 commit into
mainfrom
update_pytest
Open

Updated pytest to 9.1.1 for python >=3.10#35
pkthong wants to merge 1 commit into
mainfrom
update_pytest

Conversation

@pkthong

@pkthong pkthong commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

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.

@ni-github-admins

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 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 pytest dependency constraints by Python version (3.9 vs ≥3.10).
  • Regenerated poetry.lock to 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 thread pyproject.toml
Comment on lines +62 to +65
pytest = [
{ version = ">=7.2", python = "<3.10" },
{ version = ">=9.1.1", python = ">=3.10" },
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants