pitrou commented on code in PR #43970:
URL: https://github.com/apache/arrow/pull/43970#discussion_r1756842821
##########
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:
Let's not do that? Most people won't use a self-compiled Python, so it does
not make much sense to test against that.
You can find backports for Ubuntu here:
https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa
--
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]