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 4753ecb commit 8114f7b
Show file tree
Hide file tree
Showing 17 changed files with 386 additions and 456 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
name: Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
python-version: ["3.8"]
python-version: ["3.8", "3.11", "3.12"]
toxenv:
[
quality,
docs,
pii_check,
django32-celery53,
django42-celery53,
]

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Change Log
Unreleased

* Added support for python3.11 and 3.12.


[1.0.2] - 2023-06-14
Expand Down
2 changes: 1 addition & 1 deletion bulk_grades/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
Support for bulk scoring and grading.
"""

__version__ = '1.0.2'
__version__ = '1.1.0'

default_app_config = 'bulk_grades.apps.BulkGradesConfig' # pylint: disable=invalid-name
7 changes: 4 additions & 3 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
# SERIOUSLY.
#
# ------------------------------
# Generated by edx-lint version: 5.2.5
# Generated by edx-lint version: 5.3.6
# ------------------------------
[MASTER]
ignore = migrations
Expand Down Expand Up @@ -259,6 +259,7 @@ enable =
useless-suppression,
disable =
bad-indentation,
broad-exception-raised,
consider-using-f-string,
duplicate-code,
file-ignored,
Expand Down Expand Up @@ -380,6 +381,6 @@ ext-import-graph =
int-import-graph =

[EXCEPTIONS]
overgeneral-exceptions = Exception
overgeneral-exceptions = builtins.Exception

# 5c8115dcb3bd75a9758176a14fe711a6e08e1204
# 51d8d787cec6c0ebd4ce8952786fa06e7b785043
69 changes: 31 additions & 38 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,30 +1,26 @@
#
# 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
#
amqp==5.1.1
amqp==5.2.0
# via kombu
asgiref==3.7.2
# via django
backports-zoneinfo[tzdata]==0.2.1
# via
# celery
# kombu
billiard==4.1.0
billiard==4.2.0
# via celery
celery==5.3.1
celery==5.3.6
# via
# -c requirements/constraints.txt
# edx-celeryutils
certifi==2023.7.22
certifi==2024.2.2
# via requests
cffi==1.15.1
cffi==1.16.0
# via pynacl
charset-normalizer==3.2.0
charset-normalizer==3.3.2
# via requests
click==8.1.6
click==8.1.7
# via
# celery
# click-didyoumean
Expand All @@ -37,13 +33,14 @@ click-plugins==1.1.1
# via celery
click-repl==0.3.0
# via celery
django==3.2.20
django==3.2.24
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -c requirements/constraints.txt
# -r requirements/base.in
# django-crum
# django-model-utils
# django-waffle
# djangorestframework
# edx-celeryutils
# edx-django-utils
Expand All @@ -53,34 +50,34 @@ django-crum==0.7.9
# via
# edx-django-utils
# super-csv
django-model-utils==4.3.1
django-model-utils==4.4.0
# via
# -r requirements/base.in
# edx-celeryutils
# super-csv
django-waffle==3.0.0
django-waffle==4.1.0
# via edx-django-utils
djangorestframework==3.14.0
# via super-csv
edx-celeryutils==1.2.2
edx-celeryutils==1.2.5
# via super-csv
edx-django-utils==5.6.0
edx-django-utils==5.10.1
# via super-csv
edx-opaque-keys==2.3.0
edx-opaque-keys==2.5.1
# via -r requirements/base.in
idna==3.4
idna==3.6
# via requests
jsonfield==3.1.0
# via edx-celeryutils
kombu==5.3.1
kombu==5.3.5
# via celery
newrelic==8.8.1
newrelic==9.6.0
# via edx-django-utils
pbr==5.11.1
pbr==6.0.0
# via stevedore
prompt-toolkit==3.0.39
prompt-toolkit==3.0.43
# via click-repl
psutil==5.9.5
psutil==5.9.8
# via edx-django-utils
pycparser==2.21
# via cffi
Expand All @@ -90,15 +87,15 @@ pynacl==1.5.0
# via edx-django-utils
python-dateutil==2.8.2
# via celery
pytz==2023.3
pytz==2024.1
# via
# django
# djangorestframework
requests==2.31.0
# via
# -r requirements/base.in
# slumber
simplejson==3.19.1
simplejson==3.19.2
# via super-csv
six==1.16.0
# via python-dateutil
Expand All @@ -110,22 +107,18 @@ stevedore==5.1.0
# via
# edx-django-utils
# edx-opaque-keys
super-csv==3.0.1
super-csv==3.1.0
# via -r requirements/base.in
typing-extensions==4.7.1
# via
# asgiref
# kombu
tzdata==2023.3
# via
# backports-zoneinfo
# celery
urllib3==2.0.4
typing-extensions==4.9.0
# via edx-opaque-keys
tzdata==2024.1
# via celery
urllib3==2.2.0
# via requests
vine==5.0.0
vine==5.1.0
# via
# amqp
# celery
# kombu
wcwidth==0.2.6
wcwidth==0.2.13
# via prompt-toolkit
14 changes: 7 additions & 7 deletions requirements/celery50.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
amqp==5.1.1
billiard==4.1.0
celery==5.3.1
click==8.1.6
amqp==5.2.0
billiard==4.2.0
celery==5.3.6
click==8.1.7
click-didyoumean==0.3.0
click-repl==0.3.0
kombu==5.3.1
prompt-toolkit==3.0.39
vine==5.0.0
kombu==5.3.5
prompt-toolkit==3.0.43
vine==5.1.0
14 changes: 7 additions & 7 deletions requirements/celery53.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
amqp==5.1.1
billiard==4.1.0
celery==5.3.1
click==8.1.6
amqp==5.2.0
billiard==4.2.0
celery==5.3.6
click==8.1.7
click-didyoumean==0.3.0
click-repl==0.3.0
kombu==5.3.1
prompt-toolkit==3.0.39
vine==5.0.0
kombu==5.3.5
prompt-toolkit==3.0.43
vine==5.1.0
42 changes: 23 additions & 19 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -1,32 +1,36 @@
#
# 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
#
coverage==7.2.7
cachetools==5.3.2
# via tox
chardet==5.2.0
# via tox
colorama==0.4.6
# via tox
coverage==7.4.1
# via -r requirements/ci.in
distlib==0.3.7
distlib==0.3.8
# via virtualenv
filelock==3.12.2
filelock==3.13.1
# via
# tox
# virtualenv
packaging==23.1
# via tox
platformdirs==3.9.1
# via virtualenv
pluggy==1.2.0
# via tox
py==1.11.0
# via tox
six==1.16.0
packaging==23.2
# via
# pyproject-api
# tox
platformdirs==4.2.0
# via
# tox
# virtualenv
pluggy==1.4.0
# via tox
tomli==2.0.1
pyproject-api==1.6.1
# via tox
tox==3.28.0
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/ci.in
virtualenv==20.24.2
tox==4.12.1
# via -r requirements/ci.in
virtualenv==20.25.0
# via tox
Loading

0 comments on commit 8114f7b

Please sign in to comment.