From c85b21da945c4894ec78c9b8ab8fe1f502dc7154 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Thu, 9 Jan 2025 09:08:59 -0600 Subject: [PATCH] update langchain and langgraph runners --- langchain-python/run.sh | 14 ++++++-------- langgraph-python/run.sh | 14 ++++++-------- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/langchain-python/run.sh b/langchain-python/run.sh index c1c6fdc..7a8556c 100644 --- a/langchain-python/run.sh +++ b/langchain-python/run.sh @@ -15,18 +15,16 @@ PYTHON_BINARY=$(find_python3) # shellcheck disable=SC2164 cd libs/langchain-mongodb - $PYTHON_BINARY -m venv venv_pipeline - source venv_pipeline/bin/activate +$PYTHON_BINARY -m venv venv_pipeline +source venv_pipeline/bin/activate -pip install poetry +pip install uv rust-just -poetry lock - -poetry install --with dev +just install export MONGODB_URI=$MONGODB_URI export OPENAI_API_KEY=$OPENAI_API_KEY -make test +just test -make integration_test +just integration_tests diff --git a/langgraph-python/run.sh b/langgraph-python/run.sh index aedf765..19b085e 100644 --- a/langgraph-python/run.sh +++ b/langgraph-python/run.sh @@ -15,18 +15,16 @@ PYTHON_BINARY=$(find_python3) # shellcheck disable=SC2164 cd libs/langgraph-checkpoint-mongodb - $PYTHON_BINARY -m venv venv_pipeline - source venv_pipeline/bin/activate +$PYTHON_BINARY -m venv venv_pipeline +source venv_pipeline/bin/activate -pip install poetry +pip install uv rust-just -poetry lock - -poetry install --with dev +just install export MONGODB_URI=$MONGODB_URI export OPENAI_API_KEY=$OPENAI_API_KEY -make test +just test -make integration_test +just integration_tests