You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ar...@apache.org on 2022/05/18 00:04:40 UTC
[tvm] branch areusch/freeze-dependencies updated: try to fix image mangling
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 4b592a8b6f try to fix image mangling
4b592a8b6f is described below
commit 4b592a8b6fb8730c5379d2b2ee9506bbfcf9cbe0
Author: Andrew Reusch <ar...@gmail.com>
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 \