Skip to content

Commit

Permalink
[Backport 8.17] Allow simsimd again on Python 3.13 (#2722)
Browse files Browse the repository at this point in the history
* Allow simsimd again on Python 3.13

* Remove the importorskip calls

(cherry picked from commit e1603f4)

Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co>
  • Loading branch information
github-actions[bot] and pquentin authored Dec 13, 2024
1 parent 87e3f2c commit 55eca42
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ dev = [
"nox",
"orjson",
"numpy",
"simsimd ; python_version<'3.13'",
"simsimd",
"pyarrow",
"pandas",
"mapbox-vector-tile",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 55eca42

Please sign in to comment.