Page MenuHomePhabricator

Bug 1858062 - Remove reference to distutils in mozboot r=saschanaz
ClosedPublic

Authored by sergesanspaille on Oct 10 2023, 7:33 AM.
Referenced Files
Unknown Object (File)
Wed, Oct 15, 4:08 AM
Unknown Object (File)
Tue, Oct 14, 4:01 PM
Unknown Object (File)
Mon, Oct 13, 4:37 PM
Unknown Object (File)
Mar 23 2025, 7:39 AM
Unknown Object (File)
Mar 18 2025, 10:31 AM
Unknown Object (File)
Jan 12 2025, 7:10 PM
Unknown Object (File)
Aug 14 2024, 12:16 PM
Unknown Object (File)
Nov 30 2023, 8:41 AM
Subscribers

Details

Summary

distutils is no longer available in Python 3.12, which means we cannot
require it on bootstrap, otherwise we cannot bootstrap from Py 3.12.

We already require setuptools as part of mach's requirements, so it's
fine to depend on setuptools elsewhere.

Diff Detail

Event Timeline

phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: secure-revision.
This revision is now accepted and ready to land.Oct 10 2023, 12:19 PM
python/mozboot/setup.py
8

In what situation would setuptools fail and require fallback, btw?

I think we need to wait until we've removed all references to distutils from the codebase, cc @glandium for confirmation.