Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 02afae4d54ad3df38cfa1203a00052ab1e81461a
https://github.com/WebKit/WebKit/commit/02afae4d54ad3df38cfa1203a00052ab1e81461a
Author: Simon Lewis <[email protected]>
Date: 2026-05-21 (Thu, 21 May 2026)
Changed paths:
M Tools/Scripts/generate-cmake-vscode-project-macos
Log Message:
-----------
[CMake] generate-cmake-vscode-project-macos: import importlib.machinery for
Python 3.12+
https://bugs.webkit.org/show_bug.cgi?id=315289
Reviewed by David Kilzer.
Update to enable working with brew-installed Python. _load_sibling()
uses importlib.machinery.SourceFileLoader but only imports
importlib.util; on Python <=3.11 importlib.util happened to pull in
importlib.machinery transitively, but 3.12 dropped that, so the script
fails with AttributeError under Homebrew/pyenv python3. Add the
explicit import.
* Tools/Scripts/generate-cmake-vscode-project-macos:
Canonical link: https://commits.webkit.org/313675@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications