From f075735b3205641ae0461a0224386b40ca936796 Mon Sep 17 00:00:00 2001 From: zubairshakoorarbisoft Date: Tue, 8 Aug 2023 14:39:50 +0500 Subject: [PATCH] fix: Added support for Django42 --- .github/workflows/ci.yml | 4 ++-- CHANGELOG.rst | 4 ++++ opaque_keys/__init__.py | 2 +- tox.ini | 4 ++-- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2d954e08..54d1e808 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 8d92f0c2..0d3624e7 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -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 diff --git a/opaque_keys/__init__.py b/opaque_keys/__init__.py index 50d00270..e9b32440 100644 --- a/opaque_keys/__init__.py +++ b/opaque_keys/__init__.py @@ -13,7 +13,7 @@ from _collections import defaultdict from stevedore.enabled import EnabledExtensionManager -__version__ = '2.3.0' +__version__ = '2.4.0' class InvalidKeyError(Exception): diff --git a/tox.ini b/tox.ini index 149f9a95..d43af4f8 100644 --- a/tox.ini +++ b/tox.ini @@ -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}