Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 1906365 - Gradle plugin: support using an external venv. #2889

Merged
merged 4 commits into from
Jul 9, 2024

Conversation

nicolas-guichard
Copy link
Contributor

mozilla-central uses a vendored copy of glean_parser except for the Android parts which currently download their own copy at build time through the Gradle plugin.

This provides a way to re-use an existing Python virtualenv, in the case of mozilla-central managed by mach, instead of setting up a bespoke one.

This has been tested locally and in this Try run where we can see that the gradle-dependencies task (using gradle --online) doesn't use Miniconda anymore and the Android Searchfox task (using gradle --offline) succeeds without supplying the glean_parser wheels.

mozilla-central uses a vendored copy of glean_parser except for the
Android parts which currently download their own copy at build time
through the Gradle plugin.

This commit provides a way to re-use an existing Python virtualenv, in
the case of mozilla-central managed by mach, instead of setting up a
bespoke one.
@nicolas-guichard nicolas-guichard requested a review from a team as a code owner July 8, 2024 23:06
@nicolas-guichard nicolas-guichard requested review from rosahbruno and removed request for a team July 8, 2024 23:06
Copy link
Member

@badboy badboy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, even including updating the docs right away!

@badboy badboy enabled auto-merge (rebase) July 9, 2024 09:06
@badboy badboy merged commit 1abde2f into mozilla:main Jul 9, 2024
29 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants