Closed Bug 1831691 Opened 2 years ago Closed 2 years ago

Force all mach commands to use the vendored `glean_parser`

Categories

(Firefox Build System :: Mach Core, enhancement)

enhancement

Tracking

(firefox-esr102 fixed, firefox113 fixed, firefox114 fixed)

RESOLVED FIXED
114 Branch
Tracking Status
firefox-esr102 --- fixed
firefox113 --- fixed
firefox114 --- fixed

People

(Reporter: ahochheiden, Assigned: ahochheiden)

References

Details

Attachments

(1 file)

We can't vendor glean-sdk, but we do already have glean_parser vendored, so we should opt to use it rather than having a loose dependency potentially causing breakages if a new version if pushed to PyPi.

We already do this for the build and python-test sites, but let's just do it for mach overall.

Assignee: nobody → ahochheiden
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/7b58b83f3ba9 Use the vendored 'glean_parser' for all of `mach` r=firefox-build-system-reviewers,glandium
Duplicate of this bug: 1831786

I think also moz-phab is affected and after applying the changes from this patch manually, mach build works again but moz-phab does not find the glean module anymore.

Edit: It might just be that I deinstalled all glean instances I could find on my machine, though ;-).

Duplicate of this bug: 1831808
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch

This affects downstream (distribution) builds of Firefox 113.

Seems like a pretty trivial backport to ride along in a dot release. Go ahead and nominate for release approval if you agree, Alex!

Flags: needinfo?(ahochheiden)

This probably affects esr too.

Comment on attachment 9331966 [details]
Bug 1831691 - Use the vendored 'glean_parser' for all of mach r?#build

Beta/Release Uplift Approval Request

  • User impact if declined: The newest version of glean_parser will be downloaded, which is incompatible with what's in tree.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): We already use the a vendored glean_parser for build and python-test, this change makes that version be used everywhere, rather than the newest version be downloaded from PyPi.
  • String changes made/needed:
  • Is Android affected?: Unknown

ESR Uplift Approval Request

Flags: needinfo?(ahochheiden)
Attachment #9331966 - Flags: approval-mozilla-release?
Attachment #9331966 - Flags: approval-mozilla-esr102?

Comment on attachment 9331966 [details]
Bug 1831691 - Use the vendored 'glean_parser' for all of mach r?#build

NPOTB for Firefox builds, but makes life easier for downstream distros. Approved for 113.0.1.

Attachment #9331966 - Flags: approval-mozilla-release? → approval-mozilla-release+

Comment on attachment 9331966 [details]
Bug 1831691 - Use the vendored 'glean_parser' for all of mach r?#build

Approved for 102.12esr also.

Attachment #9331966 - Flags: approval-mozilla-esr102? → approval-mozilla-esr102+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: