From c22797722e114343f4e24188a39516af671858dd Mon Sep 17 00:00:00 2001 From: Tanja Bayer Date: Mon, 21 Dec 2020 11:50:49 +0100 Subject: [PATCH 1/2] consitent usage of python-version --- build-docker.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build-docker.sh b/build-docker.sh index 6989ad9c03ce..b654b307a931 100755 --- a/build-docker.sh +++ b/build-docker.sh @@ -8,7 +8,7 @@ set -x GPU="" BASE_IMAGE="ubuntu:focal" WHEEL_URL="https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.2.0.dev0-cp37-cp37m-manylinux2014_x86_64.whl" -PYTHON_VERSION="" +PYTHON_VERSION="3.7.7" while [[ $# -gt 0 ]] do @@ -41,6 +41,7 @@ case $key in --python-version) # Python version to install. e.g. 3.7.7. # Changing python versions may require a different wheel. + # If not provided defaults to 3.7.7 shift PYTHON_VERSION=$1 ;; @@ -59,7 +60,7 @@ for IMAGE in "base-deps" "ray-deps" "ray" do cp "$WHEEL" "docker/$IMAGE/$(basename "$WHEEL")" if [ $OUTPUT_SHA ]; then - IMAGE_SHA=$(docker build $NO_CACHE --build-arg GPU="$GPU" --build-arg BASE_IMAGE="$BASE_IMAGE" --build-arg WHEEL_PATH="$(basename "$WHEEL")" -q -t rayproject/$IMAGE:nightly$GPU docker/$IMAGE) + IMAGE_SHA=$(docker build $NO_CACHE --build-arg GPU="$GPU" --build-arg BASE_IMAGE="$BASE_IMAGE" --build-arg WHEEL_PATH="$(basename "$WHEEL")" --build-arg PYTHON_VERSION="$PYTHON_VERSION" -q -t rayproject/$IMAGE:nightly$GPU docker/$IMAGE) echo "rayproject/$IMAGE:nightly$GPU SHA:$IMAGE_SHA" else docker build $NO_CACHE --build-arg GPU="$GPU" --build-arg BASE_IMAGE="$BASE_IMAGE" --build-arg WHEEL_PATH="$(basename "$WHEEL")" --build-arg PYTHON_VERSION="$PYTHON_VERSION" -t rayproject/$IMAGE:nightly$GPU docker/$IMAGE From b17468fbf886487ca6c2a0fe44b3132de7a5cfa3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 12 Aug 2021 11:02:22 +0000 Subject: [PATCH 2/2] [RLlib](deps): Bump onnx in /python/requirements/rllib Bumps [onnx](https://github.com/onnx/onnx) from 1.9.0 to 1.10.1. - [Release notes](https://github.com/onnx/onnx/releases) - [Changelog](https://github.com/onnx/onnx/blob/master/docs/Changelog.md) - [Commits](https://github.com/onnx/onnx/compare/v1.9.0...v1.10.1) --- updated-dependencies: - dependency-name: onnx dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- python/requirements/rllib/requirements_rllib.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/requirements/rllib/requirements_rllib.txt b/python/requirements/rllib/requirements_rllib.txt index 5c21e9ea6084..d5c45b561fba 100644 --- a/python/requirements/rllib/requirements_rllib.txt +++ b/python/requirements/rllib/requirements_rllib.txt @@ -41,6 +41,6 @@ smart_open==5.0.0 # Ray Serve example starlette==0.14.2 # ONNX -onnx==1.9.0 +onnx==1.10.1 onnxruntime==1.8.0 tf2onnx==1.8.5