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

Ryan Reno
Reported 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.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-03-20 11:54:52 PDT
Sam Sneddon [:gsnedders]
Comment 2 2023-08-23 12:11:26 PDT
Specifically: we should drop our usage of distuils, given it's deprecated and going away.
Sam Sneddon [:gsnedders]
Comment 3 2023-09-03 09:17:49 PDT
Ryan: what entrypoint were you using such that you hit this?
Note You need to log in before you can comment on or make changes to this bug.