mirror of
https://github.com/wassname/ray.git
synced 2026-07-19 11:27:32 +08:00
Pin pytest version (#9767)
This commit is contained in:
@@ -19,7 +19,7 @@ Pillow
|
||||
prometheus_client
|
||||
py-spy
|
||||
pygments
|
||||
pytest
|
||||
pytest==5.4.3
|
||||
pytest-asyncio
|
||||
pytest-rerunfailures
|
||||
pytest-sugar
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user