From 5bada1fa8a8e82863cb3c0dd96d06a4b514f697c Mon Sep 17 00:00:00 2001 From: Andrey Talman Date: Fri, 23 Aug 2024 09:22:10 -0400 Subject: [PATCH] Cherry-Pick Pin setuptools to 72.1.0 (#8606) --- .github/scripts/setup-env.sh | 2 +- packaging/pre_build_script.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/setup-env.sh b/.github/scripts/setup-env.sh index 26a607558d3..cf059f97a44 100755 --- a/.github/scripts/setup-env.sh +++ b/.github/scripts/setup-env.sh @@ -33,7 +33,7 @@ conda create \ 'ffmpeg<4.3' conda activate ci conda install --quiet --yes libjpeg-turbo -c pytorch -pip install --progress-bar=off --upgrade setuptools +pip install --progress-bar=off --upgrade setuptools==72.1.0 # See https://github.com/pytorch/vision/issues/6790 if [[ "${PYTHON_VERSION}" != "3.11" ]]; then diff --git a/packaging/pre_build_script.sh b/packaging/pre_build_script.sh index e93a7267e65..d52b4f90977 100644 --- a/packaging/pre_build_script.sh +++ b/packaging/pre_build_script.sh @@ -47,4 +47,4 @@ else fi pip install numpy pyyaml future ninja -pip install --upgrade setuptools +pip install --upgrade setuptools==72.1.0