Skip to content

Conversation

@Krishna-web-hub
Copy link
Contributor

gh-140266: Fix build-details platform handling for non-cross builds

Key changes:

  • Treat empty _PYTHON_HOST_PLATFORM the same as unset in sysconfig.get_platform().

  • Ensures non-cross builds with --with-build-python generate correct platform value (e.g. linux-x86_64) instead of empty string.

  • Adjusted test_traceback so the Windows-only test is skipped on non-Windows platforms.

  • All tests pass on Linux/WSL after the fix.

  • A NEWS entry has been added.

@picnixz
Copy link
Member

picnixz commented Dec 7, 2025

There are unrelated changes and I suspect that this has been made via LLM. In addition this does not address the configure issue which is suspicious.

@Krishna-web-hub Krishna-web-hub deleted the fixing_python_build branch December 7, 2025 10:36
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.

2 participants