[Python Distribution] Pin setuptools and wheel to a single version (#36400)
<!--
If you know who should review your pull request, please assign it to that
person, otherwise the pull request would get assigned randomly.
If your pull request is for a specific language, please add the appropriate
lang label.
-->
Closes #36400
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36400 from XuanWang-Amos:python_distribution bd2bd48031
PiperOrigin-RevId: 627114699
This commit is contained in:
parent
a1ec7bea08
commit
297e22cb5f
|
|
@ -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…
Reference in New Issue