From 45bbac73aa66b3b197f844fb50a50c577146c6b7 Mon Sep 17 00:00:00 2001 From: Hunia Fatima Date: Thu, 22 Aug 2024 19:02:24 +0500 Subject: [PATCH] feat!: drop support for python3.8 and add support for 3.12 --- docs/getting_started.rst | 2 +- requirements/base.txt | 4 ++-- requirements/dev.txt | 34 ++++++------------------------ requirements/doc.txt | 42 +++++++++++++++----------------------- requirements/pip-tools.txt | 14 ++----------- requirements/pip.txt | 8 ++++---- requirements/test.txt | 10 +++------ 7 files changed, 34 insertions(+), 80 deletions(-) diff --git a/docs/getting_started.rst b/docs/getting_started.rst index c8697ac930..16b23696c4 100644 --- a/docs/getting_started.rst +++ b/docs/getting_started.rst @@ -7,7 +7,7 @@ Prerequisites You will need to have the following installed: - make -- Python 3.8 +- Python 3.11 - Docker, including ``docker compose`` This project requires **Docker 19.03+ CE**. We recommend Docker Stable, but diff --git a/requirements/base.txt b/requirements/base.txt index a0fda06220..23e9435fb6 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -1,8 +1,8 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade # -pyyaml==6.0.1 +pyyaml==6.0.2 # via -r requirements/base.in diff --git a/requirements/dev.txt b/requirements/dev.txt index bd631da61c..7e7304e0cb 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade @@ -8,7 +8,7 @@ build==1.2.1 # via # -r requirements/pip-tools.txt # pip-tools -cachetools==5.3.3 +cachetools==5.5.0 # via tox chardet==5.2.0 # via tox @@ -20,19 +20,10 @@ colorama==0.4.6 # via tox distlib==0.3.8 # via virtualenv -exceptiongroup==1.2.1 - # via - # -r requirements/test.txt - # pytest filelock==3.15.4 # via # tox # virtualenv -importlib-metadata==6.11.0 - # via - # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt - # -r requirements/pip-tools.txt - # build iniconfig==2.0.0 # via # -r requirements/test.txt @@ -69,33 +60,20 @@ pyproject-hooks==1.1.0 # -r requirements/pip-tools.txt # build # pip-tools -pytest==8.2.2 +pytest==8.3.2 # via -r requirements/test.txt -pyyaml==6.0.1 +pyyaml==6.0.2 # via # -r requirements/base.txt # -r requirements/test.txt -tomli==2.0.1 - # via - # -r requirements/pip-tools.txt - # -r requirements/test.txt - # build - # pip-tools - # pyproject-api - # pytest - # tox -tox==4.16.0 +tox==4.18.0 # via -r requirements/dev.in virtualenv==20.26.3 # via tox -wheel==0.43.0 +wheel==0.44.0 # via # -r requirements/pip-tools.txt # pip-tools -zipp==3.19.2 - # via - # -r requirements/pip-tools.txt - # importlib-metadata # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/requirements/doc.txt b/requirements/doc.txt index 0b1928f87c..b8729f68be 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -1,14 +1,14 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade # -accessible-pygments==0.0.4 +accessible-pygments==0.0.5 # via pydata-sphinx-theme -alabaster==0.7.13 +alabaster==1.0.0 # via sphinx -babel==2.15.0 +babel==2.16.0 # via # pydata-sphinx-theme # sphinx @@ -20,7 +20,7 @@ charset-normalizer==3.3.2 # via requests doc8==1.1.1 # via -r requirements/doc.in -docutils==0.19 +docutils==0.20.1 # via # doc8 # pydata-sphinx-theme @@ -31,10 +31,6 @@ idna==3.7 # via requests imagesize==1.4.1 # via sphinx -importlib-metadata==6.11.0 - # via - # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt - # sphinx jinja2==3.1.4 # via sphinx markupsafe==2.1.5 @@ -47,7 +43,7 @@ packaging==24.1 # sphinx pbr==6.0.0 # via stevedore -pydata-sphinx-theme==0.14.4 +pydata-sphinx-theme==0.15.4 # via sphinx-book-theme pygments==2.18.0 # via @@ -56,9 +52,7 @@ pygments==2.18.0 # pydata-sphinx-theme # readme-renderer # sphinx -pytz==2024.1 - # via babel -pyyaml==6.0.1 +pyyaml==6.0.2 # via -r requirements/base.txt readme-renderer==43.0 # via -r requirements/doc.in @@ -68,34 +62,30 @@ restructuredtext-lint==1.4.0 # via doc8 snowballstemmer==2.2.0 # via sphinx -soupsieve==2.5 +soupsieve==2.6 # via beautifulsoup4 -sphinx==6.2.1 +sphinx==8.0.2 # via # -r requirements/doc.in # pydata-sphinx-theme # sphinx-book-theme -sphinx-book-theme==1.0.1 +sphinx-book-theme==1.1.3 # via -r requirements/doc.in -sphinxcontrib-applehelp==1.0.4 +sphinxcontrib-applehelp==2.0.0 # via sphinx -sphinxcontrib-devhelp==1.0.2 +sphinxcontrib-devhelp==2.0.0 # via sphinx -sphinxcontrib-htmlhelp==2.0.1 +sphinxcontrib-htmlhelp==2.1.0 # via sphinx sphinxcontrib-jsmath==1.0.1 # via sphinx -sphinxcontrib-qthelp==1.0.3 +sphinxcontrib-qthelp==2.0.0 # via sphinx -sphinxcontrib-serializinghtml==1.1.5 +sphinxcontrib-serializinghtml==2.0.0 # via sphinx -stevedore==5.2.0 - # via doc8 -tomli==2.0.1 +stevedore==5.3.0 # via doc8 typing-extensions==4.12.2 # via pydata-sphinx-theme urllib3==2.2.2 # via requests -zipp==3.19.2 - # via importlib-metadata diff --git a/requirements/pip-tools.txt b/requirements/pip-tools.txt index 30588308f8..fedf88df8e 100644 --- a/requirements/pip-tools.txt +++ b/requirements/pip-tools.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade @@ -8,10 +8,6 @@ build==1.2.1 # via pip-tools click==8.1.7 # via pip-tools -importlib-metadata==6.11.0 - # via - # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt - # build packaging==24.1 # via build pip-tools==7.4.1 @@ -20,14 +16,8 @@ pyproject-hooks==1.1.0 # via # build # pip-tools -tomli==2.0.1 - # via - # build - # pip-tools -wheel==0.43.0 +wheel==0.44.0 # via pip-tools -zipp==3.19.2 - # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/requirements/pip.txt b/requirements/pip.txt index e155dab551..f0fca18878 100644 --- a/requirements/pip.txt +++ b/requirements/pip.txt @@ -1,14 +1,14 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade # -wheel==0.43.0 +wheel==0.44.0 # via -r requirements/pip.in # The following packages are considered to be unsafe in a requirements file: -pip==24.1.2 +pip==24.2 # via -r requirements/pip.in -setuptools==70.3.0 +setuptools==73.0.1 # via -r requirements/pip.in diff --git a/requirements/test.txt b/requirements/test.txt index 88390c80f2..3c77af6d75 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -1,11 +1,9 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade # -exceptiongroup==1.2.1 - # via pytest iniconfig==2.0.0 # via pytest packaging==24.1 @@ -16,9 +14,7 @@ pluggy==1.5.0 # via pytest ptyprocess==0.7.0 # via pexpect -pytest==8.2.2 +pytest==8.3.2 # via -r requirements/test.in -pyyaml==6.0.1 +pyyaml==6.0.2 # via -r requirements/base.txt -tomli==2.0.1 - # via pytest