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 30226ed
Showing 1 changed file with 2 additions and 2 deletions.
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 30226ed

Please sign in to comment.