Skip to content

Commit 1675e95

Browse files
authored
Merge pull request #729 from WisdomPill/drop_django41_add_django50
Dropped django4.1 and added django 5.0
2 parents 9d074d4 + 294dcd0 commit 1675e95

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,29 +15,28 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
python-version:
18-
- '3.8'
19-
- '3.9'
2018
- '3.10'
19+
- '3.11'
2120
django-version:
22-
- '4.1'
2321
- '4.2'
22+
- '5.0'
2423
redis-version:
2524
- 'latest'
2625

2726
# Only test pre-release dependencies for the latest Python.
2827
include:
29-
# Django 4.1 and python 3.11 with latest redis
30-
- django-version: '4.1'
28+
# Django 4.2 and python 3.8 with latest redis
29+
- django-version: '4.2'
3130
redis-version: 'latest'
32-
python-version: '3.11'
31+
python-version: '3.8'
3332

34-
# Django 4.2 and python 3.11 with latest redis
33+
# Django 4.2 and python 3.9 with latest redis
3534
- django-version: '4.2'
3635
redis-version: 'latest'
37-
python-version: '3.11'
36+
python-version: '3.9'
3837

3938
# latest Django with pre-release redis
40-
- django-version: '4.2'
39+
- django-version: '5.0'
4140
redis-version: 'master'
4241
python-version: '3.11'
4342

changelog.d/729.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dropped support for django 4.1 and added support for django 5.0

setup.cfg

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ classifiers =
1212
Development Status :: 5 - Production/Stable
1313
Environment :: Web Environment
1414
Framework :: Django
15-
Framework :: Django :: 4.1
1615
Framework :: Django :: 4.2
16+
Framework :: Django :: 5.0
1717
Intended Audience :: Developers
1818
License :: OSI Approved :: BSD License
1919
Operating System :: OS Independent
@@ -35,7 +35,7 @@ packages =
3535
django_redis.serializers
3636
django_redis.compressors
3737
install_requires =
38-
Django>=4.1
38+
Django>=4.2
3939
redis>=4.0.2
4040

4141
[options.extras_require]
@@ -56,9 +56,9 @@ envlist =
5656
ruff
5757
mypy
5858
# tests against released versions
59-
py{38,39,310,311}-dj{41,42}-redislatest
59+
py{38,39,310,311}-dj{42,50}-redislatest
6060
# tests against unreleased versions
61-
py311-dj42-redismaster
61+
py311-dj50-redismaster
6262
py311-djmain-redis{latest,master}
6363

6464
[gh-actions]
@@ -70,8 +70,8 @@ python =
7070

7171
[gh-actions:env]
7272
DJANGO =
73-
4.1: dj41
7473
4.2: dj42
74+
5.0: dj50
7575
main: djmain
7676
REDIS =
7777
latest: redislatest
@@ -96,8 +96,8 @@ commands =
9696
{envpython} -m coverage xml
9797

9898
deps =
99-
dj41: Django>=4.1,<4.2
10099
dj42: Django>=4.2,<5.0
100+
dj50: Django>=5.0,<5.1
101101
djmain: https://github.com/django/django/archive/main.tar.gz
102102
msgpack>=0.6.0
103103
pytest

0 commit comments

Comments
 (0)