From 56ff7c5abe1a46aebf38f07c7d4604438f639d84 Mon Sep 17 00:00:00 2001 From: Lalleh Rafeei Date: Thu, 31 Aug 2023 15:01:02 -0700 Subject: [PATCH] Pin anyio version to below 4.0.0 --- tox.ini | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tox.ini b/tox.ini index 2319c336e..3588c035e 100644 --- a/tox.ini +++ b/tox.ini @@ -340,6 +340,12 @@ deps = framework_sanic-saniclatest: sanic framework_sanic-sanic{1812,190301,1906}: aiohttp framework_sanic-sanic{1812,190301,1906,1912,200904,210300,2109,2112,2203,2290}: websockets<11 + ; For test_exception_in_middleware test, anyio is used: + ; https://github.com/encode/starlette/pull/1157 + ; but anyiolatest creates breaking changes to our tests + ; (but not the instrumentation): + ; https://github.com/agronholm/anyio/releases/tag/4.0.0 + framework_starlette: anyio<4 framework_starlette-starlette0014: starlette<0.15 framework_starlette-starlette0015: starlette<0.16 framework_starlette-starlette0019: starlette<0.20