From: Daniele Varrazzo Date: Thu, 23 Dec 2021 15:33:42 +0000 (+0100) Subject: Specify test/dev dependencies only at minor level X-Git-Tag: pool-3.1~66^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0ad3eba4f31385afe977f763f829472b2afa3a6;p=thirdparty%2Fpsycopg.git Specify test/dev dependencies only at minor level Where possible. pytest 6.2.5 is required by Python 3.10. --- diff --git a/psycopg/setup.py b/psycopg/setup.py index 879a6b429..780eee897 100644 --- a/psycopg/setup.py +++ b/psycopg/setup.py @@ -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", ], }