From 0da455aad47c94c95565db4abee358fcd0464c28 Mon Sep 17 00:00:00 2001 From: Alexis Duburcq Date: Sat, 4 Sep 2021 15:33:43 +0200 Subject: [PATCH] [misc] Fix CI dependency install. --- .github/workflows/manylinux.yml | 2 +- .github/workflows/ubuntu.yml | 2 +- .github/workflows/win.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/manylinux.yml b/.github/workflows/manylinux.yml index 62756c1a87..4ceab5afdb 100644 --- a/.github/workflows/manylinux.yml +++ b/.github/workflows/manylinux.yml @@ -66,7 +66,7 @@ jobs: - name: Build project dependencies run: | ./build_tools/build_install_deps_linux.sh - "${PYTHON_EXECUTABLE}" -m pip install "gym>=0.18.3" "stable_baselines3>=0.10" "importlib-metadata>=3.3.0" + "${PYTHON_EXECUTABLE}" -m pip install --prefer-binary "gym>=0.18.3" "stable_baselines3>=0.10" "importlib-metadata>=3.3.0" ##################################################################################### diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 0b181d2def..da7abaade3 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -52,7 +52,7 @@ jobs: "${PYTHON_EXECUTABLE}" -m pip install --upgrade numpy "${PYTHON_EXECUTABLE}" -m pip install tensorflow "${PYTHON_EXECUTABLE}" -m pip install "torch==1.8.0+cpu" -f https://download.pytorch.org/whl/torch_stable.html - "${PYTHON_EXECUTABLE}" -m pip install "gym>=0.18.3" "stable_baselines3>=0.10" "importlib-metadata>=3.3.0" + "${PYTHON_EXECUTABLE}" -m pip install --prefer-binary "gym>=0.18.3" "stable_baselines3>=0.10" "importlib-metadata>=3.3.0" "${PYTHON_EXECUTABLE}" -m pip install "ray[default,rllib]<=1.4.0" # Type checking is not working with 1.4.1 ##################################################################################### diff --git a/.github/workflows/win.yml b/.github/workflows/win.yml index 4e8f73e83d..3ed4e40bb9 100644 --- a/.github/workflows/win.yml +++ b/.github/workflows/win.yml @@ -50,7 +50,7 @@ jobs: - name: Build project dependencies run: | python -m pip install "torch==1.8.0+cpu" -f https://download.pytorch.org/whl/torch_stable.html - python -m pip install "gym>=0.18.3" "stable_baselines3>=0.10" "importlib-metadata>=3.3.0" + python -m pip install --prefer-binary "gym>=0.18.3" "stable_baselines3>=0.10" "importlib-metadata>=3.3.0" & "./build_tools/build_install_deps_windows.ps1" #####################################################################################