Skip to content
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: 3 additions & 0 deletions haystack-embeddings/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@ PYTHON_BINARY=$(which python)
# Workaround for https://github.com/pypa/hatch/issues/2050
$PYTHON_BINARY -m pip install -U pip hatch "click<8.3.0"

SSL_CERT_FILE=$($PYTHON_BINARY -c "import certifi; print(certifi.where())")
export SSL_CERT_FILE

# Run tests.
MONGO_CONNECTION_STRING="$MONGODB_URI" hatch run test:all -v
3 changes: 3 additions & 0 deletions haystack-fulltext/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@ PYTHON_BINARY=$(which python)
# Workaround for https://github.com/pypa/hatch/issues/2050
$PYTHON_BINARY -m pip install -U pip hatch "click<8.3.0"

SSL_CERT_FILE=$($PYTHON_BINARY -c "import certifi; print(certifi.where())")
export SSL_CERT_FILE

# Run tests.
MONGO_CONNECTION_STRING_2="$MONGODB_URI" hatch run test:all -v
3 changes: 3 additions & 0 deletions langchain-python/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ cd libs/langchain-mongodb
$PYTHON_BINARY -m venv venv_pipeline
source venv_pipeline/bin/activate

SSL_CERT_FILE=$($PYTHON_BINARY -c "import certifi; print(certifi.where())")
export SSL_CERT_FILE

pip install uv rust-just

just install
Expand Down
3 changes: 3 additions & 0 deletions langgraph-python/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ cd libs/langgraph-checkpoint-mongodb
$PYTHON_BINARY -m venv venv_pipeline
source venv_pipeline/bin/activate

SSL_CERT_FILE=$($PYTHON_BINARY -c "import certifi; print(certifi.where())")
export SSL_CERT_FILE

pip install uv rust-just

just install
Expand Down
3 changes: 3 additions & 0 deletions langgraph-store-python/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ cd libs/langgraph-store-mongodb
$PYTHON_BINARY -m venv venv_pipeline
source venv_pipeline/bin/activate

SSL_CERT_FILE=$($PYTHON_BINARY -c "import certifi; print(certifi.where())")
export SSL_CERT_FILE

pip install uv rust-just

just install
Expand Down
4 changes: 4 additions & 0 deletions llama-index-python-vectorstore/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ cd llama-index-integrations/vector_stores/llama-index-vector-stores-mongodb
# Install uv.
$PYTHON_BINARY -m venv venv_pipeline
source venv_pipeline/bin/activate

SSL_CERT_FILE=$($PYTHON_BINARY -c "import certifi; print(certifi.where())")
export SSL_CERT_FILE

pip install -U pip
pip install uv

Expand Down
4 changes: 4 additions & 0 deletions mem0-python/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,8 @@ make install_all
export MONGODB_URI=$MONGODB_URI
pip install pytest
pip install .

SSL_CERT_FILE=$($PYTHON_BINARY -c "import certifi; print(certifi.where())")
export SSL_CERT_FILE

pytest tests/vector_stores/test_mongodb.py
2 changes: 2 additions & 0 deletions pymongo-search-utils/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,7 @@ pip install uv rust-just
just install

export MONGODB_URI=$MONGODB_URI
SSL_CERT_FILE=$($PYTHON_BINARY -c "import certifi; print(certifi.where())")
export SSL_CERT_FILE

just test
2 changes: 2 additions & 0 deletions pymongo-voyageai/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@ just install
export S3_BUCKET_NAME=$VOYAGEAI_S3_BUCKET
export MONGODB_URI=$MONGODB_URI
export VOYAGEAI_API_KEY=$VOYAGEAI_API_KEY
SSL_CERT_FILE=$($PYTHON_BINARY -c "import certifi; print(certifi.where())")
export SSL_CERT_FILE

just test
2 changes: 2 additions & 0 deletions semantic-kernel-python/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ pip install --upgrade uv
make install-python
make install-sk
make install-pre-commit
SSL_CERT_FILE=$($PYTHON_BINARY -c "import certifi; print(certifi.where())")
export SSL_CERT_FILE

cp $SCRIPT_DIR/test_mongodb_atlas_memory_store.py .

Expand Down