Skip to content

Commit 1b8ab68

Browse files
Add to tox.ini
1 parent 3e1711c commit 1b8ab68

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

instrumentation/opentelemetry-instrumentation-flask/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ instruments = [
3939
]
4040
test = [
4141
"opentelemetry-instrumentation-flask[instruments]",
42-
"flask >= 2.2.0",
43-
"markupsafe==2.0.1",
42+
"markupsafe>=2.0.1",
4443
"opentelemetry-test-utils == 0.39b0.dev",
4544
]
4645

tox.ini

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ envlist =
8080
pypy3-test-instrumentation-fastapi
8181

8282
; opentelemetry-instrumentation-flask
83-
py3{7,8,9,10,11}-test-instrumentation-flask
83+
py3{7,8,9,10,11}-test-instrumentation-flask{213,220}
8484
pypy3-test-instrumentation-flask
8585

8686
; opentelemetry-instrumentation-urllib
@@ -254,6 +254,8 @@ deps =
254254
falcon1: falcon ==1.4.1
255255
falcon2: falcon >=2.0.0,<3.0.0
256256
falcon3: falcon >=3.0.0,<4.0.0
257+
flask213: Flask<=2.1.3
258+
flask220: Flask>=2.2.0
257259
grpc: pytest-asyncio
258260
sqlalchemy11: sqlalchemy>=1.1,<1.2
259261
sqlalchemy14: aiosqlite
@@ -359,8 +361,8 @@ commands_pre =
359361

360362
grpc: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-grpc[test]
361363

362-
falcon{1,2,3},flask,django{1,2,3,4},pyramid,tornado,starlette,fastapi,aiohttp,asgi,requests,urllib,urllib3,wsgi: pip install {toxinidir}/util/opentelemetry-util-http[test]
363-
wsgi,falcon{1,2,3},flask,django{1,2,3,4},pyramid: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-wsgi[test]
364+
falcon{1,2,3},flask{213,220},django{1,2,3,4},pyramid,tornado,starlette,fastapi,aiohttp,asgi,requests,urllib,urllib3,wsgi: pip install {toxinidir}/util/opentelemetry-util-http[test]
365+
wsgi,falcon{1,2,3},flask{213,220},django{1,2,3,4},pyramid: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-wsgi[test]
364366
asgi,django{3,4},starlette,fastapi: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-asgi[test]
365367

366368
asyncpg: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-asyncpg[test]
@@ -374,7 +376,7 @@ commands_pre =
374376

375377
falcon{1,2,3}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-falcon[test]
376378

377-
flask: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-flask[test]
379+
flask{213,220}: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-flask[test]
378380

379381
urllib: pip install {toxinidir}/instrumentation/opentelemetry-instrumentation-urllib[test]
380382

0 commit comments

Comments
 (0)