Skip to content

Commit

Permalink
Update Django 4.0 stable versions
Browse files Browse the repository at this point in the history
  • Loading branch information
pauloxnet authored and tim-schilling committed Dec 15, 2021
1 parent 46a07da commit db07db7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ classifiers =
Framework :: Django :: 2.2
Framework :: Django :: 3.1
Framework :: Django :: 3.2
Framework :: Django :: 4.0
Intended Audience :: Developers
License :: OSI Approved :: BSD License
Operating System :: OS Independent
Expand Down
14 changes: 7 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ envlist =

[testenv]
deps =
dj22: Django==2.2.*
dj31: Django==3.1.*
dj32: Django>=3.2,<4.0
dj40: Django>=4.0rc1,<4.1
dj22: django~=2.2.17
dj31: django~=3.1.3
dj32: django~=3.2.9
dj40: django~=4.0.0
sqlite: mock
postgresql: psycopg2-binary
postgis: psycopg2-binary
Expand Down Expand Up @@ -43,19 +43,19 @@ whitelist_externals = make
pip_pre = True
commands = make coverage TEST_ARGS='{posargs:tests}'

[testenv:py{36,37,38,39,310}-dj{22,31,32}-postgresql]
[testenv:py{36,37,38,39,310}-dj{22,31,32,40,main}}-postgresql]
setenv =
{[testenv]setenv}
DB_BACKEND = postgresql
DB_PORT = {env:DB_PORT:5432}

[testenv:py{36,37,38,39,310}-dj{22,31,32}-mysql]
[testenv:py{36,37,38,39,310}-dj{22,31,32,40,main}}-mysql]
setenv =
{[testenv]setenv}
DB_BACKEND = mysql
DB_PORT = {env:DB_PORT:3306}

[testenv:py{36,37,38,39,310}-dj{22,31,32,main}-sqlite]
[testenv:py{36,37,38,39,310}-dj{22,31,32,40,main}-sqlite]
setenv =
{[testenv]setenv}
DB_BACKEND = sqlite3
Expand Down

0 comments on commit db07db7

Please sign in to comment.