You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2023/04/13 19:16:26 UTC
[couchdb] 01/01: Bind python-black to specific version
This is an automated email from the ASF dual-hosted git repository.
ronny pushed a commit to branch bind-black-to-specific-version
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit c6d22457f1a4b2455c35a35c38011de448cd759c
Author: Ronny Berndt <ro...@apache.org>
AuthorDate: Thu Apr 13 21:15:47 2023 +0200
Bind python-black to specific version
---
Makefile | 2 +-
Makefile.win | 2 +-
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