Confirm support for Django 4.1

Replaces deprecated `django.utils.timezone.utc` with
`datetime.timezone.utc` (available since Python 3.2).
This commit is contained in:
Tim Schilling
2022-08-24 15:24:27 -05:00
committed by GitHub
parent 6b3775a8e9
commit a4f50c4340
25 changed files with 80 additions and 89 deletions

View File

@@ -5,12 +5,14 @@ envlist =
# Factors: django-python-extras
# Test lint, docs, earliest/latest Django first, to catch most errors early...
lint
django40-py310-all
django41-py310-all
django20-py35-all
docs
# ... then test all the other supported combinations:
# Django 4.1: Python 3.8, 3.9, 3.10
django41-py{38,39,py38}-all
# Django 4.0: Python 3.8, 3.9, 3.10
django40-py{38,39,py38}-all
django40-py{38,39,310,py38}-all
# Django 3.2: Python 3.6, 3.7, 3.8, 3.9
django32-py{36,37,38,39,py38}-all
# Django 3.1: Python 3.6, 3.7, 3.8, 3.9 (added in 3.1.3)
@@ -39,6 +41,7 @@ deps =
django31: django~=3.1.0
django32: django~=3.2.0
django40: django~=4.0.0
django41: django~=4.1.0
djangoDev: https://github.com/django/django/tarball/main
old_urllib3: urllib3<1.25
extras =