-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
python: update to 3.12 #18078
python: update to 3.12 #18078
Conversation
6d0d506
to
bb9937f
Compare
idk someone else can make it work |
We should build a host python for python3.12. Ubuntu 22.04 hasn't packaged it yet. Some other repositories such as IMO we had better hold it to 3.11 until some other python libraries support it. Bumping to python3.12 will at least break the build process of |
I think that termux should stick to 3.11and 3.12 could be provided by tur-repo |
The opposite will be the case. |
8557419
to
9dc50c6
Compare
atleast allow people to install it as python3.12 |
installing CI artefacts resulted in pip setup error:
|
@Randrianasulu Using wildcards with dpkg won't result in proper installation order of dependencies. |
well, I tried to reinstall with and then.python and python-static, and then again ensurepip and python-pip still giving me same error .... |
However yes, it looks like Importing
I guess similar errors may appear with other modules that use native extensions. Also it looks like Python was built without readline support, i.e. cursor moving by arrows and history navigation doesn't work (raw escape sequences appear when using arrows):
Basically this PR is unusable. |
yeah i kind of abandoned this since python 3.12 drops so much support. someone else can take over if they want |
Looks like some old patches were not applied. Here are all the patches: https://github.com/yubrajbhoi/termux-python-12/tree/main/patches I have tested them with Python I used that to build Numpy for |
5763a69
to
cda6787
Compare
It tests fine on my device. @landfillbaby @sylirre Could you please test it again? The setuptools should be hardcoded to |
@licy183 Looks good, tested few modules and can't find issues. |
did some testing as asked, LGTM ! :) sorry i've not been active recently |
Next, we should find all the revdeps of python, check whether it supports python3.12 and revbump if needed. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Revbump some python packages after python 3.12 (#18078).
Revbump some python packages after python 3.12 (#18078).
Revbump some python packages after python 3.12 (#18078)
Revbump some python packages after python 3.12 (#18078).
Revbump some python packages after python 3.12 (#18078).
Revbump some python packages after python 3.12 (#18078).
Revbump some python packages after python 3.12 (#18078).
Revbump some python packages after python 3.12 (#18078).
Revbump some python packages after python 3.12 (#18078).
…dio,vision}) Revbump some python packages after python 3.12 (#18078).
Revbump some python packages after python 3.12 (#18078).
Update to numpy 2, and update reverse dependencies: - matplotlib from 3.9.1 to 3.9.2 - python-contourpy from 1.2.1 to 1.3.0 - python-numpy from 1.26.5 to 2.1.1 - python-onnxruntime from 1.19.0 to 1.19.2 - python-scipy from 1.14.0 to 1.14.1 - python-torch from 2.1.2 to 2.4.1 - python-torchaudio from 2.0.1 to 2.4.1 - python-torchvision from 0.15.1 to `0.19.1 - Revbump: python-pyarrow, inkscape and opencv Some of these packages does not currently build before this PR. Getting these updated and buildable is a nice step to prepare for [python 3.12](termux#18078). Fixes termux#21059, termux#21110, termux#21194 and termux#21284. Co-authored-by: Chongyun Lee <[email protected]>
…rmux#21689) Revbump termux-* python packages after python 3.12 (termux#18078).
…t}) (termux#21690) Revbump some python packages after python 3.12 (termux#18078).
Revbump some python packages after python 3.12 (termux#18078).
…21693) Revbump some python packages after python 3.12 (termux#18078).
Revbump some python packages after python 3.12 (termux#18078).
Revbump some python packages after python 3.12 (termux#18078).
Revbump some python packages after python 3.12 (termux#18078).
Revbump some python packages after python 3.12 (termux#18078).
Revbump some python packages after python 3.12 (termux#18078).
Revbump some python packages after python 3.12 (termux#18078)
Revbump some python packages after python 3.12 (termux#18078).
Revbump some python packages after python 3.12 (termux#18078).
Revbump some python packages after python 3.12 (termux#18078).
Revbump some python packages after python 3.12 (termux#18078).
Revbump some python packages after python 3.12 (termux#18078).
Revbump some python packages after python 3.12 (termux#18078).
…dio,vision}) Revbump some python packages after python 3.12 (termux#18078).
Revbump some python packages after python 3.12 (termux#18078).
See What’s New In Python 3.12.
Fixes #18210.