WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
315289
[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
Add attachment
proposed patch, testcase, etc.
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
<
rdar://problem/177630399
>
Radar WebKit Bug Importer
Comment 3
2026-05-21 09:34:08 PDT
<
rdar://problem/177630350
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug