]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Fix Sphinx setup version specification
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 30 Oct 2021 14:36:57 +0000 (16:36 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 30 Oct 2021 14:36:57 +0000 (16:36 +0200)
Also specify other dependencies using the ~= operator.

psycopg/setup.py

index 5f14bcb1d971bf6ba747a3f2d568c2edf698838b..7000374e6734949b88030cfe4827b7dd6f06fc08 100644 (file)
@@ -55,14 +55,14 @@ extras_require = {
     ],
     # Requirements needed to build the documentation
     "docs": [
-        "Sphinx ~= 4.2, < 4.3",
-        "docutils >= 0.17, < 0.18",
+        "Sphinx ~= 4.2.0",
+        "docutils ~= 0.17.0",
         "furo >= 2021.9.8",
         "sphinx-autobuild >= 2021.3.14",
-        "sphinx-autodoc-typehints >= 1.12, < 1.13",
+        "sphinx-autodoc-typehints ~= 1.12.0",
         # to document optional modules
-        "dnspython >= 2.1.0",
-        "shapely >= 1.7",
+        "dnspython ~= 2.1.0",
+        "shapely ~= 1.7.0",
     ],
 }