Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
gh-112305: Fix check-clean-src to detect frozen_modules .h files.#113344
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
A typo left this check broken so many of us who do out-of-tree buildswere seeing strange failures due to bad `Python/frozen_modules/*.h`files being picked up from the source tree and used at build time fromdifferent 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.
Easily cut and pasteable on its own line, with less repetition.
erlend-aasland left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Nice, thanks!
Thanks@gpshead for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
GH-113346 is a backport of this pull request to the3.12 branch. |
GH-113347 is a backport of this pull request to the3.11 branch. |
…s. (pythonGH-113344)A typo left this check broken so many of us who do out-of-tree buildswere seeing strange failures due to bad `Python/frozen_modules/*.h`files being picked up from the source tree and used at build time fromdifferent 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 commit103c4ea)Co-authored-by: Gregory P. Smith <greg@krypto.org>
…s. (pythonGH-113344)A typo left this check broken so many of us who do out-of-tree buildswere seeing strange failures due to bad `Python/frozen_modules/*.h`files being picked up from the source tree and used at build time fromdifferent 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 commit103c4ea)Co-authored-by: Gregory P. Smith <greg@krypto.org>
…es. (GH-113344) (#113347)gh-112305: Fix check-clean-src to detect frozen_modules .h files. (GH-113344)A typo left this check broken so many of us who do out-of-tree buildswere seeing strange failures due to bad `Python/frozen_modules/*.h`files being picked up from the source tree and used at build time fromdifferent 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 commit103c4ea)Co-authored-by: Gregory P. Smith <greg@krypto.org>
…es. (GH-113344) (#113346)gh-112305: Fix check-clean-src to detect frozen_modules .h files. (GH-113344)A typo left this check broken so many of us who do out-of-tree buildswere seeing strange failures due to bad `Python/frozen_modules/*.h`files being picked up from the source tree and used at build time fromdifferent 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 commit103c4ea)Co-authored-by: Gregory P. Smith <greg@krypto.org>
…s. (python#113344)A typo left this check broken so many of us who do out-of-tree buildswere seeing strange failures due to bad `Python/frozen_modules/*.h`files being picked up from the source tree and used at build time fromdifferent 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.
…s. (python#113344)A typo left this check broken so many of us who do out-of-tree buildswere seeing strange failures due to bad `Python/frozen_modules/*.h`files being picked up from the source tree and used at build time fromdifferent 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.
…s. (python#113344)A typo left this check broken so many of us who do out-of-tree buildswere seeing strange failures due to bad `Python/frozen_modules/*.h`files being picked up from the source tree and used at build time fromdifferent 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.
…s. (python#113344)A typo left this check broken so many of us who do out-of-tree buildswere seeing strange failures due to bad `Python/frozen_modules/*.h`files being picked up from the source tree and used at build time fromdifferent 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.
Uh oh!
There was an error while loading.Please reload this page.
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/*.hfiles 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 importlibOr similar once our build got to an "invoke the interpreter" bootstrapping step due to incorrect bytecode being embedded.