Move pytest pinning from individual tests to requirements-dev.txt until fixed. (#7327)

pytest 8.4.0 seems to break a number of our tests, rather than pinning
in each individually, we should just put this in the requirements file
until we resolve the issue.

---------

Co-authored-by: Olatunji Ruwase <tjruwase@gmail.com>
This commit is contained in:
Logan Adams
2025-06-09 15:42:55 -07:00
committed by GitHub
parent 4d0c159630
commit 2ce5505799
4 changed files with 1 additions and 4 deletions

View File

@ -48,7 +48,6 @@ jobs:
- name: Install deepspeed
run: |
pip install pytest==8.3.5
pip install .[dev,autotuning]
ds_report

View File

@ -70,7 +70,6 @@ jobs:
- name: Install deepspeed
run: |
pip install .[dev,autotuning]
pip install pytest==8.3.5 # pin pytest to avoid issues with pytest 8.4.0
ds_report
- name: Python environment

View File

@ -121,7 +121,6 @@ jobs:
- name: Install deepspeed
run: |
pip install .[dev,autotuning]
pip install pytest==8.3.5 # pin pytest to avoid issues with pytest 8.4.0
ds_report
- name: Python environment

View File

@ -7,7 +7,7 @@ future
importlib-metadata>=4
mup
pre-commit>=3.2.0
pytest>=7.2.0
pytest>=7.2.0,<8.4.0
pytest-forked
pytest-randomly
pytest-xdist