summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny Berndt <ronny@apache.org>2023-04-13 22:30:38 +0200
committerGitHub <noreply@github.com>2023-04-13 22:30:38 +0200
commit865d5f8987e6b264aae5bcf2a943dafb521c424e (patch)
treef82b8585a2f3d0459bc2e2ed28c38e508fea393b
parente755e2352afdf45001995cdce3f95a6dbbd74ac9 (diff)
downloadcouchdb-865d5f8987e6b264aae5bcf2a943dafb521c424e.tar.gz
Bind python-black to specific version (#4528)
-rw-r--r--Makefile2
-rw-r--r--Makefile.win2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3d9a58787..06367bfdc 100644
--- a/Makefile
+++ b/Makefile
@@ -214,7 +214,7 @@ erlfmt-format:
.venv/bin/black:
@python3 -m venv .venv
- @.venv/bin/pip3 install black || touch .venv/bin/black
+ @.venv/bin/pip3 install black==23.3.0 || touch .venv/bin/black
# target: python-black - Check Python code formatting (requires Python >= 3.6)
python-black: .venv/bin/black
diff --git a/Makefile.win b/Makefile.win
index 694ef2faf..418a14515 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -192,7 +192,7 @@ erlfmt-format:
.venv/bin/black:
@$(PYTHON) -m venv .venv
- @.venv\Scripts\pip3.exe install black || copy /b .venv\Scripts\black.exe +,,
+ @.venv\Scripts\pip3.exe install black==23.3.0 || copy /b .venv\Scripts\black.exe +,,
# target: python-black - Check Python code formatting (requires Python >= 3.6)
python-black: .venv/bin/black