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 20:30:46 UTC

[couchdb] branch main updated: Bind python-black to specific version (#4528)

This is an automated email from the ASF dual-hosted git repository.

ronny pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/main by this push:
     new 865d5f898 Bind python-black to specific version (#4528)
865d5f898 is described below

commit 865d5f8987e6b264aae5bcf2a943dafb521c424e
Author: Ronny Berndt <ro...@apache.org>
AuthorDate: Thu Apr 13 22:30:38 2023 +0200

    Bind python-black to specific version (#4528)
---
 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