Skip to content

Commit

Permalink
Merge pull request #258 from openedx/zshkoor/django42
Browse files Browse the repository at this point in the history
fix: Added support for Django42
  • Loading branch information
zubairshakoorarbisoft authored Aug 8, 2023
2 parents 6e1b811 + f075735 commit 31da87f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
matrix:
os: [ubuntu-20.04]
python-version: ['3.8']
toxenv: [quality, docs, without-django, django32, django40]
toxenv: [quality, docs, without-django, django32, django42]

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

- 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@v1
with:
flags: unittests
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2.4.0

* Added Support for Django 4.2

# 2.3.0

* Added Support for Django40 and removed Django22, 30 and 31
Expand Down
2 changes: 1 addition & 1 deletion opaque_keys/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from _collections import defaultdict
from stevedore.enabled import EnabledExtensionManager

__version__ = '2.3.0'
__version__ = '2.4.0'


class InvalidKeyError(Exception):
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[tox]
envlist = py38-django{32,40},quality,without-django
envlist = py38-django{32,42},quality,without-django
skip_missing_interpreters = True

[testenv]
deps =
django32: Django>=3.2,<4.0
django40: Django>=4.0,<4.1
django42: Django>=4.2,<4.3
-r{toxinidir}/requirements/django-test.txt
commands = pytest -v --disable-pytest-warnings --nomigrations {posargs}

Expand Down

0 comments on commit 31da87f

Please sign in to comment.