]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Remove upper bound from dependencies
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 23 Dec 2021 01:54:05 +0000 (02:54 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 23 Dec 2021 17:19:27 +0000 (18:19 +0100)
Giving upper bounds to libraries creates problems if there are
transitive dependencies.

Our dependencies are only on dev/test time, but I'd rather get the
habit.

psycopg/setup.py

index e8880f643c0bd67b3f72471e48047388e2d378b7..879a6b429eecca630fa92066d7ac4118bc846c63 100644 (file)
@@ -38,18 +38,18 @@ extras_require = {
     # Requirements to run the test suite
     "test": [
         "mypy >= 0.920, != 0.930",
-        "pproxy ~= 2.7.8",
-        "pytest ~= 6.2.5",
-        "pytest-asyncio ~= 0.16.0",
-        "pytest-cov ~= 3.0.0",
-        "pytest-randomly ~= 3.10.1",
-        "tenacity ~= 8.0.1",
+        "pproxy >= 2.7.8",
+        "pytest >= 6.2.5",
+        "pytest-asyncio >= 0.16.0",
+        "pytest-cov >= 3.0.0",
+        "pytest-randomly >= 3.10.1",
+        "tenacity >= 8.0.1",
     ],
     # Requirements needed for development
     "dev": [
         "black",
-        "dnspython ~= 2.1.0",
-        "flake8 ~= 4.0.1",
+        "dnspython >= 2.1.0",
+        "flake8 >= 4.0.1",
         "mypy >= 0.920, != 0.930",
         "pytest-mypy >= 0.8.1",
         "types-setuptools >= 57.4.0",
@@ -57,14 +57,14 @@ extras_require = {
     ],
     # Requirements needed to build the documentation
     "docs": [
-        "Sphinx ~= 4.2.0",
-        "docutils ~= 0.17.0",
+        "Sphinx >= 4.2.0",
+        "docutils >= 0.17.0",
         "furo == 2021.11.23",
         "sphinx-autobuild >= 2021.3.14",
-        "sphinx-autodoc-typehints ~= 1.12.0",
+        "sphinx-autodoc-typehints >= 1.12.0",
         # to document optional modules
-        "dnspython ~= 2.1.0",
-        "shapely ~= 1.7.0",
+        "dnspython >= 2.1.0",
+        "shapely >= 1.7.0",
     ],
 }