From 14e5750c7a203f55941ef833df87e47837dcecf8 Mon Sep 17 00:00:00 2001 From: Gavin Uberti Date: Fri, 27 May 2022 14:06:49 -0400 Subject: [PATCH] Address code review comments Include full git hashes --- apps/microtvm/pyproject.toml | 2 +- docker/install/ubuntu_install_sphinx.sh | 2 +- tests/scripts/ci.py | 3 ++- tests/scripts/task_python_docs.sh | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/apps/microtvm/pyproject.toml b/apps/microtvm/pyproject.toml index 59fdefc40ab3..597632859229 100644 --- a/apps/microtvm/pyproject.toml +++ b/apps/microtvm/pyproject.toml @@ -129,7 +129,7 @@ importer-tflite = ["tflite", "tensorflow", "tensorflow-estimator"] autodocsumm = "^0.1" black = "^19.10b0" sphinx = "^3.0" -sphinx-gallery = { git = "https://github.com/sphinx-gallery/sphinx-gallery.git", branch = "master" } +sphinx-gallery = { git = "https://github.com/sphinx-gallery/sphinx-gallery.git", rev = "6142f179" } sphinx-rtd-theme = "^0.4" matplotlib = "^3.2" Image = "^1.5" diff --git a/docker/install/ubuntu_install_sphinx.sh b/docker/install/ubuntu_install_sphinx.sh index 8092c3d1ea5a..96023fa6e633 100755 --- a/docker/install/ubuntu_install_sphinx.sh +++ b/docker/install/ubuntu_install_sphinx.sh @@ -29,5 +29,5 @@ pip3 install \ matplotlib \ sphinx==4.2.0 \ sphinx_autodoc_annotation \ - "git+https://github.com/sphinx-gallery/sphinx-gallery.git" \ + "git+https://github.com/sphinx-gallery/sphinx-gallery.git@6142f1791151849b5bec4bf3959f75697ba226cd" \ sphinx_rtd_theme diff --git a/tests/scripts/ci.py b/tests/scripts/ci.py index ed3bf401c8ad..52a9c6efbd22 100755 --- a/tests/scripts/ci.py +++ b/tests/scripts/ci.py @@ -260,7 +260,8 @@ def docs( "tlcpack-sphinx-addon==0.2.1", "synr==0.5.0", "image==1.5.33", - "git+https://github.com/sphinx-gallery/sphinx-gallery.git", + # Temporary git link until a release is published + "git+https://github.com/sphinx-gallery/sphinx-gallery.git@6142f1791151849b5bec4bf3959f75697ba226cd", "sphinx-rtd-theme==1.0.0", "matplotlib==3.3.4", "commonmark==0.9.1", diff --git a/tests/scripts/task_python_docs.sh b/tests/scripts/task_python_docs.sh index 72ef8a54c200..da1a2c9c5636 100755 --- a/tests/scripts/task_python_docs.sh +++ b/tests/scripts/task_python_docs.sh @@ -84,7 +84,8 @@ IGNORED_WARNINGS=( 'autotvm:Cannot find config for target=llvm -keys=cpu -link-params=0' 'autotvm:One or more operators have not been tuned. Please tune your model for better performance. Use DEBUG logging level to see more details.' 'autotvm:Cannot find config for target=cuda -keys=cuda,gpu' - 'absl:For model inputs containing unsupported operations' + # Warning is thrown during TFLite quantization for micro_train tutorial + 'absl:For model inputs containing unsupported operations which cannot be quantized, the `inference_input_type` attribute will default to the original type.' ) JOINED_WARNINGS=$(join_by '|' "${IGNORED_WARNINGS[@]}")