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:
2026-08-08 11:58:41 -07:00
parent 4dfc7cf737
commit 8f992fd9d4
+3 -2
View File
@@ -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" "$@"