From: Daniele Varrazzo Date: Thu, 13 Jan 2022 19:00:14 +0000 (+0100) Subject: Bump min version required for pytest-asyncio to 0.17.0 X-Git-Tag: pool-3.1~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=242de601d763a029524bc46717533fec699193e2;p=thirdparty%2Fpsycopg.git Bump min version required for pytest-asyncio to 0.17.0 Older versions fail for the presence of asyncio_mode in pytest config, which is required from 0.17 on instead. --- diff --git a/psycopg/setup.py b/psycopg/setup.py index 815038c43..69c64ece3 100644 --- a/psycopg/setup.py +++ b/psycopg/setup.py @@ -40,7 +40,7 @@ extras_require = { "mypy >= 0.920, != 0.930, != 0.931", "pproxy >= 2.7", "pytest >= 6.2.5", - "pytest-asyncio >= 0.16", + "pytest-asyncio >= 0.17", "pytest-cov >= 3.0", "pytest-randomly >= 3.10", "tenacity >= 8.0", diff --git a/tests/constraints.txt b/tests/constraints.txt index 4f26dcd83..6a1a4c0b5 100644 --- a/tests/constraints.txt +++ b/tests/constraints.txt @@ -12,7 +12,7 @@ typing_extensions == 3.10.0.0 mypy == 0.920 pproxy == 2.7.0 pytest == 6.2.5 -pytest-asyncio == 0.16.0 +pytest-asyncio == 0.17.0 pytest-cov == 3.0.0 pytest-randomly == 3.10.0 tenacity == 8.0.0 @@ -22,7 +22,6 @@ black == 21.12b0 dnspython == 2.1.0 flake8 == 4.0.0 mypy == 0.920 -pytest-mypy == 0.8.0 types-setuptools == 57.4.0 wheel == 0.36.0