From 07173196912264ba1d879618d4ac264001fcdd0d Mon Sep 17 00:00:00 2001 From: Lee moon soo Date: Sun, 7 Mar 2021 09:28:18 -0800 Subject: [PATCH] install specific npm version for legacy option --- .staroid/ray_patch.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.staroid/ray_patch.sh b/.staroid/ray_patch.sh index 100ab34..68f886f 100755 --- a/.staroid/ray_patch.sh +++ b/.staroid/ray_patch.sh @@ -63,6 +63,9 @@ if [ "$OP" == "patch" ]; then $SED_INPLACE "/tensorflow/d" ${RAY_HOME}/python/requirements_rllib.txt $SED_INPLACE "/tensorflow/d" ${RAY_HOME}/python/requirements_tune.txt + # install specific pip version that support --use-deprecated=legacy-resolver option. https://github.com/ray-project/ray/issues/12610 + $SED_INPLACE "s/libgcc/libgcc pip=20.3/g" ${RAY_HOME}/docker/base-deps/Dockerfile + elif [ "$OP" == "reset" ]; then git checkout ${RAY_HOME}/docker/ray/Dockerfile git checkout ${RAY_HOME}/docker/ray-deps/Dockerfile