Force all mach commands to use the vendored `glean_parser`
Categories
(Firefox Build System :: Mach Core, enhancement)
Tracking
(firefox-esr102 fixed, firefox113 fixed, firefox114 fixed)
People
(Reporter: ahochheiden, Assigned: ahochheiden)
References
Details
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-release+
RyanVM
:
approval-mozilla-esr102+
|
Details | Review |
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 | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
Comment 4•2 years ago
•
|
||
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 ;-).
Comment 6•2 years ago
|
||
| bugherder | ||
Comment 7•2 years ago
•
|
||
This affects downstream (distribution) builds of Firefox 113.
Comment 8•2 years ago
|
||
Seems like a pretty trivial backport to ride along in a dot release. Go ahead and nominate for release approval if you agree, Alex!
Comment 9•2 years ago
|
||
This probably affects esr too.
| Assignee | ||
Comment 10•2 years ago
|
||
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_parserwill 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_parserforbuildandpython-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
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: If this is not done, various
machcommands will not work. - User impact if declined: If this is not done, various
machcommands will not work. - Fix Landed on Version: https://phabricator.services.mozilla.com/rMOZILLACENTRAL7b58b83f3ba9e996187d72051dc4ef413970c043
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky):
Comment 11•2 years ago
|
||
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.
Comment 12•2 years ago
|
||
| bugherder uplift | ||
Comment 13•2 years ago
|
||
Comment on attachment 9331966 [details]
Bug 1831691 - Use the vendored 'glean_parser' for all of mach r?#build
Approved for 102.12esr also.
Comment 14•2 years ago
|
||
| bugherder uplift | ||
Description
•