From 47b610dbbb018206d69db9bf79d7ec4eac546529 Mon Sep 17 00:00:00 2001 From: marianoeramirez Date: Fri, 30 Jun 2023 19:10:07 -0400 Subject: [PATCH 1/4] django 4.2 --- CHANGELOG | 3 +++ tox.ini | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index a9227674..cd47c7fa 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2023-7-1 + Django 4.2 support + 2022-08-7 Default apps.py file to define the default primary key field diff --git a/tox.ini b/tox.ini index 474191a8..d9b9b293 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{38,39,310,3.11}-django{30,31,32,40,41}{-sqlite,-mysql,-postgresql}, + py{38,39,310,3.11}-django{30,31,32,40,41,42}{-sqlite,-mysql,-postgresql}, checkqa, pylint, docs @@ -55,6 +55,7 @@ deps = django32: Django>=3.2,<4.0 django40: Django>=4.0,<4.1 django41: Django>=4.1,<4.2 + django42: Django>=4.2,<5.0 postgresql: psycopg2-binary==2.8.6 mysql: mysqlclient setenv = From 655a8872eb411cc9bd75715faf30e760764e748d Mon Sep 17 00:00:00 2001 From: marianoeramirez Date: Fri, 30 Jun 2023 19:41:19 -0400 Subject: [PATCH 2/4] upgrade psycopg2-binary --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index d9b9b293..225ffe66 100644 --- a/tox.ini +++ b/tox.ini @@ -56,7 +56,7 @@ deps = django40: Django>=4.0,<4.1 django41: Django>=4.1,<4.2 django42: Django>=4.2,<5.0 - postgresql: psycopg2-binary==2.8.6 + postgresql: psycopg2-binary==2.9.6 mysql: mysqlclient setenv = PIP_ALLOW_EXTERNAL=true @@ -90,7 +90,7 @@ deps = {[docs]deps} {[test]deps} # all supported database backends - psycopg2-binary==2.9.2 + psycopg2-binary==2.9.6 mysqlclient # ipython ipython From bee2d9802a400ac943b4e1260a67835fb035a3d4 Mon Sep 17 00:00:00 2001 From: marianoeramirez Date: Fri, 30 Jun 2023 19:50:08 -0400 Subject: [PATCH 3/4] tox passenv --- tox.ini | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 225ffe66..cb983f8a 100644 --- a/tox.ini +++ b/tox.ini @@ -70,7 +70,11 @@ setenv = mysql: DB_NAME=cities_light_test mysql: DB_ENGINE=mysql mysql: DB_USER=root -passenv = TEST_* DBDIFF_* DB_* PGPASSWORD +passenv = + TEST_* + DBDIFF_* + DB_* + PGPASSWORD [testenv:checkqa] basepython = python3.8 From 77b3908f08f5c54f4388213730cb68c4b70461b0 Mon Sep 17 00:00:00 2001 From: marianoeramirez Date: Fri, 30 Jun 2023 20:00:53 -0400 Subject: [PATCH 4/4] drop support django 3.0 and 3.1 --- tox.ini | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index cb983f8a..6b46be57 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{38,39,310,3.11}-django{30,31,32,40,41,42}{-sqlite,-mysql,-postgresql}, + py{38,39,310,3.11}-django{32,40,41,42}{-sqlite,-mysql,-postgresql}, checkqa, pylint, docs @@ -50,8 +50,6 @@ allowlist_externals = psql deps = {[test]deps} - django30: Django>=3.0,<3.1 - django31: Django>=3.1,<3.2 django32: Django>=3.2,<4.0 django40: Django>=4.0,<4.1 django41: Django>=4.1,<4.2