From 27c77f910b28b2cc20f8aa21a5dda38250e648a5 Mon Sep 17 00:00:00 2001 From: "Tahir H. Butt" Date: Mon, 28 Mar 2022 17:57:55 -0400 Subject: [PATCH] chore: pin click to fix incompatibility (#3490) (cherry picked from commit 8d37efd8df25c5fcf22ae9f3dbfb5dba9c3eab08) --- riotfile.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/riotfile.py b/riotfile.py index ab6b9e7850d..0e05de71c29 100644 --- a/riotfile.py +++ b/riotfile.py @@ -88,7 +88,12 @@ def select_pys(min_version=MIN_PYTHON_VERSION, max_version=MAX_PYTHON_VERSION): venvs=[ Venv( pys=["3"], - pkgs={"black": "==21.4b2", "isort": [latest]}, + pkgs={ + "black": "==21.4b2", + "isort": [latest], + # See https://github.com/psf/black/issues/2964 for incompatibility with click==8.1.0 + "click": "<8.1.0", + }, venvs=[ Venv( name="fmt",