Skip to content

Commit

Permalink
chore: test on django 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bertonha authored and auvipy committed Dec 10, 2021
1 parent 08af89d commit cf025e7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ classifiers =
Framework :: Django :: 2.2
Framework :: Django :: 3.0
Framework :: Django :: 3.1
Framework :: Django :: 3.2
Framework :: Django :: 4.0
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Programming Language :: Python
Expand Down
2 changes: 2 additions & 0 deletions tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@
PUSH_NOTIFICATIONS_SETTINGS = {
"WP_CLAIMS": {"sub": "mailto: [email protected]"}
}

USE_DEPRECATED_PYTZ = True
2 changes: 2 additions & 0 deletions tests/settings_unique.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@
"WP_CLAIMS": {"sub": "mailto: [email protected]"},
"UNIQUE_REG_ID": True
}

USE_DEPRECATED_PYTZ = True
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
skipsdist = True
usedevelop = true
envlist =
py{36,37,38,39}-dj{22,30,31,32}
py{36,37,38,39}-dj{22,30,31,32,40}
py{38,39}-djmain
flake8

Expand All @@ -19,6 +19,7 @@ DJANGO =
3.0: dj30
3.1: dj31
3.2: dj32
4.0: dj40
main: djmain

[testenv]
Expand All @@ -36,11 +37,13 @@ deps =
pytest-cov
pytest-django
pywebpush
pytz
djangorestframework==3.11.0
dj22: Django>=2.2,<3.0
dj30: Django>=3.0,<3.1
dj31: Django>=3.1,<3.2
dj32: Django>=3.2,<3.3
dj40: Django>=4.0,<4.1
djmain: https://github.com/django/django/archive/main.tar.gz

[testenv:flake8]
Expand Down

0 comments on commit cf025e7

Please sign in to comment.