You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Android/iOS buildbot should run python -m test.pythoninfo #146410
pythoninfo is useful to debug test failures and collect build information. For example, I wanted to check if Android defines the __STDC_IEC_559__ C macro: I looked for iec_60559 in sys.float_info, but Android lacks pythoninfo data.
I had a look at Android/android.py and it seems like launching a single Python process is quite heavy. It unpack the Python package, launches "gradle" which download stuff, setup a logger, etc. So it seems like launching a second Python process just for python -m test.pythoninfo would be inefficient.
Instead, I propose adding a --pythoninfo option to python -m test so we can dump build information and run the test suite in a single command.
changed the title [-]Android buildbot should run `python -m test.pythoninfo`[/-][+]Android/iOS buildbot should run `python -m test.pythoninfo`[/+]on Mar 26, 2026
Activity
pythongh-146410: Add --pythoninfo option to regrtest
freakboy3742 commentedon Mar 26, 2026
Agreed this is a good idea; the iOS builds would benefit from this as well.
gh-146410: Add --pythoninfo option to regrtest (#146413)
pythongh-146410: Run tests with with --pythoninfo on iOS
vstinner commentedon Mar 26, 2026
I wrote #146457 to run also tests with with
--pythoninfoon iOS.gh-146410: Run tests with with --pythoninfo on iOS (#146457)
[-]Android buildbot should run `python -m test.pythoninfo`[/-][+]Android/iOS buildbot should run `python -m test.pythoninfo`[/+]vstinner commentedon Mar 26, 2026
Ok, Android and iOS now dump the Python build information at the start of the test suite output. It works as expected. I close the issue.
pythongh-146410: Add --pythoninfo to make testios
gh-146410: Add --pythoninfo to make testios (#146494)
pythongh-146410: Add --pythoninfo option to regrtest (python#146413)
pythongh-146410: Run tests with with --pythoninfo on iOS (python#146457)
pythongh-146410: Add --pythoninfo to make testios (python#146494)
pythongh-146410: Add --pythoninfo option to regrtest (python#146413)
pythongh-146410: Run tests with with --pythoninfo on iOS (python#146457)
pythongh-146410: Add --pythoninfo to make testios (python#146494)
[3.14] gh-146410: Add --pythoninfo option to regrtest (GH-146413) (#1…
[3.13] gh-146410: Add --pythoninfo option to regrtest (GH-146413) (#1…