From 94ee0025467278ff7d91215c7508b8f052002511 Mon Sep 17 00:00:00 2001 From: "Lumberbot (aka Jack)" <39504233+meeseeksmachine@users.noreply.github.com> Date: Mon, 11 Nov 2024 10:23:03 -0800 Subject: [PATCH] Backport PR #1097: Update `faiss-cpu` version range (#1101) Co-authored-by: david qiu --- 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",