Skip to content

Commit

Permalink
fix(dependencies): pin numpy version to <2 due to compatibility issue
Browse files Browse the repository at this point in the history
- 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 #56. This change will be revisited for potential updates or removal once the underlying issue is resolved.

See: #56
  • Loading branch information
ericmjl committed May 30, 2024
1 parent 0488db0 commit e1021d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit e1021d2

Please sign in to comment.