This is an automated email from the ASF dual-hosted git repository.
abhishek pushed a commit to branch 31.0.0
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/31.0.0 by this push:
new 9dac0f7366a Fix pip installation after ubuntu upgrade (#17358)
9dac0f7366a is described below
commit 9dac0f7366a97871f6317d343610cb2f1ed21372
Author: Pranav <[email protected]>
AuthorDate: Tue Oct 15 17:50:18 2024 -0700
Fix pip installation after ubuntu upgrade (#17358)
---
.github/scripts/setup_generate_license.sh | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/.github/scripts/setup_generate_license.sh
b/.github/scripts/setup_generate_license.sh
index 71583bfb2b2..85a6a5aaa7a 100755
--- a/.github/scripts/setup_generate_license.sh
+++ b/.github/scripts/setup_generate_license.sh
@@ -18,6 +18,9 @@
set -e
sudo apt-get update && sudo apt-get install python3 -y
-curl https://bootstrap.pypa.io/pip/3.5/get-pip.py | sudo -H python3
+# creating python virtual env
+python3 -m venv ~/.python3venv
+source ~/.python3venv/bin/activate
+sudo apt install python3-pip
pip3 install wheel # install wheel first explicitly
pip3 install --upgrade pyyaml
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]