From 7fb3dafc3f1bd7bbce73c9cbc2e6fab04d56bc62 Mon Sep 17 00:00:00 2001 From: Kazuhiro Sera Date: Tue, 21 Nov 2023 15:13:44 +0900 Subject: [PATCH] Revert black version for older Python runtimes --- setup.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index c485022e..253332ae 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,9 @@ "Jinja2==3.0.3", # https://github.com/pallets/flask/issues/4494 "pytest-cov>=2,<3", "flake8>=5,<6", - "black==23.11.0", + # Don't change this version without running CI builds; + # The latest version may not be available for older Python runtime + "black==22.8.0", "click==8.0.4", # black is affected by https://github.com/pallets/click/issues/2225 "psutil>=5,<6", # used only under slack_sdk/*_store @@ -34,7 +36,9 @@ "moto>=3,<4", # For AWS tests ] codegen_dependencies = [ - "black==23.11.0", + # Don't change this version without running CI builds; + # The latest version may not be available for older Python runtime + "black==22.10.0", ] needs_pytest = {"pytest", "test", "ptr"}.intersection(sys.argv)