diff --git a/.evergreen/config.yml b/.evergreen/config.yml index 6012ee1..133faab 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -175,7 +175,8 @@ buildvariants: expansions: DIR: llama-index-python-vectorstore REPO_NAME: llama_index - CLONE_URL: https://github.com/run-llama/llama_index.git + # TODO: Update INTPYTHON-414 + CLONE_URL: -b INTPYTHON-414 --single-branch https://github.com/blink1073/llama_index.git DATABASE: llama_index_test_db run_on: - rhel87-small diff --git a/chatgpt-retrieval-plugin/run.sh b/chatgpt-retrieval-plugin/run.sh index 4445ed0..2187b5c 100644 --- a/chatgpt-retrieval-plugin/run.sh +++ b/chatgpt-retrieval-plugin/run.sh @@ -10,7 +10,10 @@ set -x PYTHON_BINARY=$(find_python3) $PYTHON_BINARY -c "import sys; print(f'Python version found: {sys.version_info}')" -# Install Poetry into base python +# Install Poetry +$PYTHON_BINARY -m venv .venv +. .venv/bin/activate +PYTHON_BINARY=$(which python) $PYTHON_BINARY -m pip install -U pip poetry # Create a package specific poetry environment $PYTHON_BINARY -m poetry env use $PYTHON_BINARY diff --git a/llama-index-python-kvstore/run.sh b/llama-index-python-kvstore/run.sh index b951a27..70691bc 100644 --- a/llama-index-python-kvstore/run.sh +++ b/llama-index-python-kvstore/run.sh @@ -13,7 +13,10 @@ $PYTHON_BINARY -c "import sys; print(f'Python version found: {sys.version_info}' # shellcheck disable=SC2164 cd llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-mongodb -# Install Poetry into base python +# Install Poetry +$PYTHON_BINARY -m venv .venv +. .venv/bin/activate +PYTHON_BINARY=$(which python) $PYTHON_BINARY -m pip install -U pip poetry # Create a package specific poetry environment $PYTHON_BINARY -m poetry env use $PYTHON_BINARY diff --git a/llama-index-python-vectorstore/run.sh b/llama-index-python-vectorstore/run.sh index 03db38a..e3eaf02 100644 --- a/llama-index-python-vectorstore/run.sh +++ b/llama-index-python-vectorstore/run.sh @@ -12,7 +12,10 @@ $PYTHON_BINARY -c "import sys; print(f'Python version found: {sys.version_info}' # shellcheck disable=SC2164 cd llama-index-integrations/vector_stores/llama-index-vector-stores-mongodb -# Install Poetry into base python +# Install Poetry +$PYTHON_BINARY -m venv .venv +. .venv/bin/activate +PYTHON_BINARY=$(which python) $PYTHON_BINARY -m pip install -U pip poetry # Create a package specific poetry environment $PYTHON_BINARY -m poetry env use $PYTHON_BINARY