]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
chore: avoid anyio >= 4 for the moment
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 1 Sep 2023 10:46:01 +0000 (11:46 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 1 Sep 2023 22:21:10 +0000 (23:21 +0100)
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

index c9dcd9782b84e6b9e79e09fde6edf478817686f4..c699c872b2d714f3b9473e2570dc17800e76bb29 100644 (file)
@@ -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",