mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-19 05:13:46 +00:00
langchain[patch]: support numpy 2 (#28183)
Follows on from #27991, updates the langchain package to support numpy 2 versions --------- Co-authored-by: Chester Curme <chester.curme@gmail.com>
This commit is contained in:
parent
7b9a0d9ed8
commit
869c8f5879
5
.github/scripts/check_diff.py
vendored
5
.github/scripts/check_diff.py
vendored
@ -134,7 +134,10 @@ def _get_configs_for_single_dir(job: str, dir_: str) -> List[Dict[str, str]]:
|
|||||||
elif dir_ in PY_312_MAX_PACKAGES:
|
elif dir_ in PY_312_MAX_PACKAGES:
|
||||||
py_versions = ["3.9", "3.12"]
|
py_versions = ["3.9", "3.12"]
|
||||||
|
|
||||||
elif dir_ in ["libs/community", "libs/langchain"] and job == "extended-tests":
|
elif dir_ == "libs/langchain" and job == "extended-tests":
|
||||||
|
py_versions = ["3.9", "3.13"]
|
||||||
|
|
||||||
|
elif dir_ == "libs/community" and job == "extended-tests":
|
||||||
# community extended test resolution in 3.12 is slow
|
# community extended test resolution in 3.12 is slow
|
||||||
# even in uv
|
# even in uv
|
||||||
py_versions = ["3.9", "3.11"]
|
py_versions = ["3.9", "3.11"]
|
||||||
|
@ -7,3 +7,4 @@ jsonschema>=4.22.0,<5
|
|||||||
numexpr>=2.8.6,<3
|
numexpr>=2.8.6,<3
|
||||||
rapidfuzz>=3.1.1,<4
|
rapidfuzz>=3.1.1,<4
|
||||||
aiosqlite>=0.19.0,<0.20
|
aiosqlite>=0.19.0,<0.20
|
||||||
|
greenlet>=3.1.0
|
||||||
|
1778
libs/langchain/poetry.lock
generated
1778
libs/langchain/poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@ -47,7 +47,7 @@ version = ">=1.22.4,<2"
|
|||||||
python = "<3.12"
|
python = "<3.12"
|
||||||
|
|
||||||
[[tool.poetry.dependencies.numpy]]
|
[[tool.poetry.dependencies.numpy]]
|
||||||
version = ">=1.26.2,<2"
|
version = ">=1.26.2,<3"
|
||||||
python = ">=3.12"
|
python = ">=3.12"
|
||||||
|
|
||||||
[tool.ruff.lint]
|
[tool.ruff.lint]
|
||||||
|
Loading…
Reference in New Issue
Block a user