Skip to content

Commit 7fb3daf

Browse files
committed
Revert black version for older Python runtimes
1 parent af8adc7 commit 7fb3daf

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

setup.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,19 @@
2626
"Jinja2==3.0.3", # https://github.com/pallets/flask/issues/4494
2727
"pytest-cov>=2,<3",
2828
"flake8>=5,<6",
29-
"black==23.11.0",
29+
# Don't change this version without running CI builds;
30+
# The latest version may not be available for older Python runtime
31+
"black==22.8.0",
3032
"click==8.0.4", # black is affected by https://github.com/pallets/click/issues/2225
3133
"psutil>=5,<6",
3234
# used only under slack_sdk/*_store
3335
"boto3<=2",
3436
"moto>=3,<4", # For AWS tests
3537
]
3638
codegen_dependencies = [
37-
"black==23.11.0",
39+
# Don't change this version without running CI builds;
40+
# The latest version may not be available for older Python runtime
41+
"black==22.10.0",
3842
]
3943

4044
needs_pytest = {"pytest", "test", "ptr"}.intersection(sys.argv)

0 commit comments

Comments
 (0)