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-152715: Add pythoninfo-build command to Platforms/Apple by vstinner · Pull Request #152716 · 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/Apple to display build info of the build Python. The command runs "make pythoninfo".

The "ci" and "build" commands now also run "pythoninfo-build".

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

Sorry, something went wrong.

Uh oh!

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

All reactions
@vstinner
pythongh-152715: Add pythoninfo-build command to Platforms/Apple
617f112
Add a pythoninfo-build command to Platforms/Apple to display build
info of the build Python. The command runs "make pythoninfo".

The "ci" and "build" commands now also run "pythoninfo-build".
@vstinner
vstinner requested a review from freakboy3742 as a code owner June 30, 2026 23:10
@vstinner vstinner added 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 added the awaiting core review label Jun 30, 2026
@bedevere-app bedevere-app Bot mentioned this pull request Jun 30, 2026
Platforms/Apple: add pythoninfo-build command to display build info of the build Python #152715
Closed
@vstinner

vstinner commented Jun 30, 2026

Copy link
Copy Markdown
Member Author

My plan is to backport this change to 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

See also pending PR #152713 for Android.

cc @freakboy3742 @ned-deily

All reactions

Sorry, something went wrong.

Uh oh!

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

@vstinner vstinner added the skip news label Jun 30, 2026
@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

Logs of the iOS CI.

Build Python pythoninfo: ARM64 on macOS-14.8.7 running in a VM.

  CC.version: Apple clang version 15.0.0 (clang-1500.3.9.4)

  build.Py_DEBUG: No (sys.gettotalrefcount() missing)
  build.Py_TRACE_REFS: No (sys.getobjects() missing)
  libregrtests.build_info: release

  os.cpu_count: 3

  os.uname: posix.uname_result(sysname='Darwin', nodename='sjc22-bm211-1488f3f6-5c02-4a2c-92dd-d9837957b5c7-D6819186AD42.local', release='23.6.0', version='Darwin Kernel Version 23.6.0: Tue Apr 21 20:17:41 PDT 2026; root:xnu-10063.141.1.712.16~1/RELEASE_ARM64_VMAPPLE', machine='arm64')
  platform.architecture: 64bit Mach-O
  platform.platform: macOS-14.8.7-arm64-arm-64bit-Mach-O

  sys.version: 3.16.0a0 (remotes/pull/152716/merge-dirty:75f4b27, Jun 30 2026, 23:12:34) [Clang 15.0.0 (clang-1500.3.9.4)]

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

iOS pythoninfo: iOS on arm64.

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

  os.cpu_count: 3

  os.uname: posix.uname_result(sysname='Darwin', nodename='sjc22-bm211-1488f3f6-5c02-4a2c-92dd-d9837957b5c7-D6819186AD42.local', release='23.6.0', version='Darwin Kernel Version 23.6.0: Tue Apr 21 20:17:41 PDT 2026; root:xnu-10063.141.1.712.16~1/RELEASE_ARM64_VMAPPLE', machine='arm64')
  platform.architecture: 64bit
  platform.platform: iOS-17.5-arm64-64bit
  sys.platform: ios

  sys.version: 3.16.0a0 (remotes/pull/152716/merge-dirty:75f4b27, Jun 30 2026, 23:13:46) [Clang 15.0.0 (clang-1500.3.9.4)]

  system.uptime: 0:18:11
All reactions

Sorry, something went wrong.

Uh oh!

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

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 awaiting merge and removed awaiting core review labels Jul 1, 2026
@freakboy3742
freakboy3742 merged commit 746c535 into python:main Jul 1, 2026
60 checks passed

Uh oh!

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

@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.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 removed the awaiting merge label Jul 1, 2026
@bedevere-app

bedevere-app Bot commented Jul 1, 2026

Copy link
Copy Markdown

GH-152723 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-152724 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
freakboy3742 pushed a commit that referenced this pull request Jul 1, 2026
@miss-islington @vstinner
[3.14] gh-152715: Add pythoninfo-build command to Platforms/Apple (GH…
08e1772
…-152716) (#152724)

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

The "ci" and "build" commands now also run "pythoninfo-build".
(cherry picked from commit 746c535)

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-152715: Add pythoninfo-build command to Platforms/Apple (GH…
fc8d7ed
…-152716) (#152723)

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

The "ci" and "build" commands now also run "pythoninfo-build".
(cherry picked from commit 746c535)

Co-authored-by: Victor Stinner <[email protected]>
@vstinner
vstinner deleted the apple_pythoninfo branch July 1, 2026 08:38
@vstinner

vstinner commented Jul 1, 2026

Copy link
Copy Markdown
Member Author

Thanks for the review+merge @freakboy3742!

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

Oh, the buildbot configuration has a "Configure and compile build Python" step which runs "python3 Platforms/Apple build iOS build" and with this change, the step already runs test.pythoninfo on the build Python:

CC.version: Apple clang version 16.0.0 (clang-1600.0.26.6)
os.cpu_count: 8

os.uname: posix.uname_result(sysname='Darwin', nodename='ip-10-0-98-195.ec2.internal', release='24.6.0', version='Darwin Kernel Version 24.6.0: Wed Nov  5 21:33:59 PST 2025; root:xnu-11417.140.69.705.2~1/RELEASE_ARM64_T8112', machine='arm64')
platform.architecture: 64bit Mach-O
platform.platform: macOS-15.7.3-arm64-arm-64bit-Mach-O

sys.version: 3.16.0a0 (heads/main-dirty:564c58c718b, Jul  1 2026, 05:53:24) [Clang 16.0.0 (clang-1600.0.26.6)]

system.hardware: Mac14,3
system.uptime: 11 days, 8:44:27

I will leave the configuration as it is for now, since pythoninfo is now run as expected. But maybe later the configuration can be modified to run each step (configure, build, pythoninfo) as separated buildbot steps to separate the logs (to make logs easier to read).

All reactions

Sorry, something went wrong.

Uh oh!

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

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)
  ...
freakboy3742 pushed a commit to freakboy3742/cpython that referenced this pull request Oct 2, 2026
@miss-islington @vstinner @freakboy3742
[3.13] pythongh-152715: Add pythoninfo-build command to Platforms/App…
81ce4cf
…le (pythonGH-152716) (python#152723)

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

The "ci" and "build" commands now also run "pythoninfo-build".
(cherry picked from commit 746c535)

Co-authored-by: Victor Stinner <[email protected]>
freakboy3742 pushed a commit to freakboy3742/cpython that referenced this pull request Oct 2, 2026
@miss-islington @vstinner @freakboy3742
[3.12] pythongh-152715: Add pythoninfo-build command to Platforms/App…
83f6dcb
…le (pythonGH-152716) (python#152723)

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

The "ci" and "build" commands now also run "pythoninfo-build".
(cherry picked from commit 746c535)

Co-authored-by: Victor Stinner <[email protected]>
freakboy3742 pushed a commit to freakboy3742/cpython that referenced this pull request Oct 2, 2026
@miss-islington @vstinner @freakboy3742
[3.11] pythongh-152715: Add pythoninfo-build command to Platforms/App…
975e59a
…le (pythonGH-152716) (python#152723)

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

The "ci" and "build" commands now also run "pythoninfo-build".
(cherry picked from commit 746c535)

Co-authored-by: Victor Stinner <[email protected]>
freakboy3742 pushed a commit to freakboy3742/cpython that referenced this pull request Oct 12, 2026
@miss-islington @vstinner @freakboy3742
[3.13] pythongh-152715: Add pythoninfo-build command to Platforms/App…
d6f4fd9
…le (pythonGH-152716) (python#152723)

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

The "ci" and "build" commands now also run "pythoninfo-build".
(cherry picked from commit 746c535)

Co-authored-by: Victor Stinner <[email protected]>
freakboy3742 pushed a commit to freakboy3742/cpython that referenced this pull request Oct 12, 2026
@miss-islington @vstinner @freakboy3742
[3.12] pythongh-152715: Add pythoninfo-build command to Platforms/App…
0dc6d8a
…le (pythonGH-152716) (python#152723)

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

The "ci" and "build" commands now also run "pythoninfo-build".
(cherry picked from commit 746c535)

Co-authored-by: Victor Stinner <[email protected]>
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

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.