Skip to content
Open
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 samples/compute/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pytest==7.4.4; python_version == '3.7'
pytest==8.2.2; python_version >= '3.8'
pytest==9.0.3; python_version == '3.7'
pytest==9.0.3; python_version >= '3.8'
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

Pytest 9.0.3 cannot be installed on Python 3.7, 3.8, or 3.9 because support for these Python versions has been dropped in newer releases of pytest:

  • Pytest 8.0 dropped support for Python 3.7.
  • Pytest 8.4 dropped support for Python 3.8.
  • Pytest 9.0 dropped support for Python 3.9.

Specifying pytest==9.0.3 for Python 3.7 and >= 3.8 will cause installation failures in environments running those Python versions. We should pin the maximum compatible pytest version for each Python version.

pytest==7.4.4; python_version == '3.7'
pytest==8.3.5; python_version == '3.8'
pytest==8.4.2; python_version == '3.9'
pytest==9.0.3; python_version >= '3.10'

flaky==3.8.1

Loading