diff --git a/tools/run_tests/artifacts/build_artifact_python.sh b/tools/run_tests/artifacts/build_artifact_python.sh index e35a3b67bb4..df4fcdbbe3c 100755 --- a/tools/run_tests/artifacts/build_artifact_python.sh +++ b/tools/run_tests/artifacts/build_artifact_python.sh @@ -131,7 +131,7 @@ then fi # Ensure the generated artifacts are valid. -"${PIP}" install twine +"${PYTHON}" -m pip install twine "${PYTHON}" -m twine check dist/* tools/distrib/python/grpcio_tools/dist/* cp -r dist/* "$ARTIFACT_DIR"