Subject: Re: [PATCH django-impersonate] Handle upcoming removal of timezone.utc (Django 5)

From: Hugo Rodger-Brown <[email-masked]>
Date: Wed, 8 Mar 2023 11:51:45 +0000

# HG changeset patch
# User Hugo Rodger-Brown <[email-masked]>
# Date 1678275953 0
#      Wed Mar 08 11:45:53 2023 +0000
# Node ID 4f2f5ede707f7fab5b7ea3dea5b43867282aaea8
# Parent  c0c223b5e10524c9cad20de0b11d901277f5b89d
Update tox build matrix

The original matrix was missing some combinations, and I couldn't work out
whether this was by design (latest minor version in each major version) or not,
so have gone for all currently supported versions from the documentation.

diff --git a/tox.ini b/tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -1,11 +1,17 @@
 [tox]
 downloadcache = {toxworkdir}/cache/
-envlist = py{37,38,39}-django{2.2,3.2},py{38,39}-django{4.0,4.1},py310-django{3.2,4.0,4.1},py311-django{3.2,4.0,4.1,main}
+envlist =
+ py{37,38,39}-django{2.2,3.0,3.1,3.2}
+ py{38,39,310}-django{4.0}
+ py{38,39,310,311}-django{4.1}
+ py{310,311}-django{main}

 [testenv]
 commands = {envpython} runtests.py
 deps =
  django2.2: django>=2.2,<3.0
+ django3.0: django>=3.0,<3.1
+ django3.1: django>=3.1,<3.2
  django3.2: django>=3.2,<4.0
  django4.0: django>=4.0,<4.1
  django4.1: django>=4.1,<4.2