Commit graph

3 commits

Author SHA1 Message Date
Ashwin Bharambe
8ebb9195a4 fix: use test.pypi as extra index, not primary
UV was configured with test.pypi as primary index and PyPI as extra index.
This caused failures because packages like hf-transfer don't exist on test.pypi.

Changed to use PyPI as primary (default) and test.pypi as extra index.
UV will now find common packages on PyPI and only look for RC versions on test.pypi.
2025-10-31 07:29:20 -07:00
Ashwin Bharambe
34471d87c1 fix: use test.pypi for uv sync on release branches
The previous approach tried to install before uv sync, but there's no
venv yet. The correct solution:

- Release branches: Point UV_INDEX_URL to test.pypi so uv sync can
  resolve RC versions, then install exact git version after sync
- Non-release branches: Run uv sync normally, then install git version
  if client-version=latest

This lets uv sync create the venv first, then we install/override the
client version as needed.
2025-10-31 06:20:11 -07:00
Ashwin Bharambe
0924d8ad87 refactor: consolidate all client install logic into single action
Renamed install-client-for-release to install-llama-stack-client and
made it handle both release branches and client-version inputs. Now
all client installation logic lives in one place:

- Release branches: always install from matching git branch
- Non-release branches: install based on client-version input

This eliminates all the conditional logic from setup-runner.
2025-10-31 06:20:11 -07:00
Renamed from .github/actions/install-client-for-release/action.yml (Browse further)