Skip to content

Commit

Permalink
updated twine version to solve pypa/twine#1046
Browse files Browse the repository at this point in the history
  • Loading branch information
sreenithi committed Sep 14, 2024
1 parent 42f1cb8 commit b39d95f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/run_tests/artifacts/build_artifact_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ then
"${PYTHON}" -m pip install virtualenv
"${PYTHON}" -m virtualenv venv || { "${PYTHON}" -m pip install virtualenv==20.0.23 && "${PYTHON}" -m virtualenv venv; }
# Ensure the generated artifacts are valid using "twine check"
venv/bin/python -m pip install "twine<=2.0" "readme_renderer<40.0"
venv/bin/python -m pip install "twine==5.0.0" "readme_renderer<40.0"
venv/bin/python -m twine check dist/* tools/distrib/python/grpcio_tools/dist/*
if [ "$GRPC_BUILD_MAC" == "" ]; then
venv/bin/python -m twine check src/python/grpcio_observability/dist/*
Expand Down

0 comments on commit b39d95f

Please sign in to comment.