From f521a8595e20971dfecab6a2826463cc14e3640e Mon Sep 17 00:00:00 2001 From: Wei Li Date: Fri, 19 Aug 2022 15:57:39 -0700 Subject: [PATCH] Temporarily Pin setuptools<=60.0 in Wheel Build Temporarily pin setuptools version due to a recent bug, which will be fix in their later updates See: https://github.com/pypa/setuptools/issues/3532 and https://github.com/numpy/numpy/issues/22135 --- .github/build_pypi_wheel.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/build_pypi_wheel.sh b/.github/build_pypi_wheel.sh index 1f93721..bd32a32 100755 --- a/.github/build_pypi_wheel.sh +++ b/.github/build_pypi_wheel.sh @@ -20,7 +20,10 @@ echo "pip: $($PIP --version)" # Install dependencies echo "Install dependencies..." -$PIP install setuptools wheel twine auditwheel +# Temporarily pin setuptools version due to a recent bug, which will be fix in their later updates +# See: https://github.com/pypa/setuptools/issues/3532 +# https://github.com/numpy/numpy/issues/22135 +$PIP install 'setuptools<=60.0.*' wheel twine auditwheel # Install OpenBLAS # Using Numpy pre-build OpenBLAS lib v0.3.19 hosted on Anaconda