GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-152711: Add pythoninfo-build command to Platforms/Android by vstinner · Pull Request #152713 · python/cpython

Conversation

@vstinner

@vstinner vstinner commented Jun 30, 2026 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Add a pythoninfo-build command to Platforms/Android to display build info of the build Python. The command runs "make pythoninfo".

  • Issue: Platforms/Android: add pythoninfo-build command to display build info of the build Python #152711

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@vstinner
pythongh-152711: Add pythoninfo-build command to Platforms/Android
8ca18f0
Add a pythoninfo-build command to Platforms/Android to display build
info of the build Python. The command runs "make pythoninfo".
@vstinner
vstinner requested review from freakboy3742 and mhsmith as code owners June 30, 2026 21:49
@vstinner vstinner added skip news needs backport to 3.13 only security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 bugs and security fixes labels Jun 30, 2026
@bedevere-app bedevere-app Bot mentioned this pull request Jun 30, 2026
Platforms/Android: add pythoninfo-build command to display build info of the build Python #152711
Closed
@vstinner

vstinner commented Jun 30, 2026

Copy link
Copy Markdown
Member Author

My plan is to backport this change to 3.13, 3.14 and 3.15 branches, and then modify the buildbot configuration to add a step running the new pythoninfo-build command.

I made similar changes (with buildbot changes) on:

  • WASI: gh-151929: Add pythoninfo commands to Platforms/WASI #152136
  • Emscripten: gh-151929: Add pythoninfo-build command to Platforms/emscripten #152210

cc @mhsmith

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vstinner
ci and build commands now also run pythoninfo-build
bc5459b
@vstinner

vstinner commented Jun 30, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

Extracts of "Pythoninfo build Python" on Android (aarch64):

  CC.version: Apple clang version 21.0.0 (clang-2100.1.1.101)

  build.NDEBUG: ignore assertions (macro defined)
  build.Py_DEBUG: No (sys.gettotalrefcount() missing)
  libregrtests.build_info: release

  os.cpu_count: 3
  os.uname: posix.uname_result(sysname='Darwin', nodename='iad20-gt1022-02e63cdb-1be1-4abd-804a-f16387b35b39-06829AA78E1C.local', release='25.4.0', version='Darwin Kernel Version 25.4.0: Thu Mar 19 19:29:33 PDT 2026; root:xnu-12377.101.15~1/RELEASE_ARM64_VMAPPLE', machine='arm64')
  platform.architecture: 64bit Mach-O
  platform.platform: macOS-26.4-arm64-arm-64bit-Mach-O

  sys.version: 3.16.0a0 (remotes/pull/152713/merge-dirty:8cd7b46, Jun 30 2026, 22:08:06) [Clang 21.0.0 (clang-2100.1.1.101)]

  system.hardware: VirtualMac2,1
  system.uptime: 0:03:16
  system.virt: run in a VM (kern.hv_vmm_present is 1)

Tests are not run on aarch64.


Extracts of "Pythoninfo build Python" on Android (x86_64):

  CC.version: gcc (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0

  build.NDEBUG: ignore assertions (macro defined)
  build.Py_DEBUG: No (sys.gettotalrefcount() missing)
  libregrtests.build_info: release

  os.cpu_count: 4

  os.uname: posix.uname_result(sysname='Linux', nodename='runnervmmklqx', release='6.17.0-1018-azure', version='#18~24.04.1-Ubuntu SMP Thu May 28 16:39:11 UTC 2026', machine='x86_64')

  platform.freedesktop_os_release[ID]: ubuntu
  platform.freedesktop_os_release[NAME]: Ubuntu
  platform.freedesktop_os_release[VERSION]: 24.04.4 LTS (Noble Numbat)
  platform.freedesktop_os_release[VERSION_CODENAME]: noble
  platform.freedesktop_os_release[VERSION_ID]: 24.04

  platform.libc_ver: glibc 2.39
  platform.platform: Linux-6.17.0-1018-azure-x86_64-with-glibc2.39

  system.boot_id: 7b3ed1fd-afd6-4db1-94b4-accd3f25be50
  system.machine_id: b9d4e40b90bc4dcb974f6d60e5fb946e
  system.uptime: 0:02:27
  system.virt: microsoft

Extracts of Android "pythoninfo" on Android (x86_64):

  build.NDEBUG: ignore assertions (macro defined)
  build.Py_DEBUG: No (sys.gettotalrefcount() missing)
  libregrtests.build_info: release shared

  os.cpu_count: 2

  os.uname: posix.uname_result(sysname='Linux', nodename='localhost', release='6.6.30-android15-8-gdd9c02ccfe27-ab11987101', version='#1 SMP PREEMPT Tue Jun 18 20:50:32 UTC 2024', machine='x86_64')
  platform.android_ver: AndroidVer(release='15', api_level=35, manufacturer='unknown', model='Android ATD built for x86_64', device='emu64x', is_emulator=True)
  platform.architecture: 64bit
  platform.platform: Android-15-x86_64-64bit

  sys.platform: android

  system.boot_id: 3e956057-12a9-407f-8528-6ad06b78a57e
  system.uptime: 0:01:11
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vstinner

vstinner commented Jun 30, 2026

Copy link
Copy Markdown
Member Author

Tests / Sanitizers / TSan (free-threading) (pull_request): Failing after 23m

Oh, that's the known issue gh-150191.

WARNING: ThreadSanitizer: data race (pid=19630)
  Read of size 8 at 0x720800029c20 by thread T13:
    #0 memcmp <null> (python+0x10a64e) (BuildId: cb9b83be7b480cbfdff0df4cdf1ad6fd07bf85e0)
    #1 ASN1_STRING_cmp <null> (libcrypto.so.3+0xd5904) (BuildId: 79b8e7622d14cb55e5704008d40c02423919bfae)
    ...
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vstinner vstinner mentioned this pull request Jun 30, 2026
Add pythoninfo-build step to AndroidBuild python/buildmaster-config#748
Merged
@vstinner

vstinner commented Jun 30, 2026

Copy link
Copy Markdown
Member Author

My plan is to backport this change to 3.13, 3.14 and 3.15 branches, and then modify the buildbot configuration to add a step running the new pythoninfo-build command.

I prepared PR python/buildmaster-config#748 for the buildbot configuration.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vstinner vstinner mentioned this pull request Jun 30, 2026
gh-152715: Add pythoninfo-build command to Platforms/Apple #152716
Merged
freakboy3742
freakboy3742 approved these changes Jul 1, 2026
View reviewed changes

@freakboy3742 freakboy3742 left a comment

Copy link
Copy Markdown
Contributor

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.

👍 Makes sense

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bedevere-app bedevere-app Bot added the awaiting merge label Jul 1, 2026
@freakboy3742
freakboy3742 merged commit fdcee4f into python:main Jul 1, 2026
128 of 132 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the awaiting merge label Jul 1, 2026
@miss-islington-app

miss-islington-app Bot commented Jul 1, 2026

Copy link
Copy Markdown

Thanks @vstinner for the PR, and @freakboy3742 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15.
🐍🍒⛏🤖

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app

bedevere-app Bot commented Jul 1, 2026

Copy link
Copy Markdown

GH-152725 is a backport of this pull request to the 3.15 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Jul 1, 2026
@bedevere-app

bedevere-app Bot commented Jul 1, 2026

Copy link
Copy Markdown

GH-152726 is a backport of this pull request to the 3.14 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Jul 1, 2026
@bedevere-app

bedevere-app Bot commented Jul 1, 2026

Copy link
Copy Markdown

GH-152727 is a backport of this pull request to the 3.13 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label Jul 1, 2026
freakboy3742 pushed a commit that referenced this pull request Jul 1, 2026
@miss-islington @vstinner
[3.14] gh-152711: Add pythoninfo-build command to Platforms/Android (G…
38036eb
…H-152713) (#152726)

Add a pythoninfo-build command to Platforms/Android to display build
info of the build Python. The command runs "make pythoninfo".

ci and build commands now also run pythoninfo-build
(cherry picked from commit fdcee4f)

Co-authored-by: Victor Stinner <[email protected]>
freakboy3742 pushed a commit that referenced this pull request Jul 1, 2026
@miss-islington @vstinner
[3.13] gh-152711: Add pythoninfo-build command to Platforms/Android (G…
ce97622
…H-152713) (#152727)

Add a pythoninfo-build command to Platforms/Android to display build
info of the build Python. The command runs "make pythoninfo".

ci and build commands now also run pythoninfo-build
(cherry picked from commit fdcee4f)

Co-authored-by: Victor Stinner <[email protected]>
freakboy3742 pushed a commit that referenced this pull request Jul 1, 2026
@miss-islington @vstinner
[3.15] gh-152711: Add pythoninfo-build command to Platforms/Android (G…
81bfc9c
…H-152713) (#152725)

Add a pythoninfo-build command to Platforms/Android to display build
info of the build Python. The command runs "make pythoninfo".

ci and build commands now also run pythoninfo-build
(cherry picked from commit fdcee4f)

Co-authored-by: Victor Stinner <[email protected]>
@vstinner

vstinner commented Jul 1, 2026

Copy link
Copy Markdown
Member Author

Thanks for the review+merge @freakboy3742!

I prepared PR python/buildmaster-config#748 for the buildbot configuration.

The new configuration works as expected: a new "Display build info of the build Python" step has been added.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@vstinner
vstinner deleted the android_pythoninfo branch July 1, 2026 08:50
maurycy added a commit to maurycy/cpython that referenced this pull request Jul 1, 2026
@maurycy
Merge branch 'main' into maurycy/bye-abba
da7d768
* main: (266 commits)
  pythongh-151626: Fix tests that fail when PYTHONPYCACHEPREFIX is set (pythonGH-151952)
  pythongh-152728: IDLE - move 3 toplevel fix_xyz functions to idlelb.util (python#152729)
  pythongh-152711: Add pythoninfo-build command to Platforms/Android (python#152713)
  pythongh-152715: Add pythoninfo-build command to Platforms/Apple (python#152716)
  pythongh-152433: Windows: enable mmapmodule for UWP (python#152473)
  pythongh-152433: Windows: use GetFileSizeEx instead of GetFileSize for memory mapped files (python#152383)
  pythonGH-81881: Raise `SpecialFileError` for sockets and devices in `shutil.copyfile` (python#142693)
  pythongh-152502: Detect the curses mouse interface and is_* methods portably (pythonGH-152705)
  pythongh-145857: Replace `DELETE_GLOBAL` with `PUSH_NULL; STORE_GLOBAL` (pythonGH-146314)
  pythongh-145854: Replace `DELETE_NAME` with `PUSH_NULL; STORE_NAME` (pythonGH-146006)
  pythongh-152680: Detect container/VM in test.pythoninfo (python#152668)
  pythongh-152682: Fix NULL dereference on OOM in `symtable_visit_type_param_bound_or_default` (python#152684)
  pythongh-151881: Skip tk_inactive negativity check on Windows (pythonGH-152683)
  pythongh-152546: Refactor `mappingproxy.__new__` to use `PyDictProxy_New` (python#152547)
  pythongh-151126: Fix a possible crash during the startup with no memory under `Py_STACKREF_DEBUG` (python#152478)
  pythongh-152635: Raise MemoryError when the lock allocation fails in `_interpchannels.create()` (python#152642)
  pythongh-151029: Fix `test_remote_exec_deleted_static_executable` on static installed builds (pythonGH-152653)
  pythongh-121249: Deprecate using F/D type codes in the struct module (python#152309)
  pythongh-152192: Fix JUMP_BACKWARD passing a truncated oparg to the jit tracer (pythonGH-152382)
  Don't require the `_test{internal}capi` modules in `test_monitoring.py` (python#152311)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@freakboy3742 freakboy3742 freakboy3742 approved these changes
@mhsmith mhsmith Awaiting requested review from mhsmith mhsmith is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

skip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@vstinner @freakboy3742
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.