RESOLVED FIXED315289
[CMake] generate-cmake-vscode-project-macos fails on Python 3.12+ (missing importlib.machinery import)
https://bugs.webkit.org/show_bug.cgi?id=315289
Summary [CMake] generate-cmake-vscode-project-macos fails on Python 3.12+ (missing im...
Simon Lewis
Reported 2026-05-21 08:47:39 PDT
_load_sibling() uses importlib.machinery.SourceFileLoader but only imports importlib.util; Python 3.12 dropped the transitive import so the script fails with AttributeError under Homebrew/pyenv python3. Add the explicit import.
Attachments
EWS
Comment 1 2026-05-21 09:33:59 PDT
Committed 313675@main (02afae4d54ad): <https://commits.webkit.org/313675@main> Reviewed commits have been landed. Closing PR #65414 and removing active labels.
Radar WebKit Bug Importer
Comment 2 2026-05-21 09:34:07 PDT
Radar WebKit Bug Importer
Comment 3 2026-05-21 09:34:08 PDT
Note You need to log in before you can comment on or make changes to this bug.