Skip to content

INTPYTHON-413 Use venvs instead of base python #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion chatgpt-retrieval-plugin/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion llama-index-python-kvstore/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion llama-index-python-vectorstore/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down