Bug 254168

Summary: webkitcorepy fails to install with setuptools >= 60.0.0
Product: WebKit Reporter: Ryan Reno <rreno>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, jbedard, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=261103

Description Ryan Reno 2023-03-20 11:54:42 PDT
setuptools made some changes regarding distutils for version 60. By adding the environment variable `SETUPTOOLS_USE_DISTUTILS=stdlib` setuptools will use the standard library version of distutils and succeed building webkitcorepy. Otherwise, it will fail an assertion with a stack trace similar to this:

https://github.com/pypa/setuptools/issues/2993

We'll need to take this into account when we bump our setuptools requirement.
Comment 1 Radar WebKit Bug Importer 2023-03-20 11:54:52 PDT
<rdar://problem/106955577>
Comment 2 Sam Sneddon [:gsnedders] 2023-08-23 12:11:26 PDT
Specifically: we should drop our usage of distuils, given it's deprecated and going away.
Comment 3 Sam Sneddon [:gsnedders] 2023-09-03 09:17:49 PDT
Ryan: what entrypoint were you using such that you hit this?