diff --git a/ci/scripts/python_wheel_macos_build.sh b/ci/scripts/python_wheel_macos_build.sh index 8d113312927..bd61154430e 100755 --- a/ci/scripts/python_wheel_macos_build.sh +++ b/ci/scripts/python_wheel_macos_build.sh @@ -56,8 +56,10 @@ if [[ $FREE_THREADED_BUILD == "True" ]]; then fi pip install \ + --force-reinstall \ --only-binary=:all: \ --target $PIP_SITE_PACKAGES \ + --upgrade \ -r ${source_dir}/python/requirements-wheel-build.txt pip install "delocate>=0.10.3" diff --git a/python/requirements-wheel-build.txt b/python/requirements-wheel-build.txt index dfcda9ac189..ac6388762b4 100644 --- a/python/requirements-wheel-build.txt +++ b/python/requirements-wheel-build.txt @@ -1,5 +1,5 @@ cython>=3.1 numpy>=2.0.0 setuptools_scm -setuptools>=58 +setuptools>=77 wheel