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 Jun 21, 2024
1 parent 91491d7 commit 0d3dae9
Show file tree
Hide file tree
Showing 12 changed files with 335 additions and 211 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
10 changes: 5 additions & 5 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
#
distlib==0.3.8
# via virtualenv
filelock==3.13.1
filelock==3.15.3
# via
# tox
# virtualenv
packaging==24.0
packaging==24.1
# via tox
platformdirs==4.2.0
platformdirs==4.2.2
# via virtualenv
pluggy==1.4.0
pluggy==1.5.0
# via tox
py==1.11.0
# via tox
Expand All @@ -26,5 +26,5 @@ tox==3.28.0
# via
# -c requirements/constraints.txt
# -r requirements/ci.in
virtualenv==20.25.1
virtualenv==20.26.2
# via tox
7 changes: 4 additions & 3 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@
# linking to it here is good.

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

path==13.1.0

celery<5.0

# latest version causing issues in discovery.
algoliasearch-django<4.0.0
algoliasearch<2.0.0
Expand All @@ -28,3 +26,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'
Loading

0 comments on commit 0d3dae9

Please sign in to comment.