Skip to content

Commit

Permalink
Fix the version of twine to 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
veblush committed Nov 20, 2019
1 parent a373140 commit 4dd7530
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/run_tests/artifacts/build_artifact_python.bat
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ python setup.py bdist_wheel || goto :error
popd

@rem Ensure the generate artifacts are valid.
python -m pip install twine
python -m pip install "twine<=2.0"
python -m twine check dist\* tools\distrib\python\grpcio_tools\dist\* || goto :error

xcopy /Y /I /S dist\* %ARTIFACT_DIR% || goto :error
Expand Down
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 @@ -134,7 +134,7 @@ fi

# Ensure the generated artifacts are valid.
"${PYTHON}" -m virtualenv venv || { "${PYTHON}" -m pip install virtualenv && "${PYTHON}" -m virtualenv venv; }
venv/bin/python -m pip install twine
venv/bin/python -m pip install "twine<=2.0"
venv/bin/python -m twine check dist/* tools/distrib/python/grpcio_tools/dist/*
rm -rf venv/

Expand Down

0 comments on commit 4dd7530

Please sign in to comment.