@@ -28,7 +28,9 @@ envlist =
28
28
29
29
{pypy,py2.7,py3.4,py3.5,py3.6,py3.7,py3.8,py3.9}-flask-{0.10,0.11,0.12,1.0}
30
30
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8,py3.9}-flask-1.1
31
- {py3.6,py3.7,py3.8,py3.9}-flask-dev
31
+
32
+ # TODO: see note in [testenv:flask-dev] below
33
+ ; {py3.6,py3.7,py3.8,py3.9}-flask-dev
32
34
33
35
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8,py3.9}-bottle-0.12
34
36
@@ -132,7 +134,10 @@ deps =
132
134
flask-0.12: Flask>=0.12,<0.13
133
135
flask-1.0: Flask>=1.0,<1.1
134
136
flask-1.1: Flask>=1.1,<1.2
135
- flask-dev: git+https://github.com/pallets/flask.git# egg=flask
137
+
138
+ # TODO: see note in [testenv:flask-dev] below
139
+ ; flask-dev: git+https://github.com/pallets/flask.git#egg=flask
140
+ ; flask-dev: git+https://github.com/pallets/werkzeug.git#egg=werkzeug
136
141
137
142
bottle-0.12: bottle>=0.12,<0.13
138
143
bottle-dev: git+https://github.com/bottlepy/bottle# egg=bottle
@@ -293,6 +298,40 @@ basepython =
293
298
commands =
294
299
py.test {env:TESTPATH} {posargs}
295
300
301
+
302
+ # TODO: This is broken out as a separate env so as to be able to override the
303
+ # werkzeug version. (You can't do it just by letting one version be specifed in
304
+ # a requirements file and specifying a different version in one testenv, see
305
+ # https://github.com/tox-dev/tox/issues/1390.) The issue is that as of 11/11/20,
306
+ # flask-dev has made a change which werkzeug then had to compensate for in
307
+ # https://github.com/pallets/werkzeug/pull/1960. Since we've got werkzeug
308
+ # pinned at 0.15.5 in test-requirements.txt, we don't get this fix.
309
+
310
+ # At some point, we probably want to revisit this, since the list copied from
311
+ # test-requirements.txt could easily get stale.
312
+ [testenv:flask-dev]
313
+ deps =
314
+ git+https://github.com/pallets/flask.git# egg=flask
315
+ git+https://github.com/pallets/werkzeug.git# egg=werkzeug
316
+
317
+ # everything below this point is from test-requirements.txt (minus, of
318
+ # course, werkzeug)
319
+ pytest ==3.7.3
320
+ pytest-forked ==1.1.3
321
+ tox ==3.7.0
322
+ pytest-localserver ==0.5.0
323
+ pytest-cov ==2.8.1
324
+ jsonschema ==3.2.0
325
+ pyrsistent ==0.16.0 # TODO(py3): 0.17.0 requires python3, see https://github.com/tobgu/pyrsistent/issues/205
326
+ mock # for testing under python < 3.3
327
+
328
+ gevent
329
+ eventlet
330
+
331
+ newrelic
332
+ executing
333
+ asttokens
334
+
296
335
[testenv:linters]
297
336
commands =
298
337
flake8 tests examples sentry_sdk
0 commit comments