Align frontend API contracts and CI pipeline #15
@@ -46,13 +46,8 @@ jobs:
|
|||||||
|
|
||||||
timeout 180s "${BOOTSTRAP_PYTHON}" -m pip install --user --break-system-packages --upgrade pip uv
|
timeout 180s "${BOOTSTRAP_PYTHON}" -m pip install --user --break-system-packages --upgrade pip uv
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
|
||||||
if "${BOOTSTRAP_PYTHON}" -c 'import sys; raise SystemExit(0 if sys.version_info >= (3, 11) else 1)'; then
|
|
||||||
PYTHON_BIN="${BOOTSTRAP_PYTHON}"
|
|
||||||
else
|
|
||||||
timeout 300s uv python install "${PYTHON_VERSION}"
|
timeout 300s uv python install "${PYTHON_VERSION}"
|
||||||
PYTHON_BIN="${PYTHON_VERSION}"
|
PYTHON_BIN="$(uv python find --managed-python "${PYTHON_VERSION}")"
|
||||||
fi
|
|
||||||
|
|
||||||
printf 'PYTHON_BIN=%s\n' "${PYTHON_BIN}" > .ci-python-env
|
printf 'PYTHON_BIN=%s\n' "${PYTHON_BIN}" > .ci-python-env
|
||||||
|
|
||||||
@@ -137,13 +132,8 @@ jobs:
|
|||||||
|
|
||||||
timeout 180s "${BOOTSTRAP_PYTHON}" -m pip install --user --break-system-packages --upgrade pip uv
|
timeout 180s "${BOOTSTRAP_PYTHON}" -m pip install --user --break-system-packages --upgrade pip uv
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
|
||||||
if "${BOOTSTRAP_PYTHON}" -c 'import sys; raise SystemExit(0 if sys.version_info >= (3, 11) else 1)'; then
|
|
||||||
PYTHON_BIN="${BOOTSTRAP_PYTHON}"
|
|
||||||
else
|
|
||||||
timeout 300s uv python install "${PYTHON_VERSION}"
|
timeout 300s uv python install "${PYTHON_VERSION}"
|
||||||
PYTHON_BIN="${PYTHON_VERSION}"
|
PYTHON_BIN="$(uv python find --managed-python "${PYTHON_VERSION}")"
|
||||||
fi
|
|
||||||
|
|
||||||
printf 'PYTHON_BIN=%s\n' "${PYTHON_BIN}" > .ci-python-env
|
printf 'PYTHON_BIN=%s\n' "${PYTHON_BIN}" > .ci-python-env
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user