diff options
author | Mukilan Thiyagarajan <mukilan@igalia.com> | 2024-12-16 14:50:37 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-16 09:20:37 +0000 |
commit | 88a35b3cc99b6bf47099f1551b6a2349bba76c15 (patch) | |
tree | 67ad14a3a325e09c614b2ad53da50b846d023661 /python/servo/post_build_commands.py | |
parent | f757fa46acc865f42205d152dd06e381a674f788 (diff) | |
download | servo-88a35b3cc99b6bf47099f1551b6a2349bba76c15.tar.gz servo-88a35b3cc99b6bf47099f1551b6a2349bba76c15.zip |
mach: adopt `uv` and avoid system python (#34632)
This allows us to use `uv` for:
1. Installing a pinned Python version
2. Installing the dependency packages using `uv`'s pip compatible interface.
4. Bootstrapping `mach` without a Python installion on the host, using `uv
run`
This change also introduces a new 'composite' GitHub action to setup
python in the different CI workflows. There is no support for externally
managed python installations and virtual environments. These could be
added in the future.
Fixes #34095, #34547
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Diffstat (limited to 'python/servo/post_build_commands.py')
-rw-r--r-- | python/servo/post_build_commands.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python/servo/post_build_commands.py b/python/servo/post_build_commands.py index dfe775d83be..99c5424baf3 100644 --- a/python/servo/post_build_commands.py +++ b/python/servo/post_build_commands.py @@ -80,8 +80,7 @@ class PostBuildCommands(CommandBase): @CommandBase.allow_target_configuration def run(self, servo_binary: str, params, debugger=False, debugger_cmd=None, headless=False, software=False, emulator=False, usb=False): - self._run(servo_binary, params, debugger, debugger_cmd, - headless, software, emulator, usb) + return self._run(servo_binary, params, debugger, debugger_cmd, headless, software, emulator, usb) def _run(self, servo_binary: str, params, debugger=False, debugger_cmd=None, headless=False, software=False, emulator=False, usb=False): |