Open a-wallen opened 2 years ago
https://github.com/flutter/buildroot/blob/master/.gn resolved by flutter/buildroot#590
To catch unexpected uses of python3, consider putting a python3 script at the front of your path that fails loudly. You'll want to make sure the dev workflow still works as expected, including build, git push (for git hooks), etc...
Issue is assigned to multiple teams (infra, engine). Please ensure the issue has only one team-*
label at a time. Use fyi-*
labels to have another team look at the issue without reassigning it.
The triaged-engine
label is irrelevant if there is no team-engine
label or fyi-engine
label.
TL;DR
Update
python3
references withvpython3
for consistent, reproducible builds.Root cause
Instructions for setting up the Engine development environment guide users to install both Chromium's depot_tools and Python.
Hence, developers correctly assume that they may rely on
python3
when developing scripts, but a user installedpython3
can lead to unexpected behavior as seen in flutter/flutter#108122 and confusion.The history shows that we intended to use
vpython3
for consistent, reproducible builds, but due the following upstream issue, flutter/flutter#88719, those references were reverted back topython3
.WIP Todo List:
python3
references tovpython3