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 = [
7070 " nox" ,
7171 " orjson" ,
7272 " numpy" ,
73- " simsimd" ,
73+ " simsimd ; python_version<'3.13' " ,
7474 " pyarrow" ,
7575 " pandas" ,
7676 " mapbox-vector-tile" ,
Original file line number Diff line number Diff line change @@ -899,6 +899,8 @@ def test_max_marginal_relevance_search_errors(
899899 self , sync_client : Elasticsearch , index : str
900900 ) -> None :
901901 """Test max marginal relevance search error conditions."""
902+ pytest .importorskip ("simsimd" )
903+
902904 texts = ["foo" , "bar" , "baz" ]
903905 vector_field = "vector_field"
904906 embedding_service = ConsistentFakeEmbeddings ()
@@ -940,6 +942,8 @@ def test_max_marginal_relevance_search(
940942 self , sync_client : Elasticsearch , index : str
941943 ) -> None :
942944 """Test max marginal relevance search."""
945+ pytest .importorskip ("simsimd" )
946+
943947 texts = ["foo" , "bar" , "baz" ]
944948 vector_field = "vector_field"
945949 text_field = "text_field"
You can’t perform that action at this time.
0 commit comments