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 / Tests | Assignee: | 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
_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
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
<rdar://problem/177630399>
Radar WebKit Bug Importer
<rdar://problem/177630350>