Bug 315289

Summary: [CMake] generate-cmake-vscode-project-macos fails on Python 3.12+ (missing importlib.machinery import)
Product: WebKit Reporter: Simon Lewis <simon.lewis>
Component: Tools / TestsAssignee: Simon Lewis <simon.lewis>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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.