Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Upgrade Python requirements + Drop support for Python 3.8 #264

Merged
merged 4 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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@v5
with:
python-version: 3.8
python-version: 3.12

- name: Install pip
run: pip install -r requirements/pip.txt
Expand Down
2 changes: 1 addition & 1 deletion .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-20.04, ubuntu-latest ]
python-version: ['3.8', '3.11', '3.12']
python-version: ['3.11', '3.12']
toxenv: [quality, docs, django42-drf315, django42-drflatest]

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/migrations-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-20.04, ubuntu-latest ]
python-version: [ 3.8 ]
python-version: [ 3.12 ]

steps:
- name: Checkout repo
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@v5
with:
python-version: 3.8
python-version: 3.12

- name: Install pip
run: pip install -r requirements/pip.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upgrade-python-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: openedx/.github/.github/workflows/upgrade-python-requirements.yml@master
with:
branch: ${{ github.event.inputs.branch || 'master' }}
python_version: "3.8"
python_version: "3.12"
# optional parameters below; fill in if you'd like github or email notifications
# user_reviewers: ""
# team_reviewers: ""
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ To run the test suite:
.. code:: bash

pip install tox
tox # to run only a single environment, do e.g. tox -e py38-django42-drf314
tox # to run only a single environment, do e.g. tox -e py312-django42-drflatest


To use a Django shell to test commands:
Expand Down
6 changes: 3 additions & 3 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@ backports-zoneinfo==0.2.1 ; python_version < "3.9"
# -c requirements/constraints.txt
# django
# djangorestframework
django==4.2.15
django==4.2.16
# via
# -c requirements/common_constraints.txt
# -r requirements/base.in
# django-model-utils
# djangorestframework
# edx-django-release-util
# jsonfield
django-model-utils==4.5.1
django-model-utils==5.0.0
# via -r requirements/base.in
djangorestframework==3.15.2
# via -r requirements/base.in
edx-django-release-util==1.4.0
# via -r requirements/base.in
jsonfield==3.1.0
# via -r requirements/base.in
pytz==2024.1
pytz==2024.2
# via -r requirements/base.in
pyyaml==6.0.2
# via edx-django-release-util
Expand Down
12 changes: 6 additions & 6 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cachetools==5.5.0
# via
# -r requirements/tox.txt
# tox
certifi==2024.7.4
certifi==2024.8.30
# via requests
chardet==5.2.0
# via
Expand All @@ -30,7 +30,7 @@ distlib==0.3.8
# virtualenv
docopt==0.6.2
# via coveralls
filelock==3.15.4
filelock==3.16.0
# via
# -r requirements/tox.txt
# tox
Expand All @@ -42,7 +42,7 @@ packaging==24.1
# -r requirements/tox.txt
# pyproject-api
# tox
platformdirs==4.2.2
platformdirs==4.3.2
# via
# -r requirements/tox.txt
# tox
Expand All @@ -63,11 +63,11 @@ tomli==2.0.1
# coverage
# pyproject-api
# tox
tox==4.18.0
tox==4.18.1
# via -r requirements/tox.txt
urllib3==2.2.2
urllib3==2.2.3
# via requests
virtualenv==20.26.3
virtualenv==20.26.4
# via
# -r requirements/tox.txt
# tox
26 changes: 13 additions & 13 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ beautifulsoup4==4.12.3
# -r requirements/docs.txt
# -r requirements/test.txt
# pydata-sphinx-theme
certifi==2024.7.4
certifi==2024.8.30
# via
# -r requirements/docs.txt
# -r requirements/test.txt
Expand Down Expand Up @@ -78,7 +78,7 @@ dill==0.3.8
# via
# -r requirements/test.txt
# pylint
django==4.2.15
django==4.2.16
# via
# -c requirements/common_constraints.txt
# -r requirements/base.txt
Expand All @@ -88,7 +88,7 @@ django==4.2.15
# djangorestframework
# edx-django-release-util
# jsonfield
django-model-utils==4.5.1
django-model-utils==5.0.0
# via
# -r requirements/base.txt
# -r requirements/docs.txt
Expand Down Expand Up @@ -119,7 +119,7 @@ exceptiongroup==1.2.2
# pytest
factory-boy==3.3.1
# via -r requirements/test.txt
faker==28.0.0
faker==28.4.1
# via
# -r requirements/test.txt
# factory-boy
Expand All @@ -135,7 +135,7 @@ imagesize==1.4.1
# -r requirements/docs.txt
# -r requirements/test.txt
# sphinx
importlib-metadata==8.4.0
importlib-metadata==8.5.0
# via
# -r requirements/docs.txt
# -r requirements/test.txt
Expand Down Expand Up @@ -177,11 +177,11 @@ packaging==24.1
# pydata-sphinx-theme
# pytest
# sphinx
pbr==6.0.0
pbr==6.1.0
# via
# -r requirements/test.txt
# stevedore
platformdirs==4.2.2
platformdirs==4.3.2
# via
# -r requirements/test.txt
# pylint
Expand All @@ -208,7 +208,7 @@ pygments==2.18.0
# accessible-pygments
# pydata-sphinx-theme
# sphinx
pylint==3.2.6
pylint==3.2.7
# via
# -r requirements/test.txt
# edx-lint
Expand All @@ -228,14 +228,14 @@ pylint-plugin-utils==0.8.2
# -r requirements/test.txt
# pylint-celery
# pylint-django
pytest==8.3.2
pytest==8.3.3
# via
# -r requirements/test.txt
# pytest-cov
# pytest-django
pytest-cov==5.0.0
# via -r requirements/test.txt
pytest-django==4.8.0
pytest-django==4.9.0
# via -r requirements/test.txt
python-dateutil==2.9.0.post0
# via
Expand All @@ -246,7 +246,7 @@ python-slugify==8.0.4
# via
# -r requirements/test.txt
# code-annotations
pytz==2024.1
pytz==2024.2
# via
# -r requirements/base.txt
# -r requirements/docs.txt
Expand Down Expand Up @@ -361,12 +361,12 @@ typing-extensions==4.12.2
# astroid
# pydata-sphinx-theme
# pylint
urllib3==2.2.2
urllib3==2.2.3
# via
# -r requirements/docs.txt
# -r requirements/test.txt
# requests
zipp==3.20.0
zipp==3.20.1
# via
# -r requirements/docs.txt
# -r requirements/test.txt
Expand Down
14 changes: 7 additions & 7 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@ backports-zoneinfo==0.2.1 ; python_version < "3.9"
# djangorestframework
beautifulsoup4==4.12.3
# via pydata-sphinx-theme
certifi==2024.7.4
certifi==2024.8.30
# via requests
charset-normalizer==3.3.2
# via requests
django==4.2.15
django==4.2.16
# via
# -c requirements/common_constraints.txt
# -r requirements/base.txt
# django-model-utils
# djangorestframework
# edx-django-release-util
# jsonfield
django-model-utils==4.5.1
django-model-utils==5.0.0
# via -r requirements/base.txt
djangorestframework==3.15.2
# via -r requirements/base.txt
Expand All @@ -50,7 +50,7 @@ idna==3.8
# via requests
imagesize==1.4.1
# via sphinx
importlib-metadata==8.4.0
importlib-metadata==8.5.0
# via sphinx
jinja2==3.1.4
# via sphinx
Expand All @@ -71,7 +71,7 @@ pygments==2.18.0
# accessible-pygments
# pydata-sphinx-theme
# sphinx
pytz==2024.1
pytz==2024.2
# via
# -r requirements/base.txt
# babel
Expand Down Expand Up @@ -121,7 +121,7 @@ typing-extensions==4.12.2
# -r requirements/base.txt
# asgiref
# pydata-sphinx-theme
urllib3==2.2.2
urllib3==2.2.3
# via requests
zipp==3.20.0
zipp==3.20.1
# via importlib-metadata
6 changes: 3 additions & 3 deletions requirements/pip-tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
#
# make upgrade
#
build==1.2.1
build==1.2.2
# via pip-tools
click==8.1.7
# via pip-tools
importlib-metadata==8.4.0
importlib-metadata==8.5.0
# via build
packaging==24.1
# via build
Expand All @@ -24,7 +24,7 @@ tomli==2.0.1
# pip-tools
wheel==0.44.0
# via pip-tools
zipp==3.20.0
zipp==3.20.1
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
Expand Down
2 changes: 1 addition & 1 deletion requirements/pip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ 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==73.0.1
setuptools==74.1.2
# via -r requirements/pip.in
Loading