Skip to content

Commit b1be563

Browse files
authored
Pin anyio version to below 4.0.0 (#916)
1 parent faaccd0 commit b1be563

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tox.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,12 @@ deps =
340340
framework_sanic-saniclatest: sanic
341341
framework_sanic-sanic{1812,190301,1906}: aiohttp
342342
framework_sanic-sanic{1812,190301,1906,1912,200904,210300,2109,2112,2203,2290}: websockets<11
343+
; For test_exception_in_middleware test, anyio is used:
344+
; https://github.com/encode/starlette/pull/1157
345+
; but anyiolatest creates breaking changes to our tests
346+
; (but not the instrumentation):
347+
; https://github.com/agronholm/anyio/releases/tag/4.0.0
348+
framework_starlette: anyio<4
343349
framework_starlette-starlette0014: starlette<0.15
344350
framework_starlette-starlette0015: starlette<0.16
345351
framework_starlette-starlette0019: starlette<0.20

0 commit comments

Comments
 (0)