Skip to content

Commit

Permalink
build: remove Python 3.8 references
Browse files Browse the repository at this point in the history
  • Loading branch information
DawoudSheraz committed Nov 1, 2024
1 parent 9846e6c commit 3ddae75
Show file tree
Hide file tree
Showing 13 changed files with 107 additions and 122 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-reserved-keywords.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.11

- name: Install pip
run: pip install -r requirements/pip.txt
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.8', '3.11']
python-version: ['3.11']
toxenv: [django42, quality]

steps:
Expand All @@ -36,7 +36,7 @@ jobs:
run: tox

- name: Run Coverage
if: matrix.python-version == '3.8' && matrix.toxenv=='django42'
if: matrix.python-version == '3.11' && matrix.toxenv=='django42'
uses: codecov/codecov-action@v4
with:
flags: unittests
Expand All @@ -56,7 +56,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.11

- name: Install pip
run: pip install -r requirements/pip.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.11

- name: Install pip
run: pip install -r requirements/pip.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verify_changed_contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.11

- name: Install pip
run: pip install -r requirements/pip.txt
Expand Down
10 changes: 5 additions & 5 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ certifi==2024.8.30
# via requests
chardet==5.2.0
# via tox
charset-normalizer==3.3.2
charset-normalizer==3.4.0
# via requests
colorama==0.4.6
# via tox
coverage[toml]==7.6.1
coverage[toml]==7.6.4
# via coveralls
coveralls==4.0.1
# via -r requirements/ci.in
distlib==0.3.8
distlib==0.3.9
# via virtualenv
docopt==0.6.2
# via coveralls
Expand All @@ -42,9 +42,9 @@ pyproject-api==1.8.0
# via tox
requests==2.32.3
# via coveralls
tox==4.20.0
tox==4.23.2
# via -r requirements/ci.in
urllib3==2.2.3
# via requests
virtualenv==20.26.5
virtualenv==20.27.1
# via tox
4 changes: 4 additions & 0 deletions requirements/common_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ django-simple-history==3.0.0
# This can be unpinned once https://github.com/openedx/edx-platform/issues/34586
# has been resolved and edx-platform is running with pymongo>=4.4.0
event-tracking<2.4.1

# Cause: https://github.com/openedx/edx-lint/issues/458
# This can be unpinned once https://github.com/openedx/edx-lint/issues/459 has been resolved.
pip<24.3
7 changes: 0 additions & 7 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@
# Common constraints for edx repos
-c common_constraints.txt

# For python greater than or equal to 3.9 backports.zoneinfo is causing failures
backports.zoneinfo;python_version<"3.9"

# Python 3.8 is not supported by newer versions of docutils. Remove this pin once
# python 3.8 is deprecated
docutils==0.20.1

# 5.4.0 is breaking for Python 3.8 and 3.11 CI checks with error
# importlib.resources' has no attribute 'files'
# To be unpinned once edx-val moves to Python 3.12
Expand Down
76 changes: 34 additions & 42 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
#
annotated-types==0.7.0
# via pydantic
anyio==4.5.0
anyio==4.6.2.post1
# via starlette
appdirs==1.4.4
# via fs
asgiref==3.8.1
# via django
astroid==3.2.4
astroid==3.3.5
# via
# pylint
# pylint-celery
Expand All @@ -32,7 +32,7 @@ chardet==5.2.0
# diff-cover
# pysrt
# tox
charset-normalizer==3.3.2
charset-normalizer==3.4.0
# via requests
click==8.1.7
# via
Expand All @@ -50,24 +50,22 @@ code-annotations==1.8.0
# edx-toggles
colorama==0.4.6
# via tox
coverage[toml]==7.6.1
coverage[toml]==7.6.4
# via
# -r requirements/test.in
# coveralls
# pytest-cov
coveralls==4.0.1
# via -r requirements/ci.in
cryptography==43.0.1
# via
# pyjwt
# secretstorage
cryptography==43.0.3
# via pyjwt
ddt==1.7.2
# via -r requirements/test.in
diff-cover==9.2.0
# via -r requirements/dev.in
dill==0.3.8
dill==0.3.9
# via pylint
distlib==0.3.8
distlib==0.3.9
# via virtualenv
django==4.2.16
# via
Expand Down Expand Up @@ -100,23 +98,21 @@ djangorestframework==3.15.2
# via
# drf-jwt
# edx-drf-extensions
dnspython==2.6.1
dnspython==2.7.0
# via pymongo
docopt==0.6.2
# via coveralls
docutils==0.20.1
# via
# -c requirements/constraints.txt
# readme-renderer
docutils==0.21.2
# via readme-renderer
drf-jwt==1.19.2
# via edx-drf-extensions
edx-django-release-util==1.4.0
# via -r requirements/base.in
edx-django-utils==5.15.0
edx-django-utils==7.0.0
# via
# edx-drf-extensions
# edx-toggles
edx-drf-extensions==10.4.0
edx-drf-extensions==10.5.0
# via -r requirements/base.in
edx-lint==5.3.7
# via
Expand All @@ -126,7 +122,7 @@ edx-opaque-keys==2.11.0
# via edx-drf-extensions
edx-toggles==5.2.0
# via -r requirements/base.in
fastapi==0.115.0
fastapi==0.115.4
# via pact-python
filelock==3.16.1
# via
Expand Down Expand Up @@ -155,23 +151,19 @@ jaraco-classes==3.4.0
# via keyring
jaraco-context==6.0.1
# via keyring
jaraco-functools==4.0.2
jaraco-functools==4.1.0
# via keyring
jeepney==0.8.0
# via
# keyring
# secretstorage
jinja2==3.1.4
# via
# code-annotations
# diff-cover
keyring==25.4.0
keyring==25.5.0
# via twine
lxml==5.3.0
# via -r requirements/base.in
markdown-it-py==3.0.0
# via rich
markupsafe==2.1.5
markupsafe==3.0.2
# via jinja2
mccabe==0.7.0
# via pylint
Expand All @@ -185,7 +177,7 @@ more-itertools==10.5.0
# jaraco-functools
multidict==6.1.0
# via yarl
newrelic==9.13.0
newrelic==10.2.0
# via edx-django-utils
nh3==0.2.18
# via readme-renderer
Expand All @@ -194,11 +186,11 @@ packaging==24.1
# pyproject-api
# pytest
# tox
pact-python==2.2.1
pact-python==2.2.2
# via -r requirements/test.in
pbr==6.1.0
# via stevedore
pillow==10.4.0
pillow==11.0.0
# via -r requirements/base.in
pkginfo==1.10.0
# via twine
Expand All @@ -212,7 +204,9 @@ pluggy==1.5.0
# diff-cover
# pytest
# tox
psutil==6.0.0
propcache==0.2.0
# via yarl
psutil==6.1.0
# via
# edx-django-utils
# pact-python
Expand All @@ -235,21 +229,21 @@ pyjwt[crypto]==2.9.0
# via
# drf-jwt
# edx-drf-extensions
pylint==3.2.7
pylint==3.3.1
# via
# edx-lint
# pylint-celery
# pylint-django
# pylint-plugin-utils
pylint-celery==0.3
# via edx-lint
pylint-django==2.5.5
pylint-django==2.6.1
# via edx-lint
pylint-plugin-utils==0.8.2
# via
# pylint-celery
# pylint-django
pymongo==4.9.1
pymongo==4.10.1
# via edx-opaque-keys
pynacl==1.5.0
# via edx-django-utils
Expand All @@ -261,7 +255,7 @@ pytest==8.3.3
# via
# pytest-cov
# pytest-django
pytest-cov==5.0.0
pytest-cov==6.0.0
# via -r requirements/test.in
pytest-django==4.9.0
# via -r requirements/test.in
Expand All @@ -272,7 +266,7 @@ pyyaml==6.0.2
# code-annotations
# edx-django-release-util
# responses
readme-renderer==43.0
readme-renderer==44.0
# via twine
requests==2.32.3
# via
Expand All @@ -288,10 +282,8 @@ responses==0.25.3
# via -r requirements/test.in
rfc3986==2.0.0
# via twine
rich==13.8.1
rich==13.9.3
# via twine
secretstorage==3.3.3
# via keyring
semantic-version==2.10.0
# via edx-drf-extensions
six==1.16.0
Expand All @@ -306,7 +298,7 @@ snowballstemmer==2.2.0
# via pydocstyle
sqlparse==0.5.1
# via django
starlette==0.38.5
starlette==0.41.2
# via fastapi
stevedore==5.3.0
# via
Expand All @@ -317,7 +309,7 @@ text-unidecode==1.3
# via python-slugify
tomlkit==0.13.2
# via pylint
tox==4.20.0
tox==4.23.2
# via -r requirements/ci.in
twine==5.1.1
# via -r requirements/quality.in
Expand All @@ -332,11 +324,11 @@ urllib3==2.2.3
# requests
# responses
# twine
uvicorn==0.30.6
uvicorn==0.32.0
# via pact-python
virtualenv==20.26.5
virtualenv==20.27.1
# via tox
yarl==1.11.1
yarl==1.17.1
# via pact-python
zipp==3.20.2
# via importlib-metadata
Expand Down
4 changes: 2 additions & 2 deletions requirements/pip-tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
#
# make upgrade
#
build==1.2.2
build==1.2.2.post1
# via pip-tools
click==8.1.7
# via pip-tools
packaging==24.1
# via build
pip-tools==7.4.1
# via -r requirements/pip-tools.in
pyproject-hooks==1.1.0
pyproject-hooks==1.2.0
# via
# build
# pip-tools
Expand Down
6 changes: 4 additions & 2 deletions requirements/pip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ wheel==0.44.0

# The following packages are considered to be unsafe in a requirements file:
pip==24.2
# via -r requirements/pip.in
setuptools==75.1.0
# via
# -c requirements/common_constraints.txt
# -r requirements/pip.in
setuptools==75.3.0
# via -r requirements/pip.in
Loading

0 comments on commit 3ddae75

Please sign in to comment.