New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test.pythoninfo does not print the cross-built sysconfig data #76386
Comments
When cross-compiling the only useful information printed by pythoninfo is the cross-built sysconfig data since everything else is related to the native python process used during the cross-build. Currently pythoninfo prints the native sysconfig data instead. |
I'm not sure of the purpose of this change. You can please elaborate on you use case? You use cross-compilation, ok. But why do you want to run test.pythoninfo on the computer building Python, rather than the computer running tests? The purpose of test.pythoninfo is to dump informations on tests run by "./python -m test". I wrote it for buildbots. If your use case is to have an Android buildbot worker, test.pythoninfo would be run on Android, no? |
"make pythoninfo" is an alias for ./python -m test.pythoninfo. I added to support Python compiled in shared mode (./configure --enable-shared) and macOS which requires ./python.exe. Obviously, for a specific buildbot or specific script, you are free to run directly ./python -m test.pythoninfo, rather than running "make pythoninfo" ;-) |
See also bpo-32210: Add the versions of the Android SDK and NDK to test.pythoninfo. |
I may have misunderstood the scope of pythoninfo. On Android the readline or sqlite versions are known at build time since they have to be built at that time, but much more useful information can be obtained (or will be obtained) from python running on the device or the emulator. For the NDK and SDK versions (bpo-32210), these can be printed by the 'all' target for the NDK and by one of the emulator targets for the SDK. This means that both this issue and bpo-32210 may be closed as wont fix. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: