swap out python to sys.executable to support uv tool install workflows (#544)

This commit is contained in:
Matt Kafonek 2025-07-28 03:48:35 -04:00 committed by GitHub
parent d215724864
commit 5d5762ac20
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -72,7 +72,7 @@ def start_server(port=51000, foreground=False):
if foreground:
process = subprocess.Popen(
[
"python",
sys.executable,
"-m",
"uvicorn",
"src.main:app",
@ -85,7 +85,7 @@ def start_server(port=51000, foreground=False):
else:
process = subprocess.Popen(
[
"python",
sys.executable,
"-m",
"uvicorn",
"src.main:app",