这是indexloc提供的服务,不要输入任何密码
Skip to content

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.

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I see.

@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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are same from python.org hosted. Sorry the correct checksum now in version v3.12.4 is 9fe6e3672a17a4d9c9ff95aed286115cf196c53eade7d7d864c05bdce0a04f2d.

@Biswa96
Copy link
Member

Biswa96 commented Jul 23, 2024

There is a similar pending pull request to update python #18078 which is not as easy as this one.

@codenamedpkt
Copy link
Contributor Author

Hi there I updated infos in #18078.

@codenamedpkt codenamedpkt marked this pull request as ready for review July 23, 2024 21:13
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.

4 participants