Skip to content

Commit

Permalink
Support for django 4.2 (#280)
Browse files Browse the repository at this point in the history
* django 4.2

* upgrade  psycopg2-binary

* tox passenv

* drop support django 3.0 and 3.1

---------

Co-authored-by: marianoeramirez <Sosinformatico1990>
  • Loading branch information
marianoeramirez authored Jul 1, 2023
1 parent 14d4996 commit 499fe89
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -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

Expand Down
15 changes: 9 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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{32,40,41,42}{-sqlite,-mysql,-postgresql},
checkqa,
pylint,
docs
Expand Down Expand Up @@ -50,12 +50,11 @@ 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
postgresql: psycopg2-binary==2.8.6
django42: Django>=4.2,<5.0
postgresql: psycopg2-binary==2.9.6
mysql: mysqlclient
setenv =
PIP_ALLOW_EXTERNAL=true
Expand All @@ -69,7 +68,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
Expand All @@ -89,7 +92,7 @@ deps =
{[docs]deps}
{[test]deps}
# all supported database backends
psycopg2-binary==2.9.2
psycopg2-binary==2.9.6
mysqlclient
# ipython
ipython
Expand Down

0 comments on commit 499fe89

Please sign in to comment.