diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04a4aefd..30b52ba9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,29 +15,28 @@ jobs: fail-fast: false matrix: python-version: - - '3.8' - - '3.9' - '3.10' + - '3.11' django-version: - - '4.1' - '4.2' + - '5.0' redis-version: - 'latest' # Only test pre-release dependencies for the latest Python. include: - # Django 4.1 and python 3.11 with latest redis - - django-version: '4.1' + # Django 4.2 and python 3.8 with latest redis + - django-version: '4.2' redis-version: 'latest' - python-version: '3.11' + python-version: '3.8' - # Django 4.2 and python 3.11 with latest redis + # Django 4.2 and python 3.9 with latest redis - django-version: '4.2' redis-version: 'latest' - python-version: '3.11' + python-version: '3.9' # latest Django with pre-release redis - - django-version: '4.2' + - django-version: '5.0' redis-version: 'master' python-version: '3.11' diff --git a/changelog.d/729.misc b/changelog.d/729.misc new file mode 100644 index 00000000..09df626f --- /dev/null +++ b/changelog.d/729.misc @@ -0,0 +1 @@ +Dropped support for django 4.1 and added support for django 5.0 \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index 8e474cf9..fbbc9113 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,8 +12,8 @@ classifiers = Development Status :: 5 - Production/Stable Environment :: Web Environment Framework :: Django - Framework :: Django :: 4.1 Framework :: Django :: 4.2 + Framework :: Django :: 5.0 Intended Audience :: Developers License :: OSI Approved :: BSD License Operating System :: OS Independent @@ -35,7 +35,7 @@ packages = django_redis.serializers django_redis.compressors install_requires = - Django>=4.1 + Django>=4.2 redis>=4.0.2 [options.extras_require] @@ -56,9 +56,9 @@ envlist = ruff mypy # tests against released versions - py{38,39,310,311}-dj{41,42}-redislatest + py{38,39,310,311}-dj{42,50}-redislatest # tests against unreleased versions - py311-dj42-redismaster + py311-dj50-redismaster py311-djmain-redis{latest,master} [gh-actions] @@ -70,8 +70,8 @@ python = [gh-actions:env] DJANGO = - 4.1: dj41 4.2: dj42 + 5.0: dj50 main: djmain REDIS = latest: redislatest @@ -96,8 +96,8 @@ commands = {envpython} -m coverage xml deps = - dj41: Django>=4.1,<4.2 dj42: Django>=4.2,<5.0 + dj50: Django>=5.0,<5.1 djmain: https://github.com/django/django/archive/main.tar.gz msgpack>=0.6.0 pytest