From af004acba2f67454384eaa9eef01d8073cd99e1e Mon Sep 17 00:00:00 2001 From: UsamaSadiq Date: Fri, 8 Dec 2023 19:24:57 +0500 Subject: [PATCH 1/2] fix: remove tox-battery requirement --- requirements/base.txt | 2 +- requirements/ci.in | 1 - requirements/ci.txt | 10 +++------- requirements/dev.txt | 26 +++++++++++-------------- requirements/django.txt | 2 +- requirements/doc.txt | 40 +++++++++++++------------------------- requirements/pip-tools.txt | 8 ++++---- requirements/pip.txt | 8 ++++---- requirements/quality.txt | 10 +++++----- requirements/test.txt | 4 ++-- 10 files changed, 45 insertions(+), 66 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index 2d599f3..c0f2138 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -10,7 +10,7 @@ jinja2==3.1.2 # via -r requirements/base.in markupsafe==2.1.3 # via jinja2 -pbr==5.11.1 +pbr==6.0.0 # via stevedore python-slugify==8.0.1 # via -r requirements/base.in diff --git a/requirements/ci.in b/requirements/ci.in index 5937089..e13c996 100644 --- a/requirements/ci.in +++ b/requirements/ci.in @@ -3,4 +3,3 @@ -c constraints.txt tox # Virtualenv management for tests -tox-battery # Makes tox aware of requirements file changes diff --git a/requirements/ci.txt b/requirements/ci.txt index 1b1da3d..77d02ef 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -6,13 +6,13 @@ # distlib==0.3.7 # via virtualenv -filelock==3.12.4 +filelock==3.13.1 # via # tox # virtualenv packaging==23.2 # via tox -platformdirs==3.11.0 +platformdirs==4.1.0 # via virtualenv pluggy==1.3.0 # via tox @@ -24,11 +24,7 @@ tomli==2.0.1 # via tox tox==3.28.0 # via - # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt # -c requirements/constraints.txt # -r requirements/ci.in - # tox-battery -tox-battery==0.6.2 - # via -r requirements/ci.in -virtualenv==20.24.6 +virtualenv==20.25.0 # via tox diff --git a/requirements/dev.txt b/requirements/dev.txt index 56206c1..9bca528 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -40,7 +40,7 @@ coverage[toml]==7.3.2 # -r requirements/quality.txt # coverage # pytest-cov -diff-cover==8.0.0 +diff-cover==8.0.1 # via -r requirements/dev.in dill==0.3.7 # via @@ -50,22 +50,22 @@ distlib==0.3.7 # via # -r requirements/ci.txt # virtualenv -django==3.2.22 +django==3.2.23 # via # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt # -r requirements/quality.txt edx-lint==5.3.6 # via -r requirements/quality.txt -exceptiongroup==1.1.3 +exceptiongroup==1.2.0 # via # -r requirements/quality.txt # pytest -filelock==3.12.4 +filelock==3.13.1 # via # -r requirements/ci.txt # tox # virtualenv -importlib-metadata==6.8.0 +importlib-metadata==7.0.0 # via # -r requirements/pip-tools.txt # build @@ -100,13 +100,13 @@ packaging==23.2 # build # pytest # tox -pbr==5.11.1 +pbr==6.0.0 # via # -r requirements/quality.txt # stevedore pip-tools==7.3.0 # via -r requirements/pip-tools.txt -platformdirs==3.11.0 +platformdirs==4.1.0 # via # -r requirements/ci.txt # -r requirements/quality.txt @@ -127,7 +127,7 @@ pycodestyle==2.11.1 # via -r requirements/quality.txt pydocstyle==6.3.0 # via -r requirements/quality.txt -pygments==2.16.1 +pygments==2.17.2 # via diff-cover pylint==3.0.2 # via @@ -205,29 +205,25 @@ tomli==2.0.1 # pyproject-hooks # pytest # tox -tomlkit==0.12.1 +tomlkit==0.12.3 # via # -r requirements/quality.txt # pylint tox==3.28.0 # via - # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt # -c requirements/constraints.txt # -r requirements/ci.txt - # tox-battery -tox-battery==0.6.2 - # via -r requirements/ci.txt typing-extensions==4.8.0 # via # -r requirements/quality.txt # asgiref # astroid # pylint -virtualenv==20.24.6 +virtualenv==20.25.0 # via # -r requirements/ci.txt # tox -wheel==0.41.2 +wheel==0.42.0 # via # -r requirements/pip-tools.txt # pip-tools diff --git a/requirements/django.txt b/requirements/django.txt index bdf3943..5edfdba 100644 --- a/requirements/django.txt +++ b/requirements/django.txt @@ -6,7 +6,7 @@ # asgiref==3.7.2 # via django -django==3.2.22 +django==3.2.23 # via # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt # -r requirements/django.in diff --git a/requirements/doc.txt b/requirements/doc.txt index 6d3ca30..b4064df 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -18,11 +18,9 @@ babel==2.13.1 # sphinx beautifulsoup4==4.12.2 # via pydata-sphinx-theme -certifi==2023.7.22 +certifi==2023.11.17 # via requests -cffi==1.16.0 - # via cryptography -charset-normalizer==3.3.1 +charset-normalizer==3.3.2 # via requests click==8.1.7 # via -r requirements/test.txt @@ -31,9 +29,7 @@ coverage[toml]==7.3.2 # -r requirements/test.txt # coverage # pytest-cov -cryptography==41.0.5 - # via secretstorage -django==3.2.22 +django==3.2.23 # via # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt # -r requirements/test.txt @@ -46,20 +42,20 @@ docutils==0.19 # readme-renderer # restructuredtext-lint # sphinx -exceptiongroup==1.1.3 +exceptiongroup==1.2.0 # via # -r requirements/test.txt # pytest -idna==3.4 +idna==3.6 # via requests imagesize==1.4.1 # via sphinx -importlib-metadata==6.8.0 +importlib-metadata==7.0.0 # via # keyring # sphinx # twine -importlib-resources==6.1.0 +importlib-resources==6.1.1 # via keyring iniconfig==2.0.0 # via @@ -67,15 +63,11 @@ iniconfig==2.0.0 # pytest jaraco-classes==3.3.0 # via keyring -jeepney==0.8.0 - # via - # keyring - # secretstorage jinja2==3.1.2 # via # -r requirements/test.txt # sphinx -keyring==24.2.0 +keyring==24.3.0 # via twine markdown-it-py==3.0.0 # via rich @@ -89,7 +81,7 @@ mock==5.1.0 # via -r requirements/test.txt more-itertools==10.1.0 # via jaraco-classes -nh3==0.2.14 +nh3==0.2.15 # via readme-renderer packaging==23.2 # via @@ -97,7 +89,7 @@ packaging==23.2 # pydata-sphinx-theme # pytest # sphinx -pbr==5.11.1 +pbr==6.0.0 # via # -r requirements/test.txt # stevedore @@ -107,11 +99,9 @@ pluggy==1.3.0 # via # -r requirements/test.txt # pytest -pycparser==2.21 - # via cffi -pydata-sphinx-theme==0.14.2 +pydata-sphinx-theme==0.14.4 # via sphinx-book-theme -pygments==2.16.1 +pygments==2.17.2 # via # accessible-pygments # doc8 @@ -147,10 +137,8 @@ restructuredtext-lint==1.4.0 # via doc8 rfc3986==2.0.0 # via twine -rich==13.6.0 +rich==13.7.0 # via twine -secretstorage==3.3.3 - # via keyring snowballstemmer==2.2.0 # via sphinx soupsieve==2.5 @@ -200,7 +188,7 @@ typing-extensions==4.8.0 # asgiref # pydata-sphinx-theme # rich -urllib3==2.0.7 +urllib3==2.1.0 # via # requests # twine diff --git a/requirements/pip-tools.txt b/requirements/pip-tools.txt index d192363..93a9cee 100644 --- a/requirements/pip-tools.txt +++ b/requirements/pip-tools.txt @@ -1,6 +1,6 @@ # -# This file is autogenerated by pip-compile with python 3.8 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.8 +# by the following command: # # make upgrade # @@ -8,7 +8,7 @@ build==1.0.3 # via pip-tools click==8.1.7 # via pip-tools -importlib-metadata==6.8.0 +importlib-metadata==7.0.0 # via build packaging==23.2 # via build @@ -21,7 +21,7 @@ tomli==2.0.1 # build # pip-tools # pyproject-hooks -wheel==0.41.2 +wheel==0.42.0 # via pip-tools zipp==3.17.0 # via importlib-metadata diff --git a/requirements/pip.txt b/requirements/pip.txt index acbf82e..14cb99c 100644 --- a/requirements/pip.txt +++ b/requirements/pip.txt @@ -1,14 +1,14 @@ # -# This file is autogenerated by pip-compile with python 3.8 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.8 +# by the following command: # # make upgrade # -wheel==0.41.2 +wheel==0.42.0 # via -r requirements/pip.in # The following packages are considered to be unsafe in a requirements file: pip==23.3.1 # via -r requirements/pip.in -setuptools==68.2.2 +setuptools==69.0.2 # via -r requirements/pip.in diff --git a/requirements/quality.txt b/requirements/quality.txt index aab4030..0942322 100644 --- a/requirements/quality.txt +++ b/requirements/quality.txt @@ -29,13 +29,13 @@ coverage[toml]==7.3.2 # pytest-cov dill==0.3.7 # via pylint -django==3.2.22 +django==3.2.23 # via # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt # -r requirements/test.txt edx-lint==5.3.6 # via -r requirements/quality.in -exceptiongroup==1.1.3 +exceptiongroup==1.2.0 # via # -r requirements/test.txt # pytest @@ -63,11 +63,11 @@ packaging==23.2 # via # -r requirements/test.txt # pytest -pbr==5.11.1 +pbr==6.0.0 # via # -r requirements/test.txt # stevedore -platformdirs==3.11.0 +platformdirs==4.1.0 # via pylint pluggy==1.3.0 # via @@ -131,7 +131,7 @@ tomli==2.0.1 # coverage # pylint # pytest -tomlkit==0.12.1 +tomlkit==0.12.3 # via pylint typing-extensions==4.8.0 # via diff --git a/requirements/test.txt b/requirements/test.txt index 5026ac9..0fef0d0 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -17,7 +17,7 @@ coverage[toml]==7.3.2 # via # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt # -r requirements/django.txt -exceptiongroup==1.1.3 +exceptiongroup==1.2.0 # via pytest iniconfig==2.0.0 # via pytest @@ -31,7 +31,7 @@ mock==5.1.0 # via -r requirements/test.in packaging==23.2 # via pytest -pbr==5.11.1 +pbr==6.0.0 # via # -r requirements/base.txt # stevedore From 71f683c7e821a3d5cc294af32246528df3377131 Mon Sep 17 00:00:00 2001 From: UsamaSadiq Date: Fri, 8 Dec 2023 19:29:26 +0500 Subject: [PATCH 2/2] build: add readthedocs config --- .readthedocs.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .readthedocs.yml diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 0000000..9d34bd5 --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,19 @@ +# .readthedocs.yml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Build documentation in the docs/ directory with Sphinx +sphinx: + configuration: docs/conf.py + +build: + os: ubuntu-22.04 + tools: + python: "3.8" + +python: + install: + - requirements: requirements/doc.txt