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/07/01 18:02:51 UTC

[tvm] 01/01: fixup! unify python installation script

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 a944d4970e2e66d42e6cf2a67536596bb8b9548e
Author: Andrew Reusch <ar...@gmail.com>
AuthorDate: Fri Jul 1 10:55:15 2022 -0700

    fixup! unify python installation script
---
 docker/Dockerfile.ci_lint               | 2 +-
 docker/install/ubuntu_install_python.sh | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/docker/Dockerfile.ci_lint b/docker/Dockerfile.ci_lint
index c5d32f48a1..1c865fcd1f 100644
--- a/docker/Dockerfile.ci_lint
+++ b/docker/Dockerfile.ci_lint
@@ -22,7 +22,7 @@ FROM ubuntu:18.04
 
 COPY utils/apt-install-and-clear.sh /usr/local/bin/apt-install-and-clear
 
-RUN apt-get update --fix-missing && apt-install-and-clear -y wget git sudo make parallel
+RUN apt-get update --fix-missing && apt-install-and-clear -y wget git lsb-core make parallel sudo
 
 ENV TVM_VENV /venv/apache-tvm-py3.7
 COPY python/bootstrap/lockfiles /install/python/bootstrap/lockfiles
diff --git a/docker/install/ubuntu_install_python.sh b/docker/install/ubuntu_install_python.sh
index f617e5872d..4d8465a6ed 100755
--- a/docker/install/ubuntu_install_python.sh
+++ b/docker/install/ubuntu_install_python.sh
@@ -54,5 +54,4 @@ pip3 config set global.no-cache-dir false
 # Now install the remaining base packages.
 pip3 install \
      --require-hashes \
-     -r /install/python/bootstrap/lockfiles/requirements-${PYTHON_VERSION}.txt \
-     -c /install/python/bootstrap/lockfiles/constraints-${PYTHON_VERSION}.txt
+     -r /install/python/bootstrap/lockfiles/constraints-${PYTHON_VERSION}.txt