-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Python version to v3.12.4 and update some reminder #20658
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want to help then please rebase #18078 instead, it already has several patches that probably are still needed
echo " pkg install python-pip" | ||
echo " pkg install python-pip. For apt, apt install python --install-recommends -yfm --autoremove --purge." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pkg
is a wrapper for apt. It is not a standalone package manager and we prefer suggest using pkg
over bare apt anyway.
Remove the apt
command.
TERMUX_PKG_VERSION=3.11.9 | ||
# We get source file archive from Official Python.org's GitHub Account. Uses branch to keep the things latest. | ||
TERMUX_PKG_VERSION=3.12.4 | ||
TERMUX_PKG_REVISION=2 | ||
TERMUX_PKG_SRCURL=https://www.python.org/ftp/python/${TERMUX_PKG_VERSION}/Python-${TERMUX_PKG_VERSION}.tar.xz | ||
TERMUX_PKG_SHA256=9b1e896523fc510691126c864406d9360a3d1e986acbda59cda57b5abda45b87 | ||
TERMUX_PKG_SRCURL=https://github.com/python/cpython/archive/${TERMUX_PKG_VERSION}/cpython-${TERMUX_PKG_VERSION}.tar.gz | ||
TERMUX_PKG_SHA256=d833211ef08babdeecdba6447f371766f802b56731b34e0188949fb2fdeee968 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was the reason to migrate from python.org to github.com?
The new URL isn't correct:
curl: (22) The requested URL returned error: 404
Failed to download https://github.com/python/cpython/archive/3.12.4/cpython-3.12.4.tar.gz
SHA256 isn't valid either.
We would like introducing Python v3.12.4, adds more new capabilities to this Python release. We update some reminders calling users if wanted to install
pip
andensurepip
byapt
, just follow on screen instruction and get there.