Unverified Commit 5a360d54 authored by Kirthi Shankar Sivamani's avatar Kirthi Shankar Sivamani Committed by GitHub
Browse files

Upgrade pytest version (#891)


Signed-off-by: default avatarKirthi Shankar Sivamani <ksivamani@nvidia.com>
parent d75db5f7
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
set -xe set -xe
pip install pytest==7.2 pip install pytest==8.2.1
: ${TE_PATH:=/opt/transformerengine} : ${TE_PATH:=/opt/transformerengine}
pytest -c $TE_PATH/tests/jax/pytest.ini -v $TE_PATH/tests/jax -k 'not distributed' pytest -c $TE_PATH/tests/jax/pytest.ini -v $TE_PATH/tests/jax -k 'not distributed'
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
set -xe set -xe
pip install pytest==7.2 pip install pytest==8.2.1
: ${TE_PATH:=/opt/transformerengine} : ${TE_PATH:=/opt/transformerengine}
pytest -Wignore -v $TE_PATH/tests/paddle pytest -Wignore -v $TE_PATH/tests/paddle
pytest -Wignore -v $TE_PATH/examples/paddle/mnist pytest -Wignore -v $TE_PATH/examples/paddle/mnist
...@@ -6,7 +6,7 @@ set -e ...@@ -6,7 +6,7 @@ set -e
: ${TE_PATH:=/opt/transformerengine} : ${TE_PATH:=/opt/transformerengine}
pip install pytest==7.2 onnxruntime==1.13.1 pip install pytest==8.2.1 onnxruntime==1.13.1
pytest -v -s $TE_PATH/tests/pytorch/test_sanity.py pytest -v -s $TE_PATH/tests/pytorch/test_sanity.py
pytest -v -s $TE_PATH/tests/pytorch/test_recipe.py pytest -v -s $TE_PATH/tests/pytorch/test_recipe.py
pytest -v -s $TE_PATH/tests/pytorch/test_deferred_init.py pytest -v -s $TE_PATH/tests/pytorch/test_deferred_init.py
......
...@@ -72,7 +72,7 @@ def setup_requirements() -> Tuple[List[str], List[str], List[str]]: ...@@ -72,7 +72,7 @@ def setup_requirements() -> Tuple[List[str], List[str], List[str]]:
"importlib-metadata>=1.0; python_version<'3.8'", "importlib-metadata>=1.0; python_version<'3.8'",
"packaging", "packaging",
] ]
test_reqs: List[str] = ["pytest"] test_reqs: List[str] = ["pytest>=8.2.1"]
# Requirements that may be installed outside of Python # Requirements that may be installed outside of Python
if not found_cmake(): if not found_cmake():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment