From 0e6d5a740e7b471d2352e1cd20ff8f16ab1bae5f Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Wed, 20 Nov 2024 15:19:10 +0400 Subject: [PATCH] Allow simsimd again on Python 3.13 (#2714) * Allow simsimd again on Python 3.13 * Remove the importorskip calls (cherry picked from commit e1603f4f25888ca7fee03ee977abafb00d512601) --- pyproject.toml | 2 +- .../test_server/test_vectorstore/test_vectorstore.py | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8a55e0b67..b5f03e1d0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,7 +70,7 @@ dev = [ "nox", "orjson", "numpy", - "simsimd ; python_version<'3.13'", + "simsimd", "pyarrow", "pandas", "mapbox-vector-tile", diff --git a/test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py b/test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py index 7b675a754..3e17442eb 100644 --- a/test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py +++ b/test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py @@ -899,8 +899,6 @@ def test_max_marginal_relevance_search_errors( self, sync_client: Elasticsearch, index: str ) -> None: """Test max marginal relevance search error conditions.""" - pytest.importorskip("simsimd") - texts = ["foo", "bar", "baz"] vector_field = "vector_field" embedding_service = ConsistentFakeEmbeddings() @@ -942,8 +940,6 @@ def test_max_marginal_relevance_search( self, sync_client: Elasticsearch, index: str ) -> None: """Test max marginal relevance search.""" - pytest.importorskip("simsimd") - texts = ["foo", "bar", "baz"] vector_field = "vector_field" text_field = "text_field"