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.1.8~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1e070b2fe2f1d635825d9a2721d46357a8ead27;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.py b/psycopg/setup.py index c9dcd9782..c699c872b 100644 --- a/psycopg/setup.py +++ b/psycopg/setup.py @@ -37,7 +37,7 @@ extras_require = { ], # Requirements to run the test suite "test": [ - "anyio >= 3.6.2", + "anyio >= 3.6.2, < 4.0", "mypy >= 1.4.1", "pproxy >= 2.7", "pytest >= 6.2.5",