From 248078179ce1e831e6ebabfba15686ee528609e1 Mon Sep 17 00:00:00 2001 From: Alvaro Leiva Geisse Date: Thu, 2 May 2024 13:49:18 -0700 Subject: [PATCH] change python3 to fbpython Summary: there is a bunch of scripts that uses python3 to run, this means that they are at the mercy of whoever controll their path, in linux, this can be system python3, but can also be platform python (and probably it is both), and in windows in particular it abuses c:\tools\fb-python\python3.exe. fbpython is the universal way to run python at the company that chooses the right platform python, but also provides monitoring and observability. this scripts generates jobs like https://www.internalfb.com/sandcastle/job/18014399781484898/ that will stop working once we remove c:\tools\fb-python\python3*.exe Reviewed By: fried Differential Revision: D56896564 fbshipit-source-id: d911fdaf6750635adb05b096f0522603baf47bcc --- build/fbcode_builder/getdeps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/fbcode_builder/getdeps.py b/build/fbcode_builder/getdeps.py index 3b15bd3429..04f06d44a1 100755 --- a/build/fbcode_builder/getdeps.py +++ b/build/fbcode_builder/getdeps.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env fbpython # Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the