From e1e070b2fe2f1d635825d9a2721d46357a8ead27 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Fri, 1 Sep 2023 11:46:01 +0100 Subject: [PATCH] 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. --- psycopg/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.47.2