[Python Distribution] Ping setuptools and wheel to a single version

pull/36400/head
Xuan Wang 7 months ago
parent d51155be8f
commit bd2bd48031
  1. 1
      tools/release/verify_python_release.py
  2. 4
      tools/run_tests/artifacts/build_artifact_python.bat
  3. 4
      tools/run_tests/artifacts/build_artifact_python.sh

@ -44,6 +44,7 @@ _DEFAULT_PACKAGES = [
"grpcio-testing",
"grpcio-admin",
"grpcio-csds",
"grpcio-observability",
"xds-protos",
]

@ -19,7 +19,9 @@ set PATH=C:\%1;C:\%1\scripts;%PATH%
set PATH=C:\msys64\mingw%2\bin;C:\tools\msys64\mingw%2\bin;%PATH%
:end_mingw64_installation
python -m pip install --upgrade pip six setuptools wheel
python -m pip install --upgrade pip six
@rem Ping to a single version to make sure we're building the same artifacts
python -m pip install setuptools==69.5.1 wheel==0.43.0
python -m pip install --upgrade "cython<3.0.0rc1"
python -m pip install -rrequirements.txt --user

@ -26,7 +26,9 @@ export AUDITWHEEL=${AUDITWHEEL:-auditwheel}
source tools/internal_ci/helper_scripts/prepare_ccache_symlinks_rc
# Needed for building binary distribution wheels -- bdist_wheel
"${PYTHON}" -m pip install --upgrade pip wheel setuptools
"${PYTHON}" -m pip install --upgrade pip
# Ping to a single version to make sure we're building the same artifacts
"${PYTHON}" -m pip install setuptools==69.5.1 wheel==0.43.0
if [ "$GRPC_SKIP_PIP_CYTHON_UPGRADE" == "" ]
then

Loading…
Cancel
Save