This is an automated email from the ASF dual-hosted git repository.
junrushao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 9697bfd Add synr==0.3.0 dependency for Docker images and Python
dependency. (#8801)
9697bfd is described below
commit 9697bfd6847a78145ffe66640a96bc157ef365b5
Author: Leandro Nunes <[email protected]>
AuthorDate: Fri Aug 20 02:32:25 2021 +0100
Add synr==0.3.0 dependency for Docker images and Python dependency. (#8801)
- PR #8776 removed `synr` as a dependency to be installed in the Docker
images, making the images to need manual intervention so that we could
run tests.
- Thir PR reverts synr (with current constraint as observed in
tests/scripts/task_ci_setup.sh) to be part of the Docker image.
---
docker/install/ubuntu_install_python_package.sh | 1 +
python/gen_requirements.py | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/docker/install/ubuntu_install_python_package.sh
b/docker/install/ubuntu_install_python_package.sh
index d1bec09..88d6840 100755
--- a/docker/install/ubuntu_install_python_package.sh
+++ b/docker/install/ubuntu_install_python_package.sh
@@ -36,5 +36,6 @@ pip3 install \
pytest-xdist \
requests \
scipy \
+ synr==0.3.0 \
six \
tornado
diff --git a/python/gen_requirements.py b/python/gen_requirements.py
index dac4351..781db2c 100755
--- a/python/gen_requirements.py
+++ b/python/gen_requirements.py
@@ -231,7 +231,7 @@ CONSTRAINTS = [
("sphinx_autodoc_annotation", None),
("sphinx_gallery", None),
("sphinx_rtd_theme", None),
- ("synr", ">=0.2.1"), # Requires bugfix commit
ee0b12a61c08f01604475f36ff37d4cb110bdc27
+ ("synr", "==0.3.0"),
("tensorflow", None),
("tensorflow-estimator", None),
("tflite", None),