Skip to content

Commit

Permalink
Pin to PyTest 8.0.0 (microsoft#5163)
Browse files Browse the repository at this point in the history
Fix failures in nv-accelerate-v100 unit tests.

Fix running on this PR:
https://github.com/microsoft/DeepSpeed/actions/runs/7923894998/job/21634533848
Original failure
[here](https://github.com/microsoft/DeepSpeed/actions/runs/7961285826/job/21748664124?pr=5129#step:7:415):
```
    from _pytest.doctest import (
E   ImportError: cannot import name 'import_path' from '_pytest.doctest' (/tmp/actions-runner/_work/DeepSpeed/DeepSpeed/unit-test-venv/lib/python3.8/site-packages/_pytest/doctest.py)
```
  • Loading branch information
loadams authored and rraminen committed May 9, 2024
1 parent 5962f32 commit 0455492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ future
importlib-metadata>=4
mup
pre-commit>=2.20.0
pytest
pytest<=8.0.0
pytest-forked
pytest-randomly
pytest-xdist
Expand Down

0 comments on commit 0455492

Please sign in to comment.