Skip to content
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

[3.12] gh-112305: Fix check-clean-src to detect frozen_modules .h files. (GH-113344) #113346

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Dec 21, 2023

A typo left this check broken so many of us who do out-of-tree builds
were seeing strange failures due to bad Python/frozen_modules/*.h
files being picked up from the source tree and used at build time from
different Python versions leading to errors like:

Fatal Python error: _PyImport_InitCore: failed to initialize importlib

Or similar once our build got to an "invoke the interpreter"
bootstrapping step due to incorrect bytecode being embedded.
(cherry picked from commit 103c4ea)

Co-authored-by: Gregory P. Smith [email protected]

…s. (pythonGH-113344)

A typo left this check broken so many of us who do out-of-tree builds
were seeing strange failures due to bad `Python/frozen_modules/*.h`
files being picked up from the source tree and used at build time from
different Python versions leading to errors like:

`Fatal Python error: _PyImport_InitCore: failed to initialize importlib`

Or similar once our build got to an "invoke the interpreter"
bootstrapping step due to incorrect bytecode being embedded.
(cherry picked from commit 103c4ea)

Co-authored-by: Gregory P. Smith <[email protected]>
@gpshead gpshead enabled auto-merge (squash) December 21, 2023 07:33
@gpshead gpshead merged commit 88e089c into python:3.12 Dec 21, 2023
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants