Skip to content

Commit e1603f4

Browse files
authored
Allow simsimd again on Python 3.13 (elastic#2714)
* Allow simsimd again on Python 3.13 * Remove the importorskip calls
1 parent c3de878 commit e1603f4

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Diff for: pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ dev = [
7070
"nox",
7171
"orjson",
7272
"numpy",
73-
"simsimd ; python_version<'3.13'",
73+
"simsimd",
7474
"pyarrow",
7575
"pandas",
7676
"mapbox-vector-tile",

Diff for: test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py

-4
Original file line numberDiff line numberDiff line change
@@ -899,8 +899,6 @@ 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-
904902
texts = ["foo", "bar", "baz"]
905903
vector_field = "vector_field"
906904
embedding_service = ConsistentFakeEmbeddings()
@@ -942,8 +940,6 @@ def test_max_marginal_relevance_search(
942940
self, sync_client: Elasticsearch, index: str
943941
) -> None:
944942
"""Test max marginal relevance search."""
945-
pytest.importorskip("simsimd")
946-
947943
texts = ["foo", "bar", "baz"]
948944
vector_field = "vector_field"
949945
text_field = "text_field"

0 commit comments

Comments
 (0)