Skip to content

Commit 96be5b6

Browse files
hanwen-clusterhanwen-pcluste
authored andcommitted
Pin setuptools version to be less than 70.0.0
The [setuptools 70.0.0](https://pypi.org/project/setuptools/#history) release broke unit tests with Python 3.12. For example: https://github.com/aws/aws-parallelcluster/actions/runs/9196405216/job/25294425565?pr=6250) The same failure has been encountered by others. For example, vllm-project/vllm#4961 Signed-off-by: Hanwen <hanwenli@amazon.com>
1 parent 3699890 commit 96be5b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

awsbatch-cli/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def readme():
2222

2323
VERSION = "1.3.0"
2424
REQUIRES = [
25-
"setuptools",
25+
"setuptools<70.0.0",
2626
"boto3>=1.16.14",
2727
"tabulate>=0.8.8,<=0.8.10",
2828
]

cli/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def readme():
2323
VERSION = "3.9.1"
2424
CDK_VERSION = "1.164"
2525
REQUIRES = [
26-
"setuptools",
26+
"setuptools<70.0.0",
2727
"boto3>=1.16.14",
2828
"tabulate>=0.8.8,<=0.8.10",
2929
"PyYAML>=5.3.1,!=5.4",

0 commit comments

Comments
 (0)