mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-20 06:00:06 +08:00
fix(sdk): use PATH-resolved python binary for exec_python
The hardcoded /app/.venv/bin/python path was specific to the old repo-built sandbox image. Community sandbox images install Python at standard system paths, so resolve via PATH instead. Update e2e policy tests and docs to use /usr/bin/python* glob for binary matching.
This commit is contained in:
@@ -556,7 +556,7 @@ _PYTHON_CLOUDPICKLE_BOOTSTRAP = (
|
||||
"print(result) if result is not None else None"
|
||||
)
|
||||
|
||||
_SANDBOX_PYTHON_BIN = "/app/.venv/bin/python"
|
||||
_SANDBOX_PYTHON_BIN = "python"
|
||||
|
||||
|
||||
def _serialize_python_callable(
|
||||
|
||||
Reference in New Issue
Block a user