Skip to content

python 3.13 rebuild - Part 2#27777

Closed
thunder-coding wants to merge 58 commits intomasterfrom
python313-dep2
Closed

python 3.13 rebuild - Part 2#27777
thunder-coding wants to merge 58 commits intomasterfrom
python313-dep2

Conversation

@thunder-coding
Copy link
Member

@thunder-coding thunder-coding commented Dec 28, 2025

Seems like the CI isn't picking up changes in dockerfile.

The base branch has been set to master for the CI to kick in properly. But this PR is supposed to be based against python313 branch

@thunder-coding thunder-coding changed the title rebuild(main/xcb-proto): with python3.13 Python rebuild - part 2 Dec 28, 2025
@thunder-coding thunder-coding changed the title Python rebuild - part 2 rebuild(main/xcb-proto): with python3.13 Dec 28, 2025
@thunder-coding thunder-coding changed the title rebuild(main/xcb-proto): with python3.13 python 3.13 rebuild - Part 2 Dec 28, 2025
@thunder-coding thunder-coding force-pushed the python313 branch 2 times, most recently from 55b54bb to 6247dbc Compare December 28, 2025 19:09
@thunder-coding thunder-coding marked this pull request as draft December 28, 2025 19:14
@thunder-coding thunder-coding mentioned this pull request Dec 28, 2025
5 tasks
@thunder-coding thunder-coding moved this from Blockers to Blocked in @thunder-coding's public tracker Dec 28, 2025
@thunder-coding thunder-coding changed the base branch from python313 to master January 8, 2026 22:51
@thunder-coding thunder-coding force-pushed the python313-dep2 branch 2 times, most recently from cc92560 to fe65b3e Compare January 9, 2026 23:10
@thunder-coding thunder-coding force-pushed the python313-dep2 branch 5 times, most recently from d5713be to f1d4ed4 Compare January 31, 2026 07:52
@thunder-coding thunder-coding force-pushed the python313-dep2 branch 2 times, most recently from dc610c8 to 82439e6 Compare March 1, 2026 21:50
thunder-coding and others added 26 commits March 2, 2026 05:01
Also update setuptools to 80.9.0 while we are at full rebuilds with
python 3.13
Relevant upstream commit python/cpython@1f8b24e

Also apply this same fix in host build of python as cross-python uses
it's own cutils instead of what we have built for target in our cross
builds.
…roid api version

`python -m build` builds android wheels as android_$TERMUX_ARCH.whl but
pip during installation expects it to be
android_$TERMUX_API_LEVEL_$TERMUX_ARCH.whl so we need make sure that it
is installable without renaming the wheel
[[TODO: add more descriptive commit message]]
ac_cv_func_getlogin_r=no is needed to ensure that it doesn't try to use
getlogin_r on Android during on-device builds.

Although I have enabled on-device builds, I don't see any point in
keeping this as the same version of python needs to be available for
building the same version of python. Pretty much defeats the purpose
unless you are rebuilding with some changes for the same minor version
Needed to fix hardcoded python version in find_package for Boost.Python.
Needed to fix builds for ledger
The libxml2-python subpackage needs to be rebuilt
%ci:free-disk
@thunder-coding
Copy link
Member Author

Merged in #27739

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant