From e1021d2c0e00585cc499947dd6fa5c7fdb44c010 Mon Sep 17 00:00:00 2001 From: Eric Ma Date: Wed, 29 May 2024 21:52:41 -0400 Subject: [PATCH] fix(dependencies): pin numpy version to <2 due to compatibility issue - Temporarily pin numpy version to <2 in both environment.yml and pyproject.toml to address a compatibility issue with our current codebase as detailed in https://github.com/ericmjl/llamabot/issues/56. This change will be revisited for potential updates or removal once the underlying issue is resolved. See: https://github.com/ericmjl/llamabot/issues/56 --- environment.yml | 2 +- pyproject.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index 3d8bd59e..6613789b 100644 --- a/environment.yml +++ b/environment.yml @@ -14,7 +14,7 @@ dependencies: - pip - twine - loguru - - numpy<2 + - numpy<2 # Added temporarily on 29 May 2024; see https://github.com/ericmjl/llamabot/issues/56 # Utilities - pyprojroot - python-dotenv diff --git a/pyproject.toml b/pyproject.toml index 1b30a4c0..654fd00a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -93,6 +93,7 @@ dependencies = [ "sentence-transformers", "chromadb", "tantivy", + "numpy<2", # https://github.com/ericmjl/llamabot/issues/56 ] requires-python = ">=3.11" description = "A Pythonic interface to LLMs."