From 8081b309c48a7e7a955e6e730e62f9275777cc26 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Tue, 17 Dec 2024 18:25:22 -0600 Subject: [PATCH 1/2] Revert "INTPYTHON-450 Patch llama index test" --- langchain-python/run.sh | 2 +- .../patches/pin-test-output.patch | 13 ------------- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 llama-index-python-vectorstore/patches/pin-test-output.patch diff --git a/langchain-python/run.sh b/langchain-python/run.sh index 3e8bb31..b379f2d 100644 --- a/langchain-python/run.sh +++ b/langchain-python/run.sh @@ -13,7 +13,7 @@ ROOT_DIR=$(dirname $SCRIPT_DIR) PYTHON_BINARY=$(find_python3) # shellcheck disable=SC2164 -cd libs/langchain-mongodb +cd libs/mongodb $PYTHON_BINARY -m venv venv_pipeline source venv_pipeline/bin/activate diff --git a/llama-index-python-vectorstore/patches/pin-test-output.patch b/llama-index-python-vectorstore/patches/pin-test-output.patch deleted file mode 100644 index a20f8e3..0000000 --- a/llama-index-python-vectorstore/patches/pin-test-output.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/llama-index-integrations/vector_stores/llama-index-vector-stores-mongodb/tests/test_vectorstore.py b/llama-index-integrations/vector_stores/llama-index-vector-stores-mongodb/tests/test_vectorstore.py -index b48869690..a803fb668 100644 ---- a/llama-index-integrations/vector_stores/llama-index-vector-stores-mongodb/tests/test_vectorstore.py -+++ b/llama-index-integrations/vector_stores/llama-index-vector-stores-mongodb/tests/test_vectorstore.py -@@ -20,7 +20,7 @@ from .conftest import lock - - def test_documents(documents: List[Document]) -> None: - """Sanity check essay was found and documents loaded.""" -- assert len(documents) == 23 -+ assert len(documents) == 25 - assert isinstance(documents[0], Document) - - From 952652b240a8cf4dabe497625f93afddacb566b8 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Tue, 17 Dec 2024 18:42:59 -0600 Subject: [PATCH 2/2] Update run.sh --- langchain-python/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langchain-python/run.sh b/langchain-python/run.sh index b379f2d..3e8bb31 100644 --- a/langchain-python/run.sh +++ b/langchain-python/run.sh @@ -13,7 +13,7 @@ ROOT_DIR=$(dirname $SCRIPT_DIR) PYTHON_BINARY=$(find_python3) # shellcheck disable=SC2164 -cd libs/mongodb +cd libs/langchain-mongodb $PYTHON_BINARY -m venv venv_pipeline source venv_pipeline/bin/activate