Skip to content

Commit fae6d62

Browse files
committed
fix CI
1 parent cc08a6b commit fae6d62

File tree

2 files changed

+42
-3
lines changed

2 files changed

+42
-3
lines changed

CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ A major release `N` implies the previous release `N-1` will no longer receive up
2222

2323
## 0.19.3
2424

25-
- Automatically pass integration-relevant data to `traces_sampler` for AWS, AIOHTTP, ASGI, Bottle, Celery, Django, Falcon, GCP, Pyrammid, Tryton, RQ, and WSGI integrations
25+
- Automatically pass integration-relevant data to `traces_sampler` for AWS, AIOHTTP, ASGI, Bottle, Celery, Django, Falcon, Flask, GCP, Pyramid, Tryton, RQ, and WSGI integrations
2626
- Fix a bug where the AWS integration would crash if event was anything besides a dictionary
2727
- Fix the Django integrations's ASGI handler for Channels 3.0. Thanks Luke Pomfrey!
2828

tox.ini

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ envlist =
2828

2929
{pypy,py2.7,py3.4,py3.5,py3.6,py3.7,py3.8,py3.9}-flask-{0.10,0.11,0.12,1.0}
3030
{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
3234

3335
{pypy,py2.7,py3.5,py3.6,py3.7,py3.8,py3.9}-bottle-0.12
3436

@@ -132,7 +134,10 @@ deps =
132134
flask-0.12: Flask>=0.12,<0.13
133135
flask-1.0: Flask>=1.0,<1.1
134136
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
136141

137142
bottle-0.12: bottle>=0.12,<0.13
138143
bottle-dev: git+https://github.com/bottlepy/bottle#egg=bottle
@@ -293,6 +298,40 @@ basepython =
293298
commands =
294299
py.test {env:TESTPATH} {posargs}
295300

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+
296335
[testenv:linters]
297336
commands =
298337
flake8 tests examples sentry_sdk

0 commit comments

Comments
 (0)