Skip to content

Commit

Permalink
Added support for numpy2 and fixed compatibility issue in `pyproject.…
Browse files Browse the repository at this point in the history
…toml`

- Resolves compatibility issues with numpy2.
- Updates `libs/langchain/pyproject.toml` to include the correct requirements for numpy2.

References: [langchain-ai#27991](langchain-ai#27991)
  • Loading branch information
rorra committed Nov 24, 2024
1 parent a83357d commit be001b9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
13 changes: 12 additions & 1 deletion libs/langchain/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions libs/langchain/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ PyYAML = ">=5.3"
aiohttp = "^3.8.3"
tenacity = ">=8.1.0,!=8.4.0,<10"
[[tool.poetry.dependencies.numpy]]
version = ">=1.22.4,<2"
version = ">=1.22.4,<3"
python = "<3.12"

[[tool.poetry.dependencies.numpy]]
version = ">=1.26.2,<2"
version = ">=1.26.2,<3"
python = ">=3.12"

[tool.ruff.lint]
Expand Down

0 comments on commit be001b9

Please sign in to comment.