Skip to content

Commit 1c523bf

Browse files
achalsadchia
authored andcommitted
fix: Update build_go_protos to use a consistent python path (#2550)
Signed-off-by: Achal Shah <[email protected]>
1 parent abd6be7 commit 1c523bf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sdk/python/setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import re
1818
import shutil
1919
import subprocess
20+
import sys
2021
from distutils.cmd import Command
2122
from pathlib import Path
2223
from subprocess import CalledProcessError
@@ -355,7 +356,8 @@ def _compile_embedded_lib(self):
355356
"-output",
356357
"feast/embedded_go/lib",
357358
"-vm",
358-
"python3",
359+
# Path of current python executable
360+
sys.executable,
359361
"-no-make",
360362
"github.com/feast-dev/feast/go/embedded"
361363
], env={

0 commit comments

Comments
 (0)