This is an automated email from the ASF dual-hosted git repository.

areusch pushed a commit to branch areusch/freeze-dependencies
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/areusch/freeze-dependencies by 
this push:
     new 8155300f8f fix freeze-deps computation of docker image name
8155300f8f is described below

commit 8155300f8f7a63496f1bb688f571060952fd6115
Author: Andrew Reusch <[email protected]>
AuthorDate: Wed May 18 11:51:51 2022 -0700

    fix freeze-deps computation of docker image name
---
 docker/python/freeze-dependencies.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker/python/freeze-dependencies.sh 
b/docker/python/freeze-dependencies.sh
index d2cd295c85..6e9cde2665 100755
--- a/docker/python/freeze-dependencies.sh
+++ b/docker/python/freeze-dependencies.sh
@@ -6,7 +6,7 @@ set -eux
 cd "$(dirname "$0")/../.."
 
 # NOTE: working dir inside docker is repo root.
-BUILD_TAG=$(echo "${BUILD_TAG:-tvm}" | python3 -c 'import sys; import 
urllib.parse; print(urllib.parse.quote(sys.stdin.read(), safe=\"\").lower())' | 
tr % -)
+BUILD_TAG=$(echo -n "${BUILD_TAG:-tvm}" | python3 -c 'import sys; import 
urllib.parse; print(urllib.parse.quote(sys.stdin.read(), safe="").lower())' | 
tr % -)
 docker/bash.sh -i "${BUILD_TAG}.ci_py_deps:latest" python3 
docker/python/freeze_deps.py \
                --ci-constraints=docker/python/ci-constraints.txt \
                --gen-requirements-py=python/gen_requirements.py \

Reply via email to