@@ -13,31 +13,22 @@ cd python
13
13
$PYTHON_BINARY -m venv .
14
14
source ./bin/activate
15
15
16
- # Install Poetry into base python
17
- pip install -U pip poetry
18
- # Create a package specific poetry environment
19
- poetry env use $PYTHON_BINARY
20
- # Recreate the poetry lock file
21
- poetry lock --no-update
22
- # Install from pyproject.toml into package specific environment
23
- poetry install " .[mongodb]" --with dev
24
-
25
- # Workaround to test vector search first
16
+ make install
17
+
26
18
OPENAI_API_KEY=$openai_api_key \
27
19
OPENAI_ORG_ID=" " \
28
20
AZURE_OPENAI_DEPLOYMENT_NAME=" " \
29
21
AZURE_OPENAI_ENDPOINT=" " \
30
22
AZURE_OPENAI_API_KEY=" " \
31
23
MONGODB_ATLAS_CONNECTION_STRING=$CONN_STRING \
32
24
Python_Integration_Tests=1 \
33
- $PYTHON_BINARY -m poetry run pytest tests/integration/connectors/memory/test_mongodb_atlas.py -k test_collection_knn
25
+ uv run pytest tests/integration/connectors/memory/test_mongodb_atlas.py -k test_collection_knn
34
26
35
- # Stored in evergreen VARIABLES
36
27
OPENAI_API_KEY=$openai_api_key \
37
28
OPENAI_ORG_ID=" " \
38
29
AZURE_OPENAI_DEPLOYMENT_NAME=" " \
39
30
AZURE_OPENAI_ENDPOINT=" " \
40
31
AZURE_OPENAI_API_KEY=" " \
41
32
MONGODB_ATLAS_CONNECTION_STRING=$CONN_STRING \
42
33
Python_Integration_Tests=1 \
43
- $PYTHON_BINARY -m poetry run pytest tests/integration/connectors/memory/test_mongodb_atlas.py
34
+ uv run pytest tests/integration/connectors/memory/test_mongodb_atlas.py
0 commit comments