You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by op...@apache.org on 2025/06/17 12:17:13 UTC
(avro) 03/03: Upgrade pip when installing stuff
This is an automated email from the ASF dual-hosted git repository.
opwvhk pushed a commit to branch branch-1.12
in repository https://gitbox.apache.org/repos/asf/avro.git
commit 16a578b0c50e55e9037eaa4345789113e80e64c4
Author: Oscar Westra van Holthe - Kind <op...@apache.org>
AuthorDate: Tue Jun 17 14:16:56 2025 +0200
Upgrade pip when installing stuff
---
lang/py/build.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lang/py/build.sh b/lang/py/build.sh
index 369b8aa69f..bf536f5fca 100755
--- a/lang/py/build.sh
+++ b/lang/py/build.sh
@@ -47,7 +47,7 @@ dist() (
)
virtualenv="$(mktemp -d)"
python3 -m venv "$virtualenv"
- "$virtualenv/bin/python3" -m pip install build
+ "$virtualenv/bin/python3" -m pip --upgrade pip install build
"$virtualenv/bin/python3" -m build --outdir "$destination"
)
@@ -102,7 +102,7 @@ _tox() {
echo 'Your experience will improve if you install tox'
virtualenv="$(mktemp -d)"
python3 -m venv "$virtualenv"
- "$virtualenv/bin/python3" -m pip install tox
+ "$virtualenv/bin/python3" -m pip --upgrade pip install tox
"$virtualenv/bin/tox" "$@"
fi
}