Skip to content

Commit

Permalink
chore: Upgrade Python requirements + Drop support for Python 3.8 (#318)
Browse files Browse the repository at this point in the history
* chore: Upgrade Python requirements
* build!: dropped support for Python 3.8
* chore: bumped package version to 4.7.0
  • Loading branch information
edx-requirements-bot authored Sep 13, 2024
1 parent 2130833 commit e6faca7
Show file tree
Hide file tree
Showing 16 changed files with 76 additions and 69 deletions.
4 changes: 2 additions & 2 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-20.04, ubuntu-latest]
python-version: ['3.8', '3.11', '3.12']
python-version: ['3.11', '3.12']
toxenv: [quality, django42-drf314, django42-drflatest]

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

- name: Run Coverage
if: matrix.python-version == '3.8' && matrix.toxenv=='django42-drflatest'
if: matrix.python-version == '3.11' && matrix.toxenv=='django42-drflatest'
uses: codecov/codecov-action@v4
with:
flags: unittests
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.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 @@ -13,7 +13,7 @@ jobs:
call-upgrade-python-requirements-workflow:
with:
branch: ${{ github.event.inputs.branch }}
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
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ Change Log

.. There should always be an "Unreleased" section for changes pending release.
[4.7.0] - 2024-9-13
-------------------

* Dropped support for Python 3.8

[4.6.0] - 2024-4-16
-------------------

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,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-drflatest
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
2 changes: 1 addition & 1 deletion completion/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"""


__version__ = '4.6.9'
__version__ = '4.7.0'
14 changes: 7 additions & 7 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ celery==5.4.0
# via event-tracking
certifi==2024.8.30
# via requests
cffi==1.17.0
cffi==1.17.1
# via
# cryptography
# pynacl
Expand All @@ -47,7 +47,7 @@ click-repl==0.3.0
# via celery
code-annotations==1.8.0
# via edx-toggles
cryptography==43.0.0
cryptography==43.0.1
# via pyjwt
django==4.2.16
# via
Expand All @@ -67,7 +67,7 @@ django-crum==0.7.9
# via
# edx-django-utils
# edx-toggles
django-model-utils==4.5.1
django-model-utils==5.0.0
# via -r requirements/base.in
django-waffle==4.1.0
# via
Expand All @@ -91,7 +91,7 @@ edx-django-utils==5.15.0
# openedx-events
edx-drf-extensions==10.4.0
# via -r requirements/base.in
edx-opaque-keys[django]==2.10.0
edx-opaque-keys[django]==2.11.0
# via
# -r requirements/base.in
# edx-ccx-keys
Expand All @@ -105,7 +105,7 @@ event-tracking==2.4.0
# via
# -c requirements/common_constraints.txt
# -r requirements/base.in
fastavro==1.9.5
fastavro==1.9.7
# via openedx-events
fs==2.4.16
# via xblock
Expand All @@ -126,7 +126,7 @@ markupsafe==2.1.5
# xblock
newrelic==9.13.0
# via edx-django-utils
openedx-events==9.12.0
openedx-events==9.14.0
# via event-tracking
pbr==6.1.0
# via stevedore
Expand Down Expand Up @@ -208,7 +208,7 @@ xblock==5.1.0
# via -r requirements/base.in

# The following packages are considered to be unsafe in a requirements file:
setuptools==74.1.1
setuptools==74.1.2
# via
# -r requirements/base.in
# fs
8 changes: 4 additions & 4 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ colorama==0.4.6
# via tox
distlib==0.3.8
# via virtualenv
filelock==3.15.4
filelock==3.16.0
# via
# tox
# virtualenv
Expand All @@ -22,7 +22,7 @@ packaging==24.1
# via
# pyproject-api
# tox
platformdirs==4.2.2
platformdirs==4.3.2
# via
# tox
# virtualenv
Expand All @@ -34,7 +34,7 @@ tomli==2.0.1
# via
# pyproject-api
# tox
tox==4.18.0
tox==4.18.1
# via -r requirements/ci.in
virtualenv==20.26.3
virtualenv==20.26.4
# via tox
41 changes: 22 additions & 19 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9"
# kombu
billiard==4.2.0
# via celery
build==1.2.1
build==1.2.2
# via pip-tools
cachetools==5.5.0
# via tox
celery==5.4.0
# via event-tracking
certifi==2024.8.30
# via requests
cffi==1.17.0
cffi==1.17.1
# via
# cryptography
# pynacl
Expand Down Expand Up @@ -72,13 +72,13 @@ colorama==0.4.6
# via tox
coverage[toml]==7.6.1
# via pytest-cov
cryptography==43.0.0
cryptography==43.0.1
# via
# pyjwt
# secretstorage
ddt==1.7.2
# via -r requirements/test.in
diff-cover==9.1.1
diff-cover==9.2.0
# via -r requirements/dev.in
dill==0.3.8
# via pylint
Expand All @@ -103,7 +103,7 @@ django-crum==0.7.9
# via
# edx-django-utils
# edx-toggles
django-model-utils==4.5.1
django-model-utils==5.0.0
# via -r requirements/base.in
django-waffle==4.1.0
# via
Expand All @@ -129,14 +129,14 @@ edx-django-utils==5.15.0
# openedx-events
edx-drf-extensions==10.4.0
# via -r requirements/base.in
edx-i18n-tools==1.6.2
edx-i18n-tools==1.6.3
# via -r requirements/dev.in
edx-lint==5.3.7
# via
# -c requirements/constraints.txt
# -r requirements/dev.in
# -r requirements/quality.in
edx-opaque-keys[django]==2.10.0
edx-opaque-keys[django]==2.11.0
# via
# -r requirements/base.in
# edx-ccx-keys
Expand All @@ -154,11 +154,11 @@ exceptiongroup==1.2.2
# via pytest
factory-boy==3.3.1
# via -r requirements/test.in
faker==28.1.0
faker==28.4.1
# via factory-boy
fastavro==1.9.5
fastavro==1.9.7
# via openedx-events
filelock==3.15.4
filelock==3.16.0
# via
# tox
# virtualenv
Expand All @@ -173,7 +173,7 @@ importlib-metadata==8.4.0
# build
# keyring
# twine
importlib-resources==6.4.4
importlib-resources==6.4.5
# via keyring
iniconfig==2.0.0
# via pytest
Expand All @@ -199,10 +199,13 @@ keyring==25.3.0
# via twine
kombu==5.4.0
# via celery
lxml==5.3.0
lxml[html-clean]==5.3.0
# via
# edx-i18n-tools
# lxml-html-clean
# xblock
lxml-html-clean==0.2.2
# via lxml
mako==1.3.5
# via xblock
markdown-it-py==3.0.0
Expand All @@ -218,15 +221,15 @@ mdurl==0.1.2
# via markdown-it-py
mock==5.1.0
# via -r requirements/test.in
more-itertools==10.4.0
more-itertools==10.5.0
# via
# jaraco-classes
# jaraco-functools
newrelic==9.13.0
# via edx-django-utils
nh3==0.2.18
# via readme-renderer
openedx-events==9.12.0
openedx-events==9.14.0
# via event-tracking
packaging==24.1
# via
Expand All @@ -242,7 +245,7 @@ pip-tools==7.4.1
# via -r requirements/dev.in
pkginfo==1.10.0
# via twine
platformdirs==4.2.2
platformdirs==4.3.2
# via
# pylint
# tox
Expand Down Expand Up @@ -299,7 +302,7 @@ pyproject-hooks==1.1.0
# via
# build
# pip-tools
pytest==8.3.2
pytest==8.3.3
# via
# pytest-cov
# pytest-django
Expand Down Expand Up @@ -336,7 +339,7 @@ requests-toolbelt==1.0.0
# via twine
rfc3986==2.0.0
# via twine
rich==13.8.0
rich==13.8.1
# via twine
secretstorage==3.3.3
# via keyring
Expand Down Expand Up @@ -373,7 +376,7 @@ tomli==2.0.1
# tox
tomlkit==0.13.2
# via pylint
tox==4.18.0
tox==4.18.1
# via -r requirements/dev.in
twine==5.1.1
# via -r requirements/quality.in
Expand All @@ -398,7 +401,7 @@ vine==5.1.0
# amqp
# celery
# kombu
virtualenv==20.26.3
virtualenv==20.26.4
# via tox
wcwidth==0.2.13
# via prompt-toolkit
Expand Down
16 changes: 8 additions & 8 deletions requirements/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ celery==5.4.0
# via event-tracking
certifi==2024.8.30
# via requests
cffi==1.17.0
cffi==1.17.1
# via
# cryptography
# pynacl
Expand All @@ -59,7 +59,7 @@ code-annotations==1.8.0
# via edx-toggles
coverage[toml]==7.6.1
# via pytest-cov
cryptography==43.0.0
cryptography==43.0.1
# via pyjwt
ddt==1.7.2
# via -r requirements/test.in
Expand All @@ -81,7 +81,7 @@ django-crum==0.7.9
# via
# edx-django-utils
# edx-toggles
django-model-utils==4.5.1
django-model-utils==5.0.0
# via -r requirements/base.in
django-waffle==4.1.0
# via
Expand Down Expand Up @@ -113,7 +113,7 @@ edx-django-utils==5.15.0
# openedx-events
edx-drf-extensions==10.4.0
# via -r requirements/base.in
edx-opaque-keys[django]==2.10.0
edx-opaque-keys[django]==2.11.0
# via
# -r requirements/base.in
# edx-ccx-keys
Expand All @@ -131,9 +131,9 @@ exceptiongroup==1.2.2
# via pytest
factory-boy==3.3.1
# via -r requirements/test.in
faker==28.1.0
faker==28.4.1
# via factory-boy
fastavro==1.9.5
fastavro==1.9.7
# via openedx-events
freezegun==1.5.1
# via -r requirements/test.in
Expand Down Expand Up @@ -166,7 +166,7 @@ mock==5.1.0
# via -r requirements/test.in
newrelic==9.13.0
# via edx-django-utils
openedx-events==9.12.0
openedx-events==9.14.0
# via event-tracking
packaging==24.1
# via
Expand Down Expand Up @@ -201,7 +201,7 @@ pymongo==3.13.0
# event-tracking
pynacl==1.5.0
# via edx-django-utils
pytest==8.3.2
pytest==8.3.3
# via
# pytest-cov
# pytest-django
Expand Down
2 changes: 1 addition & 1 deletion requirements/pip-tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# make upgrade
#
build==1.2.1
build==1.2.2
# via pip-tools
click==8.1.7
# via pip-tools
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==74.1.1
setuptools==74.1.2
# via -r requirements/pip.in
Loading

0 comments on commit e6faca7

Please sign in to comment.