File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
test_elasticsearch/test_server/test_vectorstore Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ dev = [
70
70
" nox" ,
71
71
" orjson" ,
72
72
" numpy" ,
73
- " simsimd" ,
73
+ " simsimd ; python_version<'3.13' " ,
74
74
" pyarrow" ,
75
75
" pandas" ,
76
76
" mapbox-vector-tile" ,
Original file line number Diff line number Diff line change @@ -899,6 +899,8 @@ def test_max_marginal_relevance_search_errors(
899
899
self , sync_client : Elasticsearch , index : str
900
900
) -> None :
901
901
"""Test max marginal relevance search error conditions."""
902
+ pytest .importorskip ("simsimd" )
903
+
902
904
texts = ["foo" , "bar" , "baz" ]
903
905
vector_field = "vector_field"
904
906
embedding_service = ConsistentFakeEmbeddings ()
@@ -940,6 +942,8 @@ def test_max_marginal_relevance_search(
940
942
self , sync_client : Elasticsearch , index : str
941
943
) -> None :
942
944
"""Test max marginal relevance search."""
945
+ pytest .importorskip ("simsimd" )
946
+
943
947
texts = ["foo" , "bar" , "baz" ]
944
948
vector_field = "vector_field"
945
949
text_field = "text_field"
You can’t perform that action at this time.
0 commit comments