Bug 254168 - webkitcorepy fails to install with setuptools >= 60.0.0
Summary: webkitcorepy fails to install with setuptools >= 60.0.0
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-20 11:54 PDT by Ryan Reno
Modified: 2023-09-04 01:42 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?