Skip to content

Commit

Permalink
feat: add support for python 3.11 & 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
irtazaakram committed Feb 15, 2024
1 parent f337d10 commit 99fd7cb
Show file tree
Hide file tree
Showing 14 changed files with 120 additions and 195 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ jobs:
name: Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
python-version: ['3.8']
toxenv: [quality, django32-drf314, django32-drflatest, django42-drf314, django42-drflatest]
python-version: ['3.8', '3.11', '3.12']
toxenv: [quality, django42-drf314, django42-drflatest]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Change Log
Unreleased
~~~~~~~~~~

* Add support for Python 3.11 & 3.12

[4.4.1] - 2023-10-27
~~~~~~~~~~~~~~~~~~~~
* Fix RemovedInDjango41Warning by removing `django_app_config`
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.4.1'
__version__ = '4.5.0'
4 changes: 1 addition & 3 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -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.12
# by the following command:
#
# make upgrade
Expand All @@ -22,8 +22,6 @@ py==1.11.0
# via tox
six==1.16.0
# via tox
tomli==2.0.1
# via tox
tox==3.28.0
# via
# -c requirements/constraints.txt
Expand Down
2 changes: 1 addition & 1 deletion requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# pin when possible. Writing an issue against the offending project and
# linking to it here is good.

Django < 3.3
Django < 5.0

# tox >= 4.0.0 is a complete rewrite of the tox package. It is not a
# simple upgrade. I've pinned the version to allow us to time to prioritize this upgrade.
Expand Down
81 changes: 26 additions & 55 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -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.12
# by the following command:
#
# make upgrade
Expand All @@ -14,10 +14,8 @@ astroid==3.0.3
# via
# pylint
# pylint-celery
backports-zoneinfo[tzdata]==0.2.1
# via
# celery
# kombu
attrs==23.2.0
# via openedx-events
billiard==4.2.0
# via celery
build==1.0.3
Expand Down Expand Up @@ -62,9 +60,7 @@ coverage[toml]==7.4.1
# coverage
# pytest-cov
cryptography==42.0.2
# via
# pyjwt
# secretstorage
# via pyjwt
ddt==1.7.1
# via -r requirements/test.in
diff-cover==8.0.3
Expand All @@ -73,7 +69,7 @@ dill==0.3.8
# via pylint
distlib==0.3.8
# via virtualenv
django==3.2.24
django==4.2.10
# via
# -c requirements/constraints.txt
# -r requirements/base.in
Expand All @@ -87,11 +83,12 @@ django==3.2.24
# edx-i18n-tools
# edx-toggles
# event-tracking
# openedx-events
django-crum==0.7.9
# via
# edx-django-utils
# edx-toggles
django-model-utils==4.3.1
django-model-utils==4.4.0
# via -r requirements/base.in
django-waffle==4.1.0
# via
Expand All @@ -112,6 +109,7 @@ edx-django-utils==5.10.1
# edx-drf-extensions
# edx-toggles
# event-tracking
# openedx-events
edx-drf-extensions==10.2.0
# via -r requirements/base.in
edx-i18n-tools==1.3.0
Expand All @@ -124,16 +122,19 @@ edx-opaque-keys[django]==2.5.1
# via
# -r requirements/base.in
# edx-drf-extensions
# openedx-events
edx-toggles==5.1.1
# via
# -r requirements/base.in
# event-tracking
event-tracking==2.3.0
# via -r requirements/base.in
event-tracking==2.2.0
# via -r requirements/base.in
exceptiongroup==1.2.0
# via pytest
factory-boy==3.3.0
# via -r requirements/test.in
faker==22.7.0
faker==23.2.0
# via factory-boy
fastavro==1.9.4
# via openedx-events
filelock==3.13.1
# via
# tox
Expand All @@ -145,24 +146,15 @@ fs==2.4.16
idna==3.6
# via requests
importlib-metadata==7.0.1
# via
# build
# keyring
# twine
importlib-resources==6.1.1
# via keyring
# via twine
iniconfig==2.0.0
# via pytest
isort==5.13.2
# via
# -r requirements/quality.in
# pylint
jaraco-classes==3.3.0
jaraco-classes==3.3.1
# via keyring
jeepney==0.8.0
# via
# keyring
# secretstorage
jinja2==3.1.3
# via
# code-annotations
Expand Down Expand Up @@ -196,6 +188,8 @@ newrelic==9.6.0
# via edx-django-utils
nh3==0.2.15
# via readme-renderer
openedx-events==9.5.1
# via event-tracking
packaging==23.2
# via
# build
Expand Down Expand Up @@ -278,12 +272,11 @@ python-dateutil==2.8.2
# faker
# freezegun
# xblock
python-slugify==8.0.3
python-slugify==8.0.4
# via code-annotations
pytz==2024.1
# via
# -r requirements/base.in
# django
# djangorestframework
# event-tracking
# xblock
Expand All @@ -305,8 +298,6 @@ rfc3986==2.0.0
# via twine
rich==13.7.0
# via twine
secretstorage==3.3.3
# via keyring
semantic-version==2.10.0
# via edx-drf-extensions
simplejson==3.19.2
Expand All @@ -329,36 +320,18 @@ stevedore==5.1.0
# edx-opaque-keys
text-unidecode==1.3
# via python-slugify
tomli==2.0.1
# via
# build
# coverage
# pip-tools
# pylint
# pyproject-hooks
# pytest
# tox
tomlkit==0.12.3
# via pylint
tox==3.28.0
# via
# -c requirements/constraints.txt
# -r requirements/dev.in
twine==4.0.2
twine==5.0.0
# via -r requirements/quality.in
typing-extensions==4.9.0
# via
# asgiref
# astroid
# edx-opaque-keys
# faker
# kombu
# pylint
# rich
tzdata==2023.4
# via
# backports-zoneinfo
# celery
# via edx-opaque-keys
tzdata==2024.1
# via celery
urllib3==2.2.0
# via
# requests
Expand All @@ -381,9 +354,7 @@ wheel==0.42.0
xblock==1.10.0
# via -r requirements/base.in
zipp==3.17.0
# via
# importlib-metadata
# importlib-resources
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# pip
Expand Down
Loading

0 comments on commit 99fd7cb

Please sign in to comment.