Skip to content
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

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

codenamedpkt
Copy link
Contributor

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 and ensurepip by apt, just follow on screen instruction and get there.

packages/python/build.sh Outdated Show resolved Hide resolved
Copy link
Member

@Grimler91 Grimler91 left a 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

Comment on lines -118 to +119
echo " pkg install python-pip"
echo " pkg install python-pip. For apt, apt install python --install-recommends -yfm --autoremove --purge."
Copy link
Member

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.

@sylirre sylirre marked this pull request as draft June 25, 2024 07:52
Comment on lines -7 to +11
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
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants