Pin pytest version (#9767)

This commit is contained in:
Simon Mo
2020-07-28 19:54:48 -07:00
committed by GitHub
parent fb5280f21b
commit 9fbfee2424
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ Pillow
prometheus_client
py-spy
pygments
pytest
pytest==5.4.3
pytest-asyncio
pytest-rerunfailures
pytest-sugar
+1 -1
View File
@@ -11,7 +11,7 @@ asan_install() {
asan_setup() {
echo "Setting up the environment"
pip install -r ray-project/requirements.txt
pip install -U pytest
pip install -U pytest==5.4.3
echo "Installing cython example"
(cd "${ROOT_DIR}"/../doc/examples/cython && python setup.py install --user)
+1 -1
View File
@@ -237,7 +237,7 @@ install_dependencies() {
esac
pip_packages+=(scipy tensorflow=="${tf_version}" cython==0.29.0 gym \
opencv-python-headless pyyaml pandas==1.0.5 requests feather-format lxml openpyxl xlrd \
py-spy pytest pytest-timeout networkx tabulate aiohttp uvicorn dataclasses pygments werkzeug \
py-spy pytest==5.4.3 pytest-timeout networkx tabulate aiohttp uvicorn dataclasses pygments werkzeug \
kubernetes flask grpcio pytest-sugar pytest-rerunfailures pytest-asyncio scikit-learn==0.22.2 numba \
Pillow prometheus_client boto3 pettingzoo mypy)
if [ "${OSTYPE}" != msys ]; then
+2 -2
View File
@@ -71,7 +71,7 @@ if [[ "$platform" == "linux" ]]; then
"$PYTHON_EXE" -u -c "import ray; print(ray.__commit__)" | grep "$TRAVIS_COMMIT" || (echo "ray.__commit__ not set properly!" && exit 1)
# Install the dependencies to run the tests.
"$PIP_CMD" install -q aiohttp google grpcio pytest requests
"$PIP_CMD" install -q aiohttp google grpcio pytest==5.4.3 requests
# Run a simple test script to make sure that the wheel works.
for SCRIPT in "${TEST_SCRIPTS[@]}"; do
@@ -112,7 +112,7 @@ elif [[ "$platform" == "macosx" ]]; then
"$PIP_CMD" install -q "$PYTHON_WHEEL"
# Install the dependencies to run the tests.
"$PIP_CMD" install -q aiohttp google grpcio pytest requests
"$PIP_CMD" install -q aiohttp google grpcio pytest==5.4.3 requests
# Run a simple test script to make sure that the wheel works.
for SCRIPT in "${TEST_SCRIPTS[@]}"; do