mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
one spelling for running the driver, and it is the one that has an interpreter
`python3 generate.py` finds no `yaml` module on a fleet runner, so three of the four call sites could not run the driver they had just been handed. js-sdk already ran it under uv and worked; this is that same line, in the other three.
This commit is contained in:
+3
-2
@@ -16,7 +16,8 @@
|
||||
# from a private repo — so every CI regeneration died at the clone with
|
||||
# `could not read Username`. Set OPENAPI by hand to run it by hand.
|
||||
#
|
||||
# Requires: python3 (+pyyaml), java 11+.
|
||||
# Requires: uv, java 11+. uv carries the interpreter and the PyYAML the driver
|
||||
# needs; the ci client lane provisions it.
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
@@ -24,4 +25,4 @@ cd "$(dirname "$0")/.."
|
||||
|
||||
if [ -n "${SPEC:-}" ]; then set -- --spec "$SPEC" "$@"; fi
|
||||
|
||||
exec python3 "$OPENAPI/generate.py" python --repo "$PWD" "$@"
|
||||
exec uv run --with pyyaml python3 "$OPENAPI/generate.py" python --repo "$PWD" "$@"
|
||||
|
||||
Reference in New Issue
Block a user