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)