Skip to content

Commit b2badef

Browse files
authored
pin pytest-django version (getsentry#873)
1 parent ed0e15d commit b2badef

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

tox.ini

+12-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,18 @@ deps =
9191
{py2.7,py3.7,py3.8,py3.9}-django-{1.11,2.2,3.0,3.1,dev}: psycopg2-binary
9292

9393
django-{1.6,1.7,1.8}: pytest-django<3.0
94-
django-{1.9,1.10,1.11,2.0,2.1,2.2,3.0,3.1}: pytest-django>=3.0
94+
95+
; TODO: once we upgrade pytest to at least 5.4, we can split it like this:
96+
; django-{1.9,1.10,1.11,2.0,2.1}: pytest-django<4.0
97+
; django-{2.2,3.0,3.1}: pytest-django>=4.0
98+
99+
; (note that py3.9, on which we recently began testing, only got official
100+
; support in pytest-django >=4.0, so we probablly want to upgrade the whole
101+
; kit and kaboodle at some point soon)
102+
103+
; see https://pytest-django.readthedocs.io/en/latest/changelog.html#v4-0-0-2020-10-16
104+
django-{1.9,1.10,1.11,2.0,2.1,2.2,3.0,3.1}: pytest-django<4.0
105+
95106
django-dev: git+https://github.com/pytest-dev/pytest-django#egg=pytest-django
96107

97108
django-1.6: Django>=1.6,<1.7

0 commit comments

Comments
 (0)