FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-146410: Run tests with with --pythoninfo on iOS by vstinner · Pull Request #146457 · python/cpython · GitHub

Repository navigation

gh-146410: Run tests with with --pythoninfo on iOS - #146457

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:ios_pythoninfo
Mar 26, 2026
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:ios_pythoninfo

Conversation

vstinner commented Mar 26, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

Add --pythoninfo option to dump build information.

Add --pythoninfo option to dump build information.

Copy link
Copy Markdown
Member Author

Cool, the Tests / iOS CI job ran with my change and it works as expected. Extract:

Python build information
########################

build.NDEBUG: ignore assertions (macro defined)
build.Py_DEBUG: No (sys.gettotalrefcount() missing)
...
config[argv]: ('Testbed', '--fast-ci', '--single-process', '--no-randomize', '--pythoninfo', '--timeout=-1', '--dont-add-python-opts')
...
libregrtests.build_info: release framework=Python
...
os.cpu_count: 3
os.getcwd: /Users/runner/Library/Developer/CoreSimulator/Devices/992C8CD4-7790-4242-B834-CBF782D329AF/data/Containers/Bundle/Application/E1618FD4-569A-4648-838D-1C0092D92125/iOSTestbed.app/app
os.uname: posix.uname_result(sysname='Darwin', nodename='sat12-dp147-24535195-94ca-4724-a95e-c100bf330fde-BE9BE10A5A8F.local', release='23.6.0', version='Darwin Kernel Version 23.6.0: Mon Jan 19 22:03:27 PST 2026; root:xnu-10063.141.1.710.3~1/RELEASE_ARM64_VMAPPLE', machine='arm64')
...
platform.architecture: 64bit
platform.platform: iOS-17.5-arm64-64bit
...
socket.hostname: sat12-dp147-24535195-94ca-4724-a95e-c100bf330fde-BE9BE10A5A8F.local
ssl.OPENSSL_VERSION: OpenSSL 3.5.5 27 Jan 2026
...
support.has_fork_support: False
support.has_socket_support: True
support.has_subprocess_support: False
...
sys._framework: Python
sys.implementation: namespace(name='cpython', cache_tag='cpython-315', version=sys.version_info(major=3, minor=15, micro=0, releaselevel='alpha', serial=7), hexversion=51314855, _multiarch='arm64-iphonesimulator', supports_isolated_interpreters=True)
sys.platform: ios
sys.version: 3.15.0a7+ (remotes/pull/146457/merge-dirty:75ee03e, Mar 26 2026, 10:24:13) [Clang 15.0.0 (clang-1500.3.9.4)]
...
sysconfig[CC]: arm64-apple-ios-simulator-clang
[07](https://github.com/python/cpython/actions/runs/23589231875/job/68690011109?pr=146457#step:4:9107)
sysconfig[HOST_GNU_TYPE]: aarch64-apple-ios-simulator
sysconfig[MACHDEP]: ios
sysconfig[SOABI]: cpython-315-iphonesimulator
sysconfig[MULTIARCH]: arm64-iphonesimulator

And the info I was looking for: sys.float_info(..., iec_60559=False).

vstinner merged commit 1038a3a into python:main Mar 26, 2026
31 checks passed
vstinner deleted the ios_pythoninfo branch March 26, 2026 10:44
clin1234 pushed a commit to clin1234/cpython that referenced this pull request Apr 16, 2026
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL