Skip to content

Commit f136f8c

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

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
@@ -356,7 +357,8 @@ def _compile_embedded_lib(self):
356357
"-output",
357358
"feast/embedded_go/lib",
358359
"-vm",
359-
"python3",
360+
# Path of current python executable
361+
sys.executable,
360362
"-no-make",
361363
"github.com/feast-dev/feast/go/embedded"
362364
], env={

0 commit comments

Comments
 (0)