Skip to content

Commit

Permalink
langchain[patch]: support numpy 2 (#28183)
Browse files Browse the repository at this point in the history
Follows on from #27991, updates the langchain package to support numpy 2
versions

---------

Co-authored-by: Chester Curme <[email protected]>
  • Loading branch information
ghinch and ccurme authored Nov 26, 2024
1 parent 7b9a0d9 commit 869c8f5
Show file tree
Hide file tree
Showing 4 changed files with 933 additions and 853 deletions.
5 changes: 4 additions & 1 deletion .github/scripts/check_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
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
# even in uv
py_versions = ["3.9", "3.11"]
Expand Down
1 change: 1 addition & 0 deletions libs/langchain/extended_testing_deps.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ jsonschema>=4.22.0,<5
numexpr>=2.8.6,<3
rapidfuzz>=3.1.1,<4
aiosqlite>=0.19.0,<0.20
greenlet>=3.1.0
Loading

0 comments on commit 869c8f5

Please sign in to comment.