pitrou commented on code in PR #43970:
URL: https://github.com/apache/arrow/pull/43970#discussion_r1756844424
##########
ci/scripts/install_python.sh:
##########
@@ -69,8 +68,32 @@ if [ $platform = "macOS" ]; then
python="/Library/Frameworks/Python.framework/Versions/${version}/bin/python${version}"
pip="${python} -m pip"
+ $python -m ensurepip
+ $pip install -U pip setuptools
+elif [ $platform = "Linux" ] ; then
+ echo "Downloading Python installer..."
+
+ if [ "$version" = "3.13" ];
+ then
+ fname="Python-${full_version}rc1.tar.xz"
+ else
+ fname="Python-${full_version}.tar.xz"
+ fi
+ wget "https://www.python.org/ftp/python/${full_version}/${fname}"
+
+ echo "Building and installing Python..."
Review Comment:
Or at worse you can use
https://gregoryszorc.com/docs/python-build-standalone/main/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]