forked from phoenix-oss/llama-stack-mirror
Fix to conda env build script
This commit is contained in:
parent
0452c6a0c7
commit
fbca51d6da
2 changed files with 18 additions and 1 deletions
|
@ -83,7 +83,9 @@ ensure_conda_env_python310() {
|
||||||
# these packages are damaged in test-pypi, so install them first
|
# these packages are damaged in test-pypi, so install them first
|
||||||
$CONDA_PREFIX/bin/pip install fastapi libcst
|
$CONDA_PREFIX/bin/pip install fastapi libcst
|
||||||
$CONDA_PREFIX/bin/pip install --extra-index-url https://test.pypi.org/simple/ \
|
$CONDA_PREFIX/bin/pip install --extra-index-url https://test.pypi.org/simple/ \
|
||||||
llama-models==$TEST_PYPI_VERSION llama-stack==$TEST_PYPI_VERSION \
|
llama-models==$TEST_PYPI_VERSION \
|
||||||
|
llama-stack-client==$TEST_PYPI_VERSION \
|
||||||
|
llama-stack==$TEST_PYPI_VERSION \
|
||||||
$pip_dependencies
|
$pip_dependencies
|
||||||
if [ -n "$special_pip_deps" ]; then
|
if [ -n "$special_pip_deps" ]; then
|
||||||
IFS='#' read -ra parts <<<"$special_pip_deps"
|
IFS='#' read -ra parts <<<"$special_pip_deps"
|
||||||
|
|
15
llama_stack/scripts/install_packages.sh
Executable file
15
llama_stack/scripts/install_packages.sh
Executable file
|
@ -0,0 +1,15 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
# This source code is licensed under the terms described in the LICENSE file in
|
||||||
|
# the root directory of this source tree.
|
||||||
|
|
||||||
|
VERSION="$1"
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
set -x
|
||||||
|
|
||||||
|
pip install -U --extra-index-url https://test.pypi.org/simple \
|
||||||
|
llama-stack==$VERSION llama-models==$VERSION llama-stack-client==$VERSION
|
Loading…
Add table
Add a link
Reference in a new issue