6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2025-01-10 00:37:54 +00:00

chore: remove Python 3.8 references (#1150)

This commit is contained in:
Syed Muhammad Dawoud Sheraz Ali 2024-11-14 16:48:58 +05:00 committed by GitHub
parent 70424149e9
commit a666732f1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 143 additions and 135 deletions

View File

@ -38,7 +38,7 @@ jobs:
# https://github.com/actions/setup-python # https://github.com/actions/setup-python
uses: actions/setup-python@v3 uses: actions/setup-python@v3
with: with:
python-version: 3.8 python-version: 3.9
cache: 'pip' cache: 'pip'
cache-dependency-path: requirements/dev.txt cache-dependency-path: requirements/dev.txt
- name: Upgrade pip and setuptools - name: Upgrade pip and setuptools

View File

@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: ['3.8', '3.12'] python-version: ['3.9', '3.12']
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python

View File

@ -0,0 +1 @@
- 💥 [Deprecation] Drop support for python 3.8 and set Python 3.9 as the minimum supported python version. (by @DawoudSheraz)

View File

@ -1,36 +1,38 @@
# #
# This file is autogenerated by pip-compile with Python 3.8 # This file is autogenerated by pip-compile with Python 3.9
# by the following command: # by the following command:
# #
# pip-compile requirements/base.in # pip-compile requirements/base.in
# #
appdirs==1.4.4 appdirs==1.4.4
# via -r requirements/base.in # via -r requirements/base.in
cachetools==5.3.2 cachetools==5.5.0
# via google-auth # via google-auth
certifi==2024.7.4 certifi==2024.8.30
# via # via
# kubernetes # kubernetes
# requests # requests
charset-normalizer==3.3.1 charset-normalizer==3.4.0
# via requests # via requests
click==8.1.7 click==8.1.7
# via -r requirements/base.in # via -r requirements/base.in
google-auth==2.23.3 durationpy==0.9
# via kubernetes # via kubernetes
idna==3.7 google-auth==2.35.0
# via kubernetes
idna==3.10
# via requests # via requests
importlib-metadata==7.0.1 importlib-metadata==8.5.0
# via -r requirements/base.in # via -r requirements/base.in
importlib-resources==6.1.1 importlib-resources==6.4.5
# via -r requirements/base.in # via -r requirements/base.in
jinja2==3.1.4 jinja2==3.1.4
# via -r requirements/base.in # via -r requirements/base.in
kubernetes==28.1.0 kubernetes==31.0.0
# via -r requirements/base.in # via -r requirements/base.in
markupsafe==2.1.3 markupsafe==3.0.2
# via jinja2 # via jinja2
mypy==1.6.1 mypy==1.13.0
# via -r requirements/base.in # via -r requirements/base.in
mypy-extensions==1.0.0 mypy-extensions==1.0.0
# via mypy # via mypy
@ -40,17 +42,17 @@ oauthlib==3.2.2
# requests-oauthlib # requests-oauthlib
packaging==24.1 packaging==24.1
# via -r requirements/base.in # via -r requirements/base.in
pyasn1==0.5.0 pyasn1==0.6.1
# via # via
# pyasn1-modules # pyasn1-modules
# rsa # rsa
pyasn1-modules==0.3.0 pyasn1-modules==0.4.1
# via google-auth # via google-auth
pycryptodome==3.20.0 pycryptodome==3.21.0
# via -r requirements/base.in # via -r requirements/base.in
python-dateutil==2.8.2 python-dateutil==2.9.0.post0
# via kubernetes # via kubernetes
pyyaml==6.0.1 pyyaml==6.0.2
# via # via
# -r requirements/base.in # -r requirements/base.in
# kubernetes # kubernetes
@ -58,7 +60,7 @@ requests==2.32.3
# via # via
# kubernetes # kubernetes
# requests-oauthlib # requests-oauthlib
requests-oauthlib==1.3.1 requests-oauthlib==2.0.0
# via kubernetes # via kubernetes
rsa==4.9 rsa==4.9
# via google-auth # via google-auth
@ -66,19 +68,19 @@ six==1.16.0
# via # via
# kubernetes # kubernetes
# python-dateutil # python-dateutil
tomli==2.0.1 tomli==2.0.2
# via mypy # via mypy
typing-extensions==4.8.0 typing-extensions==4.12.2
# via # via
# -r requirements/base.in # -r requirements/base.in
# mypy # mypy
urllib3==1.26.19 urllib3==2.2.3
# via # via
# kubernetes # kubernetes
# requests # requests
websocket-client==1.6.4 websocket-client==1.8.0
# via kubernetes # via kubernetes
zipp==3.19.2 zipp==3.20.2
# via # via
# importlib-metadata # importlib-metadata
# importlib-resources # importlib-resources

View File

@ -1,33 +1,35 @@
# #
# This file is autogenerated by pip-compile with Python 3.8 # This file is autogenerated by pip-compile with Python 3.9
# by the following command: # by the following command:
# #
# pip-compile requirements/dev.in # pip-compile requirements/dev.in
# #
altgraph==0.17.4 altgraph==0.17.4
# via pyinstaller # via
# macholib
# pyinstaller
appdirs==1.4.4 appdirs==1.4.4
# via -r requirements/base.txt # via -r requirements/base.txt
astroid==3.0.1 astroid==3.3.5
# via pylint # via pylint
attrs==23.1.0 attrs==24.2.0
# via scriv # via scriv
black==24.4.2 backports-tarfile==1.2.0
# via jaraco-context
black==24.10.0
# via -r requirements/dev.in # via -r requirements/dev.in
build==1.0.3 build==1.2.2.post1
# via pip-tools # via pip-tools
cachetools==5.3.2 cachetools==5.5.0
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# google-auth # google-auth
certifi==2024.7.4 certifi==2024.8.30
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# kubernetes # kubernetes
# requests # requests
cffi==1.16.0 charset-normalizer==3.4.0
# via cryptography
charset-normalizer==3.3.1
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# requests # requests
@ -40,56 +42,59 @@ click==8.1.7
# scriv # scriv
click-log==0.4.0 click-log==0.4.0
# via scriv # via scriv
coverage==7.3.2 coverage==7.6.4
# via -r requirements/dev.in # via -r requirements/dev.in
cryptography==43.0.1 dill==0.3.9
# via secretstorage
dill==0.3.7
# via pylint # via pylint
docutils==0.18.1 docutils==0.18.1
# via # via
# -r requirements/dev.in # -r requirements/dev.in
# readme-renderer # readme-renderer
google-auth==2.23.3 durationpy==0.9
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# kubernetes # kubernetes
idna==3.7 google-auth==2.35.0
# via
# -r requirements/base.txt
# kubernetes
idna==3.10
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# requests # requests
importlib-metadata==7.0.1 importlib-metadata==8.5.0
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# build # build
# keyring # keyring
# pyinstaller # pyinstaller
# pyinstaller-hooks-contrib
# twine # twine
importlib-resources==6.1.1 importlib-resources==6.4.5
# via # via -r requirements/base.txt
# -r requirements/base.txt isort==5.13.2
# keyring
isort==5.12.0
# via pylint # via pylint
jaraco-classes==3.3.0 jaraco-classes==3.4.0
# via keyring
jaraco-context==6.0.1
# via keyring
jaraco-functools==4.1.0
# via keyring # via keyring
jeepney==0.8.0
# via
# keyring
# secretstorage
jinja2==3.1.4 jinja2==3.1.4
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# scriv # scriv
keyring==24.2.0 keyring==25.5.0
# via twine # via twine
kubernetes==28.1.0 kubernetes==31.0.0
# via -r requirements/base.txt # via -r requirements/base.txt
macholib==1.16.3
# via pyinstaller
markdown-it-py==3.0.0 markdown-it-py==3.0.0
# via # via
# rich # rich
# scriv # scriv
markupsafe==2.1.3 markupsafe==3.0.2
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# jinja2 # jinja2
@ -97,16 +102,18 @@ mccabe==0.7.0
# via pylint # via pylint
mdurl==0.1.2 mdurl==0.1.2
# via markdown-it-py # via markdown-it-py
more-itertools==10.1.0 more-itertools==10.5.0
# via jaraco-classes # via
mypy==1.6.1 # jaraco-classes
# jaraco-functools
mypy==1.13.0
# via -r requirements/base.txt # via -r requirements/base.txt
mypy-extensions==1.0.0 mypy-extensions==1.0.0
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# black # black
# mypy # mypy
nh3==0.2.14 nh3==0.2.18
# via readme-renderer # via readme-renderer
oauthlib==3.2.2 oauthlib==3.2.2
# via # via
@ -119,50 +126,51 @@ packaging==24.1
# black # black
# build # build
# pyinstaller # pyinstaller
pathspec==0.11.2 # pyinstaller-hooks-contrib
pathspec==0.12.1
# via black # via black
pip-tools==7.3.0 pip-tools==7.4.1
# via -r requirements/dev.in # via -r requirements/dev.in
pkginfo==1.9.6 pkginfo==1.10.0
# via twine # via twine
platformdirs==3.11.0 platformdirs==4.3.6
# via # via
# black # black
# pylint # pylint
pyasn1==0.5.0 pyasn1==0.6.1
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# pyasn1-modules # pyasn1-modules
# rsa # rsa
pyasn1-modules==0.3.0 pyasn1-modules==0.4.1
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# google-auth # google-auth
pycparser==2.21 pycryptodome==3.21.0
# via cffi
pycryptodome==3.20.0
# via -r requirements/base.txt # via -r requirements/base.txt
pygments==2.16.1 pygments==2.18.0
# via # via
# readme-renderer # readme-renderer
# rich # rich
pyinstaller==6.1.0 pyinstaller==6.11.0
# via -r requirements/dev.in # via -r requirements/dev.in
pyinstaller-hooks-contrib==2023.10 pyinstaller-hooks-contrib==2024.9
# via pyinstaller # via pyinstaller
pylint==3.0.2 pylint==3.3.1
# via -r requirements/dev.in # via -r requirements/dev.in
pyproject-hooks==1.0.0 pyproject-hooks==1.2.0
# via build # via
python-dateutil==2.8.2 # build
# pip-tools
python-dateutil==2.9.0.post0
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# kubernetes # kubernetes
pyyaml==6.0.1 pyyaml==6.0.2
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# kubernetes # kubernetes
readme-renderer==42.0 readme-renderer==43.0
# via twine # via twine
requests==2.32.3 requests==2.32.3
# via # via
@ -172,7 +180,7 @@ requests==2.32.3
# requests-toolbelt # requests-toolbelt
# scriv # scriv
# twine # twine
requests-oauthlib==1.3.1 requests-oauthlib==2.0.0
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# kubernetes # kubernetes
@ -180,22 +188,20 @@ requests-toolbelt==1.0.0
# via twine # via twine
rfc3986==2.0.0 rfc3986==2.0.0
# via twine # via twine
rich==13.6.0 rich==13.9.3
# via twine # via twine
rsa==4.9 rsa==4.9
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# google-auth # google-auth
scriv==1.5.0 scriv==1.5.1
# via -r requirements/dev.in # via -r requirements/dev.in
secretstorage==3.3.3
# via keyring
six==1.16.0 six==1.16.0
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# kubernetes # kubernetes
# python-dateutil # python-dateutil
tomli==2.0.1 tomli==2.0.2
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# black # black
@ -203,18 +209,17 @@ tomli==2.0.1
# mypy # mypy
# pip-tools # pip-tools
# pylint # pylint
# pyproject-hooks tomlkit==0.13.2
tomlkit==0.12.1
# via pylint # via pylint
twine==4.0.2 twine==5.1.1
# via -r requirements/dev.in # via -r requirements/dev.in
types-docutils==0.20.0.3 types-docutils==0.21.0.20241005
# via -r requirements/dev.in # via -r requirements/dev.in
types-pyyaml==6.0.12.12 types-pyyaml==6.0.12.20240917
# via -r requirements/dev.in # via -r requirements/dev.in
types-setuptools==68.2.0.0 types-setuptools==75.2.0.20241025
# via -r requirements/dev.in # via -r requirements/dev.in
typing-extensions==4.8.0 typing-extensions==4.12.2
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# astroid # astroid
@ -222,19 +227,19 @@ typing-extensions==4.8.0
# mypy # mypy
# pylint # pylint
# rich # rich
urllib3==1.26.19 urllib3==2.2.3
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# kubernetes # kubernetes
# requests # requests
# twine # twine
websocket-client==1.6.4 websocket-client==1.8.0
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# kubernetes # kubernetes
wheel==0.41.2 wheel==0.44.0
# via pip-tools # via pip-tools
zipp==3.19.2 zipp==3.20.2
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# importlib-metadata # importlib-metadata

View File

@ -1,6 +1,4 @@
-r base.txt -r base.txt
# Python 3.8 support was dropped in 7.2.0 sphinx
# https://github.com/sphinx-doc/sphinx/pull/11511
sphinx<7.2.0
sphinx-rtd-theme sphinx-rtd-theme
sphinx-click sphinx-click

View File

@ -1,25 +1,25 @@
# #
# This file is autogenerated by pip-compile with Python 3.8 # This file is autogenerated by pip-compile with Python 3.9
# by the following command: # by the following command:
# #
# pip-compile requirements/docs.in # pip-compile requirements/docs.in
# #
alabaster==0.7.13 alabaster==0.7.16
# via sphinx # via sphinx
appdirs==1.4.4 appdirs==1.4.4
# via -r requirements/base.txt # via -r requirements/base.txt
babel==2.13.1 babel==2.16.0
# via sphinx # via sphinx
cachetools==5.3.2 cachetools==5.5.0
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# google-auth # google-auth
certifi==2024.7.4 certifi==2024.8.30
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# kubernetes # kubernetes
# requests # requests
charset-normalizer==3.3.1 charset-normalizer==3.4.0
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# requests # requests
@ -27,38 +27,42 @@ click==8.1.7
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# sphinx-click # sphinx-click
docutils==0.18.1 docutils==0.21.2
# via # via
# sphinx # sphinx
# sphinx-click # sphinx-click
# sphinx-rtd-theme # sphinx-rtd-theme
google-auth==2.23.3 durationpy==0.9
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# kubernetes # kubernetes
idna==3.7 google-auth==2.35.0
# via
# -r requirements/base.txt
# kubernetes
idna==3.10
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# requests # requests
imagesize==1.4.1 imagesize==1.4.1
# via sphinx # via sphinx
importlib-metadata==7.0.1 importlib-metadata==8.5.0
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# sphinx # sphinx
importlib-resources==6.1.1 importlib-resources==6.4.5
# via -r requirements/base.txt # via -r requirements/base.txt
jinja2==3.1.4 jinja2==3.1.4
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# sphinx # sphinx
kubernetes==28.1.0 kubernetes==31.0.0
# via -r requirements/base.txt # via -r requirements/base.txt
markupsafe==2.1.3 markupsafe==3.0.2
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# jinja2 # jinja2
mypy==1.6.1 mypy==1.13.0
# via -r requirements/base.txt # via -r requirements/base.txt
mypy-extensions==1.0.0 mypy-extensions==1.0.0
# via # via
@ -73,26 +77,24 @@ packaging==24.1
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# sphinx # sphinx
pyasn1==0.5.0 pyasn1==0.6.1
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# pyasn1-modules # pyasn1-modules
# rsa # rsa
pyasn1-modules==0.3.0 pyasn1-modules==0.4.1
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# google-auth # google-auth
pycryptodome==3.20.0 pycryptodome==3.21.0
# via -r requirements/base.txt # via -r requirements/base.txt
pygments==2.16.1 pygments==2.18.0
# via sphinx # via sphinx
python-dateutil==2.8.2 python-dateutil==2.9.0.post0
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# kubernetes # kubernetes
pytz==2023.3.post1 pyyaml==6.0.2
# via babel
pyyaml==6.0.1
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# kubernetes # kubernetes
@ -102,7 +104,7 @@ requests==2.32.3
# kubernetes # kubernetes
# requests-oauthlib # requests-oauthlib
# sphinx # sphinx
requests-oauthlib==1.3.1 requests-oauthlib==2.0.0
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# kubernetes # kubernetes
@ -117,48 +119,49 @@ six==1.16.0
# python-dateutil # python-dateutil
snowballstemmer==2.2.0 snowballstemmer==2.2.0
# via sphinx # via sphinx
sphinx==7.1.2 sphinx==7.4.7
# via # via
# -r requirements/docs.in # -r requirements/docs.in
# sphinx-click # sphinx-click
# sphinx-rtd-theme # sphinx-rtd-theme
# sphinxcontrib-jquery # sphinxcontrib-jquery
sphinx-click==5.0.1 sphinx-click==6.0.0
# via -r requirements/docs.in # via -r requirements/docs.in
sphinx-rtd-theme==1.3.0 sphinx-rtd-theme==3.0.1
# via -r requirements/docs.in # via -r requirements/docs.in
sphinxcontrib-applehelp==1.0.4 sphinxcontrib-applehelp==2.0.0
# via sphinx # via sphinx
sphinxcontrib-devhelp==1.0.2 sphinxcontrib-devhelp==2.0.0
# via sphinx # via sphinx
sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-htmlhelp==2.1.0
# via sphinx # via sphinx
sphinxcontrib-jquery==4.1 sphinxcontrib-jquery==4.1
# via sphinx-rtd-theme # via sphinx-rtd-theme
sphinxcontrib-jsmath==1.0.1 sphinxcontrib-jsmath==1.0.1
# via sphinx # via sphinx
sphinxcontrib-qthelp==1.0.3 sphinxcontrib-qthelp==2.0.0
# via sphinx # via sphinx
sphinxcontrib-serializinghtml==1.1.5 sphinxcontrib-serializinghtml==2.0.0
# via sphinx # via sphinx
tomli==2.0.1 tomli==2.0.2
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# mypy # mypy
typing-extensions==4.8.0 # sphinx
typing-extensions==4.12.2
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# mypy # mypy
urllib3==1.26.19 urllib3==2.2.3
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# kubernetes # kubernetes
# requests # requests
websocket-client==1.6.4 websocket-client==1.8.0
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# kubernetes # kubernetes
zipp==3.19.2 zipp==3.20.2
# via # via
# -r requirements/base.txt # -r requirements/base.txt
# importlib-metadata # importlib-metadata

View File

@ -56,7 +56,7 @@ setup(
long_description_content_type="text/x-rst", long_description_content_type="text/x-rst",
packages=find_packages(exclude=["tests*"]), packages=find_packages(exclude=["tests*"]),
include_package_data=True, include_package_data=True,
python_requires=">=3.8", python_requires=">=3.9",
install_requires=load_requirements("base.in"), install_requires=load_requirements("base.in"),
extras_require={ extras_require={
"dev": load_requirements("dev.txt"), "dev": load_requirements("dev.txt"),
@ -69,7 +69,6 @@ setup(
"License :: OSI Approved :: GNU Affero General Public License v3", "License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: OS Independent", "Operating System :: OS Independent",
"Programming Language :: Python", "Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",