Skip to content

Commit cfcb9d9

Browse files
committed
temporarly using haystack branch with new standard tests
1 parent c52bd30 commit cfcb9d9

11 files changed

Lines changed: 38 additions & 13 deletions

File tree

integrations/astra/pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ classifiers = [
2222
"Programming Language :: Python :: Implementation :: CPython",
2323
"Programming Language :: Python :: Implementation :: PyPy",
2424
]
25-
dependencies = [""haystack-ai @ git+https://github.com/deepset-ai/haystack.git@feat/add-delete-all-documents-tests", "pydantic", "typing_extensions", "astrapy>=1.5.0,<2.0"]
25+
dependencies = [
26+
"haystack-ai @ git+https://github.com/deepset-ai/haystack.git@feat/add-delete-all-documents-tests",
27+
"pydantic",
28+
"typing_extensions",
29+
"astrapy>=1.5.0,<2.0"
30+
]
2631

2732
[project.urls]
2833
Documentation = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/astra#readme"

integrations/azure_ai_search/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: Implementation :: CPython",
2323
"Programming Language :: Python :: Implementation :: PyPy",
2424
]
25-
dependencies = [""haystack-ai @ git+https://github.com/deepset-ai/haystack.git@feat/add-delete-all-documents-tests"", "azure-search-documents>=11.5", "azure-identity"]
25+
dependencies = ["haystack-ai @ git+https://github.com/deepset-ai/haystack.git@feat/add-delete-all-documents-tests", "azure-search-documents>=11.5", "azure-identity"]
2626

2727
[project.urls]
2828
Documentation = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/azure_ai_search#readme"

integrations/mongodb_atlas/pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ classifiers = [
2323
"Programming Language :: Python :: Implementation :: PyPy",
2424
]
2525
dependencies = [
26-
"haystack-ai>=2.22.0",
26+
"haystack-ai @ git+https://github.com/deepset-ai/haystack.git@feat/add-delete-all-documents-tests",
2727
"pymongo[srv]>=4.13.0"
2828
]
2929

@@ -35,6 +35,10 @@ Issues = "https://github.com/deepset-ai/haystack-core-integrations/issues"
3535
[tool.hatch.build.targets.wheel]
3636
packages = ["src/haystack_integrations"]
3737

38+
[tool.hatch.metadata]
39+
allow-direct-references = true
40+
41+
3842
[tool.hatch.version]
3943
source = "vcs"
4044
tag-pattern = 'integrations\/mongodb_atlas-v(?P<version>.*)'

integrations/opensearch/tests/test_document_store.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717
)
1818
from opensearchpy.exceptions import RequestError
1919

20-
from haystack_integrations.document_stores.opensearch.document_store import DEFAULT_MAX_CHUNK_BYTES
2120
from haystack_integrations.document_stores.opensearch import OpenSearchDocumentStore
22-
21+
from haystack_integrations.document_stores.opensearch.document_store import DEFAULT_MAX_CHUNK_BYTES
2322

2423

2524
@patch("haystack_integrations.document_stores.opensearch.document_store.OpenSearch")

integrations/pgvector/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ Issues = "https://github.com/deepset-ai/haystack-core-integrations/issues"
3232
[tool.hatch.build.targets.wheel]
3333
packages = ["src/haystack_integrations"]
3434

35+
[tool.hatch.metadata]
36+
allow-direct-references = true
37+
3538
[tool.hatch.version]
3639
source = "vcs"
3740
tag-pattern = 'integrations\/pgvector-v(?P<version>.*)'

integrations/pgvector/tests/test_document_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
from haystack.testing.document_store import (
1313
CountDocumentsTest,
1414
DeleteDocumentsTest,
15-
WriteDocumentsTest,
1615
UpdateByFilterTest,
16+
WriteDocumentsTest,
1717
)
1818
from haystack.utils import Secret
1919

integrations/pinecone/tests/test_document_store.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
from haystack.components.preprocessors import DocumentSplitter
1313
from haystack.components.retrievers import SentenceWindowRetriever
1414
from haystack.testing.document_store import (
15-
CountDocumentsTest,
16-
DeleteDocumentsTest,
17-
WriteDocumentsTest,
15+
CountDocumentsTest,
16+
DeleteDocumentsTest,
1817
UpdateByFilterTest,
18+
WriteDocumentsTest,
1919
)
2020
from haystack.utils import Secret
2121
from pinecone import Pinecone, PodSpec, ServerlessSpec

integrations/qdrant/pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ classifiers = [
2525
"Programming Language :: Python :: Implementation :: CPython",
2626
"Programming Language :: Python :: Implementation :: PyPy",
2727
]
28-
dependencies = ["haystack-ai @ git+https://github.com/deepset-ai/haystack.git@feat/add-delete-all-documents-tests", "qdrant-client>=1.12.0"]
28+
dependencies = [
29+
"haystack-ai @ git+https://github.com/deepset-ai/haystack.git@feat/add-delete-all-documents-tests",
30+
"qdrant-client>=1.12.0"
31+
]
2932

3033
[project.urls]
3134
Source = "https://github.com/deepset-ai/haystack-core-integrations"
@@ -77,6 +80,8 @@ non_interactive = true
7780
check_untyped_defs = true
7881
disallow_incomplete_defs = true
7982

83+
[tool.hatch.metadata]
84+
allow-direct-references = true
8085

8186
[tool.ruff]
8287
line-length = 120

integrations/qdrant/tests/test_document_store.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@ def test_set_up_collection_with_dimension_mismatch(self):
303303
with pytest.raises(ValueError, match="different vector size"):
304304
document_store._set_up_collection("test_collection", 768, False, "cosine", False, False)
305305

306-
307306
def test_delete_all_documents_index_recreation(self, document_store):
308307
document_store._initialize_client()
309308

@@ -326,7 +325,7 @@ def test_delete_all_documents_index_recreation(self, document_store):
326325
# ensure the collection still exists by writing documents again
327326
document_store.write_documents(docs)
328327
assert document_store.count_documents() == 5
329-
328+
330329
def test_update_by_filter_preserves_vectors(self, document_store: QdrantDocumentStore):
331330
"""Test that update_by_filter preserves document embeddings."""
332331
docs = [

integrations/weaviate/pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ Issues = "https://github.com/deepset-ai/haystack-core-integrations/issues"
3636
[tool.hatch.build.targets.wheel]
3737
packages = ["src/haystack_integrations"]
3838

39+
[tool.hatch.metadata]
40+
allow-direct-references = true
41+
42+
3943
[tool.hatch.version]
4044
source = "vcs"
4145
tag-pattern = 'integrations\/weaviate-v(?P<version>.*)'

0 commit comments

Comments
 (0)