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

commit b7770381e085439043a68e333115d10c18d38197
Author: Andrew Reusch <[email protected]>
AuthorDate: Tue May 17 17:04:27 2022 -0700

    try to fix image mangling
---
 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 91974c3c7c..d2cd295c85 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}" | sed 's/-/--/g' | sed 's/%/-/g' | tr 
'A-Z' 'a-z')
+BUILD_TAG=$(echo "${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