File tree 3 files changed +8
-2
lines changed
3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 11
11
jobs :
12
12
build :
13
13
14
+ # When testing new Python or Django versions, one should use the
15
+ # filterwarnings definition of setup.cfg to turn deprecation warnings
16
+ # into errors.
14
17
strategy :
15
18
matrix :
16
19
include :
Original file line number Diff line number Diff line change @@ -60,7 +60,10 @@ testpaths =
60
60
django_genericfilters/tests
61
61
demoproject/tests.py
62
62
filterwarnings =
63
- error
63
+ # Uncomment below when testing a new version of Python or Django so that
64
+ # DeprecationWarnings can be treated as errors
65
+ # error
66
+ ignore:.*distutils Version classes are deprecated.*:DeprecationWarning
64
67
65
68
DJANGO_SETTINGS_MODULE = demoproject.settings
66
69
Original file line number Diff line number Diff line change 23
23
django30: psycopg2<2.9 # https://github.com/django/django/commit/837ffcfa681d0f65f444d881ee3d69aec23770be
24
24
django31: Django ==3.1.*
25
25
django32: Django ==3.2.*
26
- django40: Django ==3.2 .*
26
+ django40: Django ==4.0 .*
27
27
commands =
28
28
pytest {posargs}
29
29
passenv =
You can’t perform that action at this time.
0 commit comments