]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Avoid mypy version 0.930
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 22 Dec 2021 19:46:51 +0000 (20:46 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 22 Dec 2021 19:46:51 +0000 (20:46 +0100)
The release is affected by the issues:

- https://github.com/python/mypy/issues/11820
- https://github.com/python/typeshed/issues/6661

already acknowledged as bugs.

psycopg/setup.py

index 68f5d819313359cd26d3a404668a465ceac533d7..e8880f643c0bd67b3f72471e48047388e2d378b7 100644 (file)
@@ -37,7 +37,7 @@ extras_require = {
     ],
     # Requirements to run the test suite
     "test": [
-        "mypy >= 0.920",
+        "mypy >= 0.920, != 0.930",
         "pproxy ~= 2.7.8",
         "pytest ~= 6.2.5",
         "pytest-asyncio ~= 0.16.0",
@@ -50,7 +50,7 @@ extras_require = {
         "black",
         "dnspython ~= 2.1.0",
         "flake8 ~= 4.0.1",
-        "mypy >= 0.920",
+        "mypy >= 0.920, != 0.930",
         "pytest-mypy >= 0.8.1",
         "types-setuptools >= 57.4.0",
         "wheel",