diff --git a/chatgpt-retrieval-plugin/run.sh b/chatgpt-retrieval-plugin/run.sh index 5ddd7bf..b4902c8 100644 --- a/chatgpt-retrieval-plugin/run.sh +++ b/chatgpt-retrieval-plugin/run.sh @@ -24,7 +24,7 @@ $PYTHON_BINARY -m poetry env use $PYTHON_BINARY # Activate the poetry env, which itself does not include poetry . "$($PYTHON_BINARY -m poetry env info --path)/bin/activate" # Recreate the poetry lock file -$PYTHON_BINARY -m poetry lock --no-update +$PYTHON_BINARY -m poetry lock # Install from pyproject.toml into package specific environment $PYTHON_BINARY -m poetry install --with dev diff --git a/docarray/run.sh b/docarray/run.sh index 7db31b9..36d4433 100644 --- a/docarray/run.sh +++ b/docarray/run.sh @@ -17,15 +17,16 @@ PYTHON_BINARY=$(find_python3) $PYTHON_BINARY -c "import sys; print(f'Python version found: {sys.version_info}')" # Create and activate an isolated python venv environment +set -x $PYTHON_BINARY -m venv venv . venv/bin/activate # Install Poetry pip install -U pip poetry # Recreate the poetry lock file -poetry lock --no-update +# poetry lock # Install from pyproject.toml into package specific environment poetry install --with dev --extras mongo - +set +x # Run tests. Sensitive variables in Evergreen come from Evergeen project: ai-ml-pipeline-testing/ # shellcheck disable=SC2154 diff --git a/langchain-python/run.sh b/langchain-python/run.sh index 3e8bb31..c1c6fdc 100644 --- a/langchain-python/run.sh +++ b/langchain-python/run.sh @@ -20,7 +20,7 @@ cd libs/langchain-mongodb pip install poetry -poetry lock --no-update +poetry lock poetry install --with dev diff --git a/langgraph-python/run.sh b/langgraph-python/run.sh index 9864c97..aedf765 100644 --- a/langgraph-python/run.sh +++ b/langgraph-python/run.sh @@ -20,7 +20,7 @@ cd libs/langgraph-checkpoint-mongodb pip install poetry -poetry lock --no-update +poetry lock poetry install --with dev diff --git a/llama-index-python-kvstore/run.sh b/llama-index-python-kvstore/run.sh index 1f31df4..f580fe3 100644 --- a/llama-index-python-kvstore/run.sh +++ b/llama-index-python-kvstore/run.sh @@ -28,7 +28,7 @@ $PYTHON_BINARY -m poetry env use $PYTHON_BINARY # PYTHON-4522: Will fix requirement in llama-index repo $PYTHON_BINARY -m poetry add motor # Recreate the poetry lock file -$PYTHON_BINARY -m poetry lock --no-update +$PYTHON_BINARY -m poetry lock # Install from pyproject.toml into package specific environment $PYTHON_BINARY -m poetry install --with dev diff --git a/llama-index-python-vectorstore/run.sh b/llama-index-python-vectorstore/run.sh index 524ba5c..edebfab 100644 --- a/llama-index-python-vectorstore/run.sh +++ b/llama-index-python-vectorstore/run.sh @@ -26,7 +26,7 @@ $PYTHON_BINARY -m poetry env use $PYTHON_BINARY # Activate the poetry env, which itself does not include poetry . "$($PYTHON_BINARY -m poetry env info --path)/bin/activate" # Recreate the poetry lock file -$PYTHON_BINARY -m poetry lock --no-update +$PYTHON_BINARY -m poetry lock # Install from pyproject.toml into package specific environment $PYTHON_BINARY -m poetry install --with dev