From cefd30d2bd7190d8d289c3673007a2fd827e4daa Mon Sep 17 00:00:00 2001 From: david qiu Date: Mon, 11 Nov 2024 09:50:52 -0800 Subject: [PATCH] Backport PR #1097: Update `faiss-cpu` version range --- packages/jupyter-ai/pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/jupyter-ai/pyproject.toml b/packages/jupyter-ai/pyproject.toml index 88f5fc55f..c9d1b5d53 100644 --- a/packages/jupyter-ai/pyproject.toml +++ b/packages/jupyter-ai/pyproject.toml @@ -29,7 +29,9 @@ dependencies = [ "importlib_metadata>=5.2.0", "jupyter_ai_magics>=2.13.0", "dask[distributed]", - "faiss-cpu<=1.8.0", # Not distributed by official repo + # faiss-cpu is not distributed by the official repo. + # v1.8.0.post0 should be excluded as it lacks macOS x86 wheels. + "faiss-cpu>=1.8.0,<2.0.0,!=1.8.0.post0", "typing_extensions>=4.5.0", "traitlets>=5.0", "deepmerge>=2.0,<3",