You need to sign in or sign up before continuing.
Unverified Commit 2746aac3 authored by Hongzhi (Steve), Chen's avatar Hongzhi (Steve), Chen Committed by GitHub
Browse files

[Misc] Use old pydantic yaml version for CI. (#6009)


Co-authored-by: default avatarUbuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
parent a52be5c6
...@@ -35,7 +35,7 @@ export OMP_NUM_THREADS=1 ...@@ -35,7 +35,7 @@ export OMP_NUM_THREADS=1
export DMLC_LOG_DEBUG=1 export DMLC_LOG_DEBUG=1
# Install required dependencies # Install required dependencies
python3 -m pip install pydantic-yaml python3 -m pip install pydantic-yaml==0.11.2
python3 -m pytest -v --capture=tee-sys --junitxml=pytest_distributed.xml --durations=100 tests/distributed/*.py || fail "distributed" python3 -m pytest -v --capture=tee-sys --junitxml=pytest_distributed.xml --durations=100 tests/distributed/*.py || fail "distributed"
......
...@@ -14,7 +14,7 @@ SET DGLBACKEND=!BACKEND! ...@@ -14,7 +14,7 @@ SET DGLBACKEND=!BACKEND!
SET DGL_LIBRARY_PATH=!CD!\build SET DGL_LIBRARY_PATH=!CD!\build
SET DGL_DOWNLOAD_DIR=!CD! SET DGL_DOWNLOAD_DIR=!CD!
python -m pip install pytest psutil pandas pyyaml pydantic pydantic-yaml rdflib torchmetrics || EXIT /B 1 python -m pip install pytest psutil pandas pyyaml pydantic pydantic-yaml==0.11.2 rdflib torchmetrics || EXIT /B 1
python -m pytest -v --junitxml=pytest_backend.xml --durations=100 tests\python\!DGLBACKEND! || EXIT /B 1 python -m pytest -v --junitxml=pytest_backend.xml --durations=100 tests\python\!DGLBACKEND! || EXIT /B 1
python -m pytest -v --junitxml=pytest_common.xml --durations=100 tests\python\common || EXIT /B 1 python -m pytest -v --junitxml=pytest_common.xml --durations=100 tests\python\common || EXIT /B 1
ENDLOCAL ENDLOCAL
......
...@@ -34,7 +34,7 @@ fi ...@@ -34,7 +34,7 @@ fi
conda activate ${DGLBACKEND}-ci conda activate ${DGLBACKEND}-ci
# Install required dependencies # Install required dependencies
python3 -m pip install pydantic-yaml python3 -m pip install pydantic-yaml==0.11.2
if [ $DGLBACKEND == "mxnet" ] if [ $DGLBACKEND == "mxnet" ]
then then
......
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