Skip to content

Commit

Permalink
tools/release: fix python scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Aug 3, 2023
1 parent b79b135 commit 4d0fad2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tools/release/build_delivery_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,12 @@ function build_python() {
echo "check python3..."
command -v python3 | xargs echo "python3: " | tee -a build.log
python3 -c "import distutils.util as u; print(u.get_platform())" | tee -a build.log
python3 -m pip install --upgrade --user pip
python3 -m pip install --upgrade --user wheel absl-py mypy-protobuf virtualenv
python3 -m pip install --upgrade --user --break-system-package pip
python3 -m pip install --upgrade --user --break-system-package wheel absl-py mypy-protobuf virtualenv
echo "check protoc-gen-mypy..."
command -v protoc-gen-mypy | xargs echo "protoc-gen-mypy: " | tee -a build.log
protoc-gen-mypy --version | xargs echo "protoc-gen-mypy version: " | tee -a build.log
protoc-gen-mypy --version | grep "3\.2\.0"
protoc-gen-mypy --version | grep "3\.5\.0"

# Clean and build
echo -n "Cleaning Python 3..." | tee -a build.log
Expand Down
2 changes: 1 addition & 1 deletion tools/release/build_delivery_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ function build_python() {
echo "check protoc-gen-mypy..."
command -v protoc-gen-mypy | xargs echo "protoc-gen-mypy: " | tee -a build.log
protoc-gen-mypy --version | xargs echo "protoc-gen-mypy version: " | tee -a build.log
protoc-gen-mypy --version | grep "3\.4\.0"
protoc-gen-mypy --version | grep "3\.5\.0"
done

for PY_VERSION in "${PY[@]}"; do
Expand Down

0 comments on commit 4d0fad2

Please sign in to comment.