From: Daniele Varrazzo Date: Fri, 1 Sep 2023 10:46:01 +0000 (+0100) Subject: chore: avoid anyio >= 4 for the moment X-Git-Tag: pool-3.2.0~59 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e847f3ca65f23ce0f95eb553edfc04431a0c18ba;p=thirdparty%2Fpsycopg.git chore: avoid anyio >= 4 for the moment The 'policy' parameter is not supported anymore, and finding the right workaround is tricky, especially because it's only needed for Windows, and because anyio 4 doesn't support Python 3.7, so we would need to support both the versions. When we will drop Python 3.7 support it will be easier move to anyio >= 4. --- diff --git a/psycopg/setup.cfg b/psycopg/setup.cfg index 5042c87e7..f62ae801f 100644 --- a/psycopg/setup.cfg +++ b/psycopg/setup.cfg @@ -66,7 +66,8 @@ binary = pool = psycopg-pool test = - anyio >= 3.6.2 + # TODO: move to anyio >= 4.0 once support for Python 3.7 is dropped + anyio >= 3.6.2, < 4.0 mypy >= 1.4.1 pproxy >= 2.7 pytest >= 6.2.5