From f90f12398273ac00ccde20c31b96f4e1c75ab3e2 Mon Sep 17 00:00:00 2001 From: Maria Fernanda Magallanes Zubillaga Date: Fri, 5 Apr 2024 12:20:19 -0500 Subject: [PATCH 1/4] chore: update requirements --- docs/source/conf.py | 3 +- requirements/base.txt | 36 ++++++++-------- requirements/dev.txt | 84 +++++++++++++++++++------------------- requirements/doc.in | 2 +- requirements/doc.txt | 51 +++++++++++------------ requirements/pip-tools.txt | 25 ++++++------ requirements/pip.txt | 10 ++--- 7 files changed, 104 insertions(+), 107 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 40657ee..ac06216 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -9,13 +9,12 @@ project = 'TVM' copyright = '2022, eduNEXT' author = 'eduNEXT' -release = 'v2.1.1' # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration extensions = [ - "sphinxcontrib.yt", + "sphinxcontrib.youtube", "sphinxcontrib.images", "sphinx_panels", "sphinxcontrib.contentui", diff --git a/requirements/base.txt b/requirements/base.txt index ba879d0..cb0aeee 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -1,38 +1,38 @@ # -# This file is autogenerated by pip-compile with python 3.10 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.10 +# by the following command: # # make upgrade # -certifi==2022.9.24 +certifi==2024.2.2 # via requests -charset-normalizer==2.1.1 +charset-normalizer==3.3.2 # via requests -click==8.1.3 +click==8.1.7 # via -r requirements/base.in -distlib==0.3.6 +distlib==0.3.8 # via virtualenv -filelock==3.8.0 +filelock==3.13.3 # via virtualenv -gitdb==4.0.9 +gitdb==4.0.11 # via gitpython -gitpython==3.1.27 +gitpython==3.1.43 # via -r requirements/base.in -idna==3.4 +idna==3.6 # via requests -jinja2==3.1.2 +jinja2==3.1.3 # via -r requirements/base.in -markupsafe==2.1.1 +markupsafe==2.1.5 # via jinja2 -platformdirs==2.5.2 +platformdirs==4.2.0 # via virtualenv -pyyaml==6.0 +pyyaml==6.0.1 # via -r requirements/base.in -requests==2.28.1 +requests==2.31.0 # via -r requirements/base.in -smmap==5.0.0 +smmap==5.0.1 # via gitdb -urllib3==1.26.12 +urllib3==2.2.1 # via requests -virtualenv==20.16.5 +virtualenv==20.25.1 # via -r requirements/base.in diff --git a/requirements/dev.txt b/requirements/dev.txt index 86e1cea..77126d3 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -1,99 +1,95 @@ # -# This file is autogenerated by pip-compile with python 3.10 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.10 +# by the following command: # # make upgrade # astroid==2.11.7 # via pylint -attrs==22.1.0 - # via pytest -certifi==2022.9.24 +certifi==2024.2.2 # via # -r requirements/base.txt # requests -charset-normalizer==2.1.1 +charset-normalizer==3.3.2 # via # -r requirements/base.txt # requests -click==8.1.3 +click==8.1.7 # via -r requirements/base.txt -coverage==6.5.0 +coverage==7.4.4 # via -r requirements/dev.in -dill==0.3.5.1 +dill==0.3.8 # via pylint -distlib==0.3.6 +distlib==0.3.8 # via # -r requirements/base.txt # virtualenv -filelock==3.8.0 +exceptiongroup==1.2.0 + # via pytest +filelock==3.13.3 # via # -r requirements/base.txt # virtualenv -gitdb==4.0.9 +gitdb==4.0.11 # via # -r requirements/base.txt # gitpython -gitpython==3.1.27 +gitpython==3.1.43 # via -r requirements/base.txt -idna==3.4 +idna==3.6 # via # -r requirements/base.txt # requests -iniconfig==1.1.1 +iniconfig==2.0.0 # via pytest -isort==5.10.1 +isort==5.13.2 # via pylint -jedi==0.18.1 +jedi==0.19.1 # via pudb -jinja2==3.1.2 +jinja2==3.1.3 # via -r requirements/base.txt -lazy-object-proxy==1.7.1 +lazy-object-proxy==1.10.0 # via astroid -markupsafe==2.1.1 +markupsafe==2.1.5 # via # -r requirements/base.txt # jinja2 mccabe==0.7.0 # via pylint -packaging==21.3 +packaging==24.0 # via # pudb # pytest -parso==0.8.3 +parso==0.8.4 # via jedi -platformdirs==2.5.2 +platformdirs==4.2.0 # via # -r requirements/base.txt # pylint # virtualenv -pluggy==1.0.0 +pluggy==1.4.0 # via pytest -pudb==2022.1.2 +pudb==2024.1 # via -r requirements/dev.in -py==1.11.0 - # via pytest -pycodestyle==2.9.1 +pycodestyle==2.11.1 # via -r requirements/dev.in -pydocstyle==6.1.1 +pydocstyle==6.3.0 # via -r requirements/dev.in -pygments==2.13.0 +pygments==2.17.2 # via pudb pylint==2.14.5 # via # -c requirements/constraints.txt # -r requirements/dev.in -pyparsing==3.0.9 - # via packaging -pytest==7.1.3 +pytest==8.1.1 # via -r requirements/dev.in -pyyaml==6.0 +pyyaml==6.0.1 # via -r requirements/base.txt -requests==2.28.1 +requests==2.31.0 # via # -r requirements/base.txt # -r requirements/dev.in -smmap==5.0.0 +smmap==5.0.1 # via # -r requirements/base.txt # gitdb @@ -103,21 +99,25 @@ tomli==2.0.1 # via # pylint # pytest -tomlkit==0.11.5 +tomlkit==0.12.4 # via pylint -urllib3==1.26.12 +typing-extensions==4.11.0 + # via urwid +urllib3==2.2.1 # via # -r requirements/base.txt # requests -urwid==2.1.2 +urwid==2.6.10 # via # pudb # urwid-readline -urwid-readline==0.13 +urwid-readline==0.14 # via pudb -virtualenv==20.16.5 +virtualenv==20.25.1 # via -r requirements/base.txt -wrapt==1.14.1 +wcwidth==0.2.13 + # via urwid +wrapt==1.16.0 # via astroid # The following packages are considered to be unsafe in a requirements file: diff --git a/requirements/doc.in b/requirements/doc.in index dfb7571..35f7c4d 100644 --- a/requirements/doc.in +++ b/requirements/doc.in @@ -1,7 +1,7 @@ sphinx==4.2.0 sphinx-book-theme==0.3.3 +sphinxcontrib-youtube==1.2.0 recommonmark==0.6.0 -sphinxcontrib.yt==0.2.2 sphinxcontrib.images==0.9.4 sphinx_panels==0.6.0 sphinxcontrib.contentui==0.2.5 diff --git a/requirements/doc.txt b/requirements/doc.txt index 58db344..ea08380 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -1,18 +1,18 @@ # -# This file is autogenerated by pip-compile with python 3.10 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.10 +# by the following command: # # make upgrade # -alabaster==0.7.12 +alabaster==0.7.16 # via sphinx -babel==2.10.3 +babel==2.14.0 # via sphinx -beautifulsoup4==4.11.1 +beautifulsoup4==4.12.3 # via pydata-sphinx-theme -certifi==2022.9.24 +certifi==2024.2.2 # via requests -charset-normalizer==2.1.1 +charset-normalizer==3.3.2 # via requests commonmark==0.9.1 # via recommonmark @@ -22,37 +22,34 @@ docutils==0.17.1 # recommonmark # sphinx # sphinx-panels -idna==3.4 +idna==3.6 # via requests imagesize==1.4.1 # via sphinx -jinja2==3.1.2 +jinja2==3.1.3 # via sphinx -markupsafe==2.1.1 +markupsafe==2.1.5 # via jinja2 -packaging==21.3 +packaging==24.0 # via # pydata-sphinx-theme # sphinx pydata-sphinx-theme==0.8.1 # via sphinx-book-theme -pygments==2.13.0 +pygments==2.17.2 # via sphinx -pyparsing==3.0.9 - # via packaging -pytz==2022.4 - # via babel -pyyaml==6.0 +pyyaml==6.0.1 # via sphinx-book-theme recommonmark==0.6.0 # via -r requirements/doc.in -requests==2.28.1 +requests==2.31.0 # via # sphinx # sphinxcontrib-images + # sphinxcontrib-youtube snowballstemmer==2.2.0 # via sphinx -soupsieve==2.3.2.post1 +soupsieve==2.5 # via beautifulsoup4 sphinx==4.2.0 # via @@ -64,20 +61,20 @@ sphinx==4.2.0 # sphinx-panels # sphinxcontrib-contentui # sphinxcontrib-images - # sphinxcontrib-yt + # sphinxcontrib-youtube sphinx-book-theme==0.3.3 # via -r requirements/doc.in sphinx-copybutton==0.5.0 # via -r requirements/doc.in sphinx-panels==0.6.0 # via -r requirements/doc.in -sphinxcontrib-applehelp==1.0.2 +sphinxcontrib-applehelp==1.0.8 # via sphinx sphinxcontrib-contentui==0.2.5 # via -r requirements/doc.in -sphinxcontrib-devhelp==1.0.2 +sphinxcontrib-devhelp==1.0.6 # via sphinx -sphinxcontrib-htmlhelp==2.0.0 +sphinxcontrib-htmlhelp==2.0.5 # via sphinx sphinxcontrib-images==0.9.4 # via -r requirements/doc.in @@ -85,13 +82,13 @@ sphinxcontrib-jsmath==1.0.1 # via sphinx sphinxcontrib-mermaid==0.7.1 # via -r requirements/doc.in -sphinxcontrib-qthelp==1.0.3 +sphinxcontrib-qthelp==1.0.7 # via sphinx -sphinxcontrib-serializinghtml==1.1.5 +sphinxcontrib-serializinghtml==1.1.10 # via sphinx -sphinxcontrib-yt==0.2.2 +sphinxcontrib-youtube==1.2.0 # via -r requirements/doc.in -urllib3==1.26.12 +urllib3==2.2.1 # via requests # The following packages are considered to be unsafe in a requirements file: diff --git a/requirements/pip-tools.txt b/requirements/pip-tools.txt index e04b303..388d531 100644 --- a/requirements/pip-tools.txt +++ b/requirements/pip-tools.txt @@ -1,26 +1,27 @@ # -# This file is autogenerated by pip-compile with python 3.10 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.10 +# by the following command: # # make upgrade # -build==0.8.0 +build==1.2.1 # via pip-tools -click==8.1.3 +click==8.1.7 # via pip-tools -packaging==21.3 +packaging==24.0 # via build -pep517==0.13.0 - # via build -pip-tools==6.8.0 +pip-tools==7.4.1 # via -r requirements/pip-tools.in -pyparsing==3.0.9 - # via packaging +pyproject-hooks==1.0.0 + # via + # build + # pip-tools tomli==2.0.1 # via # build - # pep517 -wheel==0.37.1 + # pip-tools + # pyproject-hooks +wheel==0.43.0 # via pip-tools # The following packages are considered to be unsafe in a requirements file: diff --git a/requirements/pip.txt b/requirements/pip.txt index 5b3c8eb..9c6ea0d 100644 --- a/requirements/pip.txt +++ b/requirements/pip.txt @@ -1,14 +1,14 @@ # -# This file is autogenerated by pip-compile with python 3.10 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.10 +# by the following command: # # make upgrade # -wheel==0.37.1 +wheel==0.43.0 # via -r requirements/pip.in # The following packages are considered to be unsafe in a requirements file: -pip==22.2.2 +pip==24.0 # via -r requirements/pip.in -setuptools==65.4.1 +setuptools==69.2.0 # via -r requirements/pip.in From a8884bd60d90caf9724fbf33aa83124780bc83fe Mon Sep 17 00:00:00 2001 From: bra-i-am Date: Fri, 5 Apr 2024 10:18:31 -0500 Subject: [PATCH 2/4] fix: add build.os to RTD --- .readthedocs.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index b4355ca..dae90e1 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -2,8 +2,12 @@ # Read the Docs configuration file # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details -# Required +# Set the version of Python and other tools you might need version: 2 +build: + os: ubuntu-22.04 + tools: + python: "3.11" # Build documentation in the docs/ directory with Sphinx sphinx: @@ -11,6 +15,5 @@ sphinx: fail_on_warning: true python: - version: 3.8 install: - requirements: requirements/doc.txt From 7f8f300343b46afd1e0cc925d2e60726b47c109d Mon Sep 17 00:00:00 2001 From: Maria Fernanda Magallanes Zubillaga Date: Fri, 5 Apr 2024 12:27:34 -0500 Subject: [PATCH 3/4] fix: requirements without constraints --- requirements/doc.in | 18 +++++++++--------- requirements/doc.txt | 36 ++++++++++++++++++++---------------- 2 files changed, 29 insertions(+), 25 deletions(-) diff --git a/requirements/doc.in b/requirements/doc.in index 35f7c4d..0620d66 100644 --- a/requirements/doc.in +++ b/requirements/doc.in @@ -1,9 +1,9 @@ -sphinx==4.2.0 -sphinx-book-theme==0.3.3 -sphinxcontrib-youtube==1.2.0 -recommonmark==0.6.0 -sphinxcontrib.images==0.9.4 -sphinx_panels==0.6.0 -sphinxcontrib.contentui==0.2.5 -sphinx_copybutton==0.5.0 -sphinxcontrib.mermaid==0.7.1 +sphinx +sphinx-book-theme +sphinxcontrib-youtube +recommonmark +sphinxcontrib.images +sphinx_panels +sphinxcontrib.contentui +sphinx_copybutton +sphinxcontrib.mermaid diff --git a/requirements/doc.txt b/requirements/doc.txt index ea08380..c8ed9ca 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -4,10 +4,14 @@ # # make upgrade # +accessible-pygments==0.0.4 + # via pydata-sphinx-theme alabaster==0.7.16 # via sphinx babel==2.14.0 - # via sphinx + # via + # pydata-sphinx-theme + # sphinx beautifulsoup4==4.12.3 # via pydata-sphinx-theme certifi==2024.2.2 @@ -16,7 +20,7 @@ charset-normalizer==3.3.2 # via requests commonmark==0.9.1 # via recommonmark -docutils==0.17.1 +docutils==0.20.1 # via # pydata-sphinx-theme # recommonmark @@ -34,13 +38,14 @@ packaging==24.0 # via # pydata-sphinx-theme # sphinx -pydata-sphinx-theme==0.8.1 +pydata-sphinx-theme==0.15.2 # via sphinx-book-theme pygments==2.17.2 - # via sphinx -pyyaml==6.0.1 - # via sphinx-book-theme -recommonmark==0.6.0 + # via + # accessible-pygments + # pydata-sphinx-theme + # sphinx +recommonmark==0.7.1 # via -r requirements/doc.in requests==2.31.0 # via @@ -51,7 +56,7 @@ snowballstemmer==2.2.0 # via sphinx soupsieve==2.5 # via beautifulsoup4 -sphinx==4.2.0 +sphinx==7.2.6 # via # -r requirements/doc.in # pydata-sphinx-theme @@ -62,11 +67,11 @@ sphinx==4.2.0 # sphinxcontrib-contentui # sphinxcontrib-images # sphinxcontrib-youtube -sphinx-book-theme==0.3.3 +sphinx-book-theme==1.1.2 # via -r requirements/doc.in -sphinx-copybutton==0.5.0 +sphinx-copybutton==0.5.2 # via -r requirements/doc.in -sphinx-panels==0.6.0 +sphinx-panels==0.4.1 # via -r requirements/doc.in sphinxcontrib-applehelp==1.0.8 # via sphinx @@ -80,16 +85,15 @@ sphinxcontrib-images==0.9.4 # via -r requirements/doc.in sphinxcontrib-jsmath==1.0.1 # via sphinx -sphinxcontrib-mermaid==0.7.1 +sphinxcontrib-mermaid==0.9.2 # via -r requirements/doc.in sphinxcontrib-qthelp==1.0.7 # via sphinx sphinxcontrib-serializinghtml==1.1.10 # via sphinx -sphinxcontrib-youtube==1.2.0 +sphinxcontrib-youtube==1.4.1 # via -r requirements/doc.in +typing-extensions==4.11.0 + # via pydata-sphinx-theme urllib3==2.2.1 # via requests - -# The following packages are considered to be unsafe in a requirements file: -# setuptools From d96f6109bcfac3b9bf9c99e875dad43b83ccbe0e Mon Sep 17 00:00:00 2001 From: Maria Fernanda Magallanes Zubillaga Date: Fri, 5 Apr 2024 12:38:16 -0500 Subject: [PATCH 4/4] fix: trying the donato fix --- requirements/doc.in | 17 ++++++++--------- requirements/doc.txt | 40 +++++++++++++++++----------------------- 2 files changed, 25 insertions(+), 32 deletions(-) diff --git a/requirements/doc.in b/requirements/doc.in index 0620d66..8975f64 100644 --- a/requirements/doc.in +++ b/requirements/doc.in @@ -1,9 +1,8 @@ -sphinx -sphinx-book-theme -sphinxcontrib-youtube -recommonmark -sphinxcontrib.images -sphinx_panels -sphinxcontrib.contentui -sphinx_copybutton -sphinxcontrib.mermaid +sphinx==4.2.0 +sphinx-book-theme==0.3.3 +recommonmark==0.6.0 +sphinxcontrib.images==0.9.4 +sphinx_panels==0.6.0 +sphinxcontrib.contentui==0.2.5 +sphinx_copybutton==0.5.0 +sphinxcontrib.mermaid==0.7.1 diff --git a/requirements/doc.txt b/requirements/doc.txt index c8ed9ca..d050170 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -4,14 +4,10 @@ # # make upgrade # -accessible-pygments==0.0.4 - # via pydata-sphinx-theme alabaster==0.7.16 # via sphinx babel==2.14.0 - # via - # pydata-sphinx-theme - # sphinx + # via sphinx beautifulsoup4==4.12.3 # via pydata-sphinx-theme certifi==2024.2.2 @@ -20,7 +16,7 @@ charset-normalizer==3.3.2 # via requests commonmark==0.9.1 # via recommonmark -docutils==0.20.1 +docutils==0.17.1 # via # pydata-sphinx-theme # recommonmark @@ -38,25 +34,23 @@ packaging==24.0 # via # pydata-sphinx-theme # sphinx -pydata-sphinx-theme==0.15.2 +pydata-sphinx-theme==0.8.1 # via sphinx-book-theme pygments==2.17.2 - # via - # accessible-pygments - # pydata-sphinx-theme - # sphinx -recommonmark==0.7.1 + # via sphinx +pyyaml==6.0.1 + # via sphinx-book-theme +recommonmark==0.6.0 # via -r requirements/doc.in requests==2.31.0 # via # sphinx # sphinxcontrib-images - # sphinxcontrib-youtube snowballstemmer==2.2.0 # via sphinx soupsieve==2.5 # via beautifulsoup4 -sphinx==7.2.6 +sphinx==4.2.0 # via # -r requirements/doc.in # pydata-sphinx-theme @@ -66,12 +60,13 @@ sphinx==7.2.6 # sphinx-panels # sphinxcontrib-contentui # sphinxcontrib-images - # sphinxcontrib-youtube -sphinx-book-theme==1.1.2 +sphinxcontrib-youtube==1.2.0 # via -r requirements/doc.in -sphinx-copybutton==0.5.2 +sphinx-book-theme==0.3.3 # via -r requirements/doc.in -sphinx-panels==0.4.1 +sphinx-copybutton==0.5.0 + # via -r requirements/doc.in +sphinx-panels==0.6.0 # via -r requirements/doc.in sphinxcontrib-applehelp==1.0.8 # via sphinx @@ -85,15 +80,14 @@ sphinxcontrib-images==0.9.4 # via -r requirements/doc.in sphinxcontrib-jsmath==1.0.1 # via sphinx -sphinxcontrib-mermaid==0.9.2 +sphinxcontrib-mermaid==0.7.1 # via -r requirements/doc.in sphinxcontrib-qthelp==1.0.7 # via sphinx sphinxcontrib-serializinghtml==1.1.10 # via sphinx -sphinxcontrib-youtube==1.4.1 - # via -r requirements/doc.in -typing-extensions==4.11.0 - # via pydata-sphinx-theme urllib3==2.2.1 # via requests + +# The following packages are considered to be unsafe in a requirements file: +# setuptools