llama-stack-mirror/llama_stack
Jeff Tang 91907b714e
added support of PYPI_VERSION in stack build (#762)
# What does this PR do?

To build a conda env for specific Llama Stack version, e.g.

`PYPI_VERSION=0.0.58 llama stack build --template together --image-type
conda`
will install these in the llamastack-together env:
```
llama_models                             0.0.58
llama_stack                              0.0.58
llama_stack_client                       0.0.58
```
Without `PYPI_VERSION=`, `llama stack build --template together
--image-type conda` installs the latest all.


In short, provide a summary of what this PR does and why. Usually, the
relevant context should be present in a linked issue.

- [ ] Addresses issue (#issue)


## Test Plan

Please describe:
 - tests you ran to verify your changes with result summaries.
 - provide instructions so it can be reproduced.


## Sources

Please link relevant resources if necessary.


## Before submitting

- [ ] This PR fixes a typo or improves the docs (you can dismiss the
other checks if that's the case).
- [ ] Ran pre-commit to handle lint / formatting issues.
- [ ] Read the [contributor
guideline](https://github.com/meta-llama/llama-stack/blob/main/CONTRIBUTING.md),
      Pull Request section?
- [ ] Updated relevant documentation.
- [ ] Wrote necessary unit or integration tests.
2025-01-14 13:45:42 -08:00
..
apis [post training] define llama stack post training dataset format (#717) 2025-01-14 12:48:49 -08:00
cli Fix telemetry to work on reinstantiating new lib cli (#761) 2025-01-14 11:31:50 -08:00
distribution added support of PYPI_VERSION in stack build (#762) 2025-01-14 13:45:42 -08:00
providers [post training] define llama stack post training dataset format (#717) 2025-01-14 12:48:49 -08:00
scripts Fix to conda env build script 2024-12-17 12:19:34 -08:00
templates add braintrust to experimental-post-training template (#763) 2025-01-14 13:42:59 -08:00
__init__.py export LibraryClient 2024-12-13 12:08:00 -08:00