Fix ModuleNotFoundError: No module named 'distutils' in ios_boostrap.py (#30803)

Use vpython3 which still has distutils available
This commit is contained in:
Brian Johnson
2025-08-25 17:16:52 -07:00
committed by GitHub
parent f7e2128998
commit 2b7a2186f5
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ hooks = [
'name': 'bootstrap_ios',
'pattern': '.',
'condition': 'checkout_ios and host_os == "mac"',
'action': ['python3', 'script/ios_bootstrap.py']
'action': ['vpython3', 'script/ios_bootstrap.py']
},
{
# Download hermetic xcode for goma
Regular → Executable
+1
View File
@@ -1,3 +1,4 @@
#!/usr/bin/env vpython3
# Copyright (c) 2024 The Brave Authors. All rights reserved.
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,