Closed Bug 1858062 Opened 1 year ago Closed 1 year ago

Remove distutils dependency from mozboot

Categories

(Firefox Build System :: Mach Core, task)

task

Tracking

(firefox-esr115 fixed, firefox121 fixed)

RESOLVED FIXED
121 Branch
Tracking Status
firefox-esr115 --- fixed
firefox121 --- fixed

People

(Reporter: sergesanspaille, Assigned: sergesanspaille)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

No description provided.

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.

There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:sergesanspaille, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.

Flags: needinfo?(sguelton)
Flags: needinfo?(krosylight)

Serge can decide when this should land.

Flags: needinfo?(krosylight)
Pushed by sguelton@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/201fc291a2c0 Remove reference to distutils in mozboot r=saschanaz
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
Flags: needinfo?(sguelton)

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.

Original Revision: https://phabricator.services.mozilla.com/D190537

Attachment #9377309 - Flags: approval-mozilla-esr115?

Uplift Approval Request

  • User impact if declined: Failure to build with python 3.12 downstream
  • Steps to reproduce for manual QE testing: N/A
  • Fix verified in Nightly: yes
  • Risk associated with taking this patch: Low
  • Needs manual QE test: no
  • Explanation of risk level: This doesn't affect Firefox directly, only the process of building Firefox itself. If this causes problems, this will be visible on CI, not as Firefox failures, but as various job failures in python code.
  • String changes made/needed: N/A
  • Code covered by automated testing: yes
  • Is Android affected?: no
Blocks: python3.12
Attachment #9377309 - Flags: approval-mozilla-esr115? → approval-mozilla-esr115+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: