]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Specify test/dev dependencies only at minor level
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 23 Dec 2021 15:33:42 +0000 (16:33 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 23 Dec 2021 17:21:43 +0000 (18:21 +0100)
Where possible. pytest 6.2.5 is required by Python 3.10.

psycopg/setup.py

index 879a6b429eecca630fa92066d7ac4118bc846c63..780eee89760b51dd6686c9c301650e34f7fb9be0 100644 (file)
@@ -38,33 +38,31 @@ extras_require = {
     # Requirements to run the test suite
     "test": [
         "mypy >= 0.920, != 0.930",
-        "pproxy >= 2.7.8",
+        "pproxy >= 2.7",
         "pytest >= 6.2.5",
-        "pytest-asyncio >= 0.16.0",
-        "pytest-cov >= 3.0.0",
-        "pytest-randomly >= 3.10.1",
-        "tenacity >= 8.0.1",
+        "pytest-asyncio >= 0.16",
+        "pytest-cov >= 3.0",
+        "pytest-randomly >= 3.10",
+        "tenacity >= 8.0",
     ],
     # Requirements needed for development
     "dev": [
-        "black",
-        "dnspython >= 2.1.0",
-        "flake8 >= 4.0.1",
+        "black >= 21.12b0",
+        "dnspython >= 2.1",
+        "flake8 >= 4.0",
         "mypy >= 0.920, != 0.930",
-        "pytest-mypy >= 0.8.1",
-        "types-setuptools >= 57.4.0",
-        "wheel",
+        "types-setuptools >= 57.4",
+        "wheel >= 0.36",
     ],
     # Requirements needed to build the documentation
     "docs": [
-        "Sphinx >= 4.2.0",
-        "docutils >= 0.17.0",
+        "Sphinx >= 4.2",
         "furo == 2021.11.23",
         "sphinx-autobuild >= 2021.3.14",
-        "sphinx-autodoc-typehints >= 1.12.0",
+        "sphinx-autodoc-typehints >= 1.12",
         # to document optional modules
-        "dnspython >= 2.1.0",
-        "shapely >= 1.7.0",
+        "dnspython >= 2.1",
+        "shapely >= 1.7",
     ],
 }