From: Daniele Varrazzo Date: Tue, 29 Mar 2022 01:21:40 +0000 (+0200) Subject: ci: upgrade black X-Git-Tag: 3.1~153 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9b16abf3db15dee0f7c9f391e78e52bd76ce317;p=thirdparty%2Fpsycopg.git ci: upgrade black This version is not affected by https://github.com/psf/black/issues/2964 and doesn't require pinning click. --- diff --git a/psycopg/setup.py b/psycopg/setup.py index a9b646346..34fa87b6e 100644 --- a/psycopg/setup.py +++ b/psycopg/setup.py @@ -46,8 +46,7 @@ extras_require = { ], # Requirements needed for development "dev": [ - "black >= 22.1.0", - "click == 8.0.4", # https://github.com/psf/black/issues/2964 + "black >= 22.3.0", "dnspython >= 2.1", "flake8 >= 4.0", "mypy >= 0.940", diff --git a/tests/constraints.txt b/tests/constraints.txt index 0466350f3..ce4667d9d 100644 --- a/tests/constraints.txt +++ b/tests/constraints.txt @@ -16,7 +16,7 @@ pytest-cov == 3.0.0 pytest-randomly == 3.10.0 # From the 'dev' extra -black == 22.1.0 +black == 22.3.0 dnspython == 2.1.0 flake8 == 4.0.0 mypy == 0.940