This issue happens when webkitcorepy (or webkitscmpy) is installed to the system's Python libraries, and the installed version does not match the version checked in to WebKit. This issue is caused by us doing sys.path.append instead of sys.path.insert(0, ...).
<rdar://problem/75905163>
Created attachment 424413 [details] Patch
So the fix was something along the lines of Cmd+F for imports of "webkitcorepy" and then changing the insertion method? rs=me as I'm not sure which files need this change but that logic makes sense to me
Comment on attachment 424413 [details] Patch The services failure looks unrelated
(In reply to Alan Coon from comment #3) > So the fix was something along the lines of Cmd+F for imports of > "webkitcorepy" and then changing the insertion method? > > rs=me as I'm not sure which files need this change but that logic makes > sense to me Actually, I just searched for 'sys.path.appned', that's almost always incorrect, and even if it's not implicated in this bug, it's just going to bite us later.
Committed r275122 (235827@main): <https://commits.webkit.org/235827@main>