mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-12 20:12:33 +00:00
Moved package code from llama_stack/ to src/llama_stack/ following Python packaging best practices. Updated pyproject.toml, MANIFEST.in, and tool configurations accordingly. Public API and import paths remain unchanged. Developers will need to reinstall in editable mode after pulling this change. Also updated paths in pre-commit config, scripts, and GitHub workflows.
47 lines
1 KiB
YAML
47 lines
1 KiB
YAML
name: Python Package Build Test
|
|
|
|
run-name: Test building the llama-stack PyPI project
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths-ignore:
|
|
- 'src/llama_stack/ui/**'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ['3.12', '3.13']
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@2ddd2b9cb38ad8efd50337e8ab201519a34c9f24 # v7.1.1
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
activate-environment: true
|
|
version: 0.7.6
|
|
|
|
- name: Build Llama Stack package
|
|
run: |
|
|
uv build
|
|
|
|
- name: Install Llama Stack package
|
|
run: |
|
|
uv pip install dist/*.whl
|
|
|
|
- name: Verify Llama Stack package
|
|
run: |
|
|
uv pip list
|
|
uv pip show llama-stack
|
|
command -v llama
|
|
llama stack list-apis
|
|
llama stack list-providers inference
|