Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
python: ['3.14']
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Setup Python
uses: actions/setup-python@v6
with:
Expand All @@ -32,7 +32,7 @@ jobs:
python: ['3.14']
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Setup Python
uses: actions/setup-python@v6
with:
Expand Down
3 changes: 2 additions & 1 deletion samples/snippets/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pytest==8.4.2
pytest===8.3.5; python_version < '3.10'
pytest==9.0.2
Comment on lines +1 to +2
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

critical

This change introduces non-existent versions for pytest, which will cause the build to fail. Neither 8.3.5 nor 8.4.2 (the version being replaced) are valid pytest versions on PyPI. The === operator is also unusual; == should be used for version pinning.

pytest 9.0 dropped support for Python 3.8. The latest version supporting Python 3.8 is 8.2.2. The version constraint should target Python versions less than 3.9 to correctly handle this.

I suggest the following correction to use valid versions and appropriate environment markers:

pytest==8.2.2; python_version < '3.9'
pytest==9.0.2

Loading