Skip to content

Commit

Permalink
feat: add python 311 support
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Mar 29, 2024
1 parent 91491d7 commit 89aa35a
Show file tree
Hide file tree
Showing 11 changed files with 76 additions and 59 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04]
python-version: ['3.8']
toxenv: [quality, docs, pii-annotations, django32, django40]
python-version: ['3.8', '3.11']
toxenv: [quality, docs, pii-annotations, django42]

steps:
- uses: actions/checkout@v2
Expand All @@ -36,7 +36,7 @@ jobs:
run: tox

- name: Run Coverage
if: matrix.python-version == '3.8' && matrix.toxenv=='django32'
if: matrix.python-version == '3.8' && matrix.toxenv=='django42'
uses: codecov/codecov-action@v3
with:
flags: unittests
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ Change Log
Unreleased

[1.51.0] - 2024-03-29
---------------------
* feat: Added support for Python 3.11
* feat!: Dropped support for Django 3.2, Django 4.0 and Django 4.1

[1.50.0] - 2024-03-27
---------------------
* feat: Skill validation can be disbaled for a course or an organization
Expand Down
2 changes: 1 addition & 1 deletion requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#
distlib==0.3.8
# via virtualenv
filelock==3.13.1
filelock==3.13.3
# via
# tox
# virtualenv
Expand Down
5 changes: 4 additions & 1 deletion requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# linking to it here is good.

# Stay on an LTS release
django<4.0
django<4.3

path==13.1.0

Expand All @@ -28,3 +28,6 @@ sphinxcontrib-devhelp<=1.0.2
sphinxcontrib-htmlhelp<=2.0.1
sphinxcontrib-qthelp<=1.0.3
sphinxcontrib-serializinghtml<=1.1.5

# For python greater than or equal to 3.9 backports.zoneinfo causing failures
backports.zoneinfo; python_version<'3.9'
33 changes: 17 additions & 16 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ anyio==4.3.0
# -r requirements/test.txt
# httpx
# openai
asgiref==3.8.0
asgiref==3.8.1
# via
# -r requirements/test.txt
# django
Expand All @@ -33,26 +33,28 @@ attrs==23.2.0
# via
# -r requirements/test.txt
# openedx-events
backports-zoneinfo==0.2.1
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# -r requirements/test.txt
# django
# djangorestframework
beautifulsoup4==4.12.3
# via -r requirements/test.txt
billiard==3.6.4.0
# via
# -r requirements/test.txt
# celery
boto3==1.34.67
boto3==1.34.73
# via
# -r requirements/test.txt
# django-ses
botocore==1.34.67
botocore==1.34.73
# via
# -r requirements/test.txt
# boto3
# s3transfer
build==1.1.1
build==1.2.1
# via
# -r requirements/pip-tools.txt
# pip-tools
Expand Down Expand Up @@ -109,7 +111,7 @@ distro==1.9.0
# via
# -r requirements/test.txt
# openai
django==3.2.25
django==4.2.11
# via
# -c requirements/constraints.txt
# -r requirements/test.txt
Expand All @@ -130,7 +132,7 @@ django-crum==0.7.9
# via
# -r requirements/test.txt
# edx-django-utils
django-filter==23.5
django-filter==24.2
# via -r requirements/test.txt
django-model-utils==4.4.0
# via -r requirements/test.txt
Expand All @@ -144,7 +146,7 @@ django-waffle==4.1.0
# via
# -r requirements/test.txt
# edx-django-utils
djangorestframework==3.15.0
djangorestframework==3.15.1
# via -r requirements/test.txt
edx-django-utils==5.11.0
# via
Expand All @@ -168,15 +170,15 @@ exceptiongroup==1.2.0
# pytest
factory-boy==3.3.0
# via -r requirements/test.txt
faker==24.3.0
faker==24.4.0
# via
# -r requirements/test.txt
# factory-boy
fastavro==1.9.4
# via
# -r requirements/test.txt
# openedx-events
filelock==3.13.1
filelock==3.13.3
# via
# -r requirements/ci.txt
# tox
Expand All @@ -185,7 +187,7 @@ h11==0.14.0
# via
# -r requirements/test.txt
# httpcore
httpcore==1.0.4
httpcore==1.0.5
# via
# -r requirements/test.txt
# httpx
Expand Down Expand Up @@ -225,7 +227,7 @@ kombu==4.6.11
# via
# -r requirements/test.txt
# celery
lxml==5.1.0
lxml==5.1.1
# via edx-i18n-tools
markupsafe==2.1.5
# via
Expand All @@ -235,11 +237,11 @@ mccabe==0.7.0
# via pylint
mock==5.1.0
# via -r requirements/test.txt
newrelic==9.7.1
newrelic==9.8.0
# via
# -r requirements/test.txt
# edx-django-utils
openai==1.14.2
openai==1.14.3
# via -r requirements/test.txt
openedx-events==9.5.2
# via -r requirements/test.txt
Expand Down Expand Up @@ -337,7 +339,7 @@ pytest==8.1.1
# -r requirements/test.txt
# pytest-cov
# pytest-django
pytest-cov==4.1.0
pytest-cov==5.0.0
# via -r requirements/test.txt
pytest-django==4.8.0
# via -r requirements/test.txt
Expand All @@ -354,7 +356,6 @@ pytz==2024.1
# via
# -r requirements/test.txt
# celery
# django
# django-ses
pyyaml==6.0.1
# via
Expand Down
43 changes: 25 additions & 18 deletions requirements/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ anyio==4.3.0
# -r requirements/test.txt
# httpx
# openai
asgiref==3.8.0
asgiref==3.8.1
# via
# -r requirements/test.txt
# django
Expand All @@ -37,9 +37,11 @@ babel==2.14.0
# via
# pydata-sphinx-theme
# sphinx
backports-zoneinfo==0.2.1
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# -r requirements/test.txt
# django
# djangorestframework
beautifulsoup4==4.12.3
# via
Expand All @@ -49,16 +51,16 @@ billiard==3.6.4.0
# via
# -r requirements/test.txt
# celery
boto3==1.34.67
boto3==1.34.73
# via
# -r requirements/test.txt
# django-ses
botocore==1.34.67
botocore==1.34.73
# via
# -r requirements/test.txt
# boto3
# s3transfer
build==1.1.1
build==1.2.1
# via -r requirements/doc.in
celery==4.4.7
# via
Expand Down Expand Up @@ -95,7 +97,7 @@ distro==1.9.0
# via
# -r requirements/test.txt
# openai
django==3.2.25
django==4.2.11
# via
# -c requirements/constraints.txt
# -r requirements/test.txt
Expand All @@ -115,7 +117,7 @@ django-crum==0.7.9
# via
# -r requirements/test.txt
# edx-django-utils
django-filter==23.5
django-filter==24.2
# via -r requirements/test.txt
django-model-utils==4.4.0
# via -r requirements/test.txt
Expand All @@ -129,7 +131,7 @@ django-waffle==4.1.0
# via
# -r requirements/test.txt
# edx-django-utils
djangorestframework==3.15.0
djangorestframework==3.15.1
# via -r requirements/test.txt
doc8==1.1.1
# via -r requirements/doc.in
Expand Down Expand Up @@ -158,7 +160,7 @@ exceptiongroup==1.2.0
# pytest
factory-boy==3.3.0
# via -r requirements/test.txt
faker==24.3.0
faker==24.4.0
# via
# -r requirements/test.txt
# factory-boy
Expand All @@ -170,7 +172,7 @@ h11==0.14.0
# via
# -r requirements/test.txt
# httpcore
httpcore==1.0.4
httpcore==1.0.5
# via
# -r requirements/test.txt
# httpx
Expand All @@ -192,14 +194,18 @@ importlib-metadata==7.1.0
# keyring
# sphinx
# twine
importlib-resources==6.3.2
importlib-resources==6.4.0
# via keyring
iniconfig==2.0.0
# via
# -r requirements/test.txt
# pytest
jaraco-classes==3.3.1
# via keyring
jaraco-context==4.3.0
# via keyring
jaraco-functools==4.0.0
# via keyring
jinja2==3.1.3
# via
# -r requirements/test.txt
Expand All @@ -210,7 +216,7 @@ jmespath==1.0.1
# -r requirements/test.txt
# boto3
# botocore
keyring==24.3.1
keyring==25.0.0
# via twine
kombu==4.6.11
# via
Expand All @@ -227,14 +233,16 @@ mdurl==0.1.2
mock==5.1.0
# via -r requirements/test.txt
more-itertools==10.2.0
# via jaraco-classes
newrelic==9.7.1
# via
# jaraco-classes
# jaraco-functools
newrelic==9.8.0
# via
# -r requirements/test.txt
# edx-django-utils
nh3==0.2.15
nh3==0.2.17
# via readme-renderer
openai==1.14.2
openai==1.14.3
# via -r requirements/test.txt
openedx-events==9.5.2
# via -r requirements/test.txt
Expand Down Expand Up @@ -300,7 +308,7 @@ pytest==8.1.1
# -r requirements/test.txt
# pytest-cov
# pytest-django
pytest-cov==4.1.0
pytest-cov==5.0.0
# via -r requirements/test.txt
pytest-django==4.8.0
# via -r requirements/test.txt
Expand All @@ -318,7 +326,6 @@ pytz==2024.1
# -r requirements/test.txt
# babel
# celery
# django
# django-ses
pyyaml==6.0.1
# via
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.1.1
build==1.2.1
# via pip-tools
click==8.1.7
# via pip-tools
Expand Down
Loading

0 comments on commit 89aa35a

Please sign in to comment.