Skip to content

Commit

Permalink
build(deps): bump langchain-community version (#3305)
Browse files Browse the repository at this point in the history
### Summary

Bumps to the latest `langchain-community` version to resolve
[CVE-2024-2965](https://nvd.nist.gov/vuln/detail/CVE-2024-2965).

---------

Co-authored-by: ryannikolaidis <1208590+ryannikolaidis@users.noreply.github.com>
Co-authored-by: MthwRobinson <MthwRobinson@users.noreply.github.com>
  • Loading branch information
3 people authored Jun 26, 2024
1 parent 5179b73 commit 6939bff
Show file tree
Hide file tree
Showing 14 changed files with 12,104 additions and 41 deletions.
4 changes: 1 addition & 3 deletions requirements/deps/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ fsspec==2024.5.0
# python 3.12 support
wrapt>=1.14.0


# NOTE(robinson): for compatiblity with voyage embeddings
langsmith==0.1.62
langchain-community>=0.2.5

# NOTE(robinson): choma was pinned to importlib-metadata>=7.1.0 but 7.1.0 was installed
# instead of 7.2.0. Need to investigate
Expand Down
4 changes: 2 additions & 2 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ comm==0.2.2
# via
# ipykernel
# ipywidgets
debugpy==1.8.1
debugpy==1.8.2
# via ipykernel
decorator==5.1.1
# via ipython
Expand Down Expand Up @@ -186,7 +186,7 @@ jupyter-server==2.14.1
# notebook-shim
jupyter-server-terminals==0.5.3
# via jupyter-server
jupyterlab==4.2.2
jupyterlab==4.2.3
# via notebook
jupyterlab-pygments==0.3.0
# via nbconvert
Expand Down
15 changes: 8 additions & 7 deletions requirements/ingest/embed-aws-bedrock.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,21 @@ jsonpatch==1.33
# via langchain-core
jsonpointer==3.0.0
# via jsonpatch
langchain==0.2.3
langchain==0.2.6
# via langchain-community
langchain-community==0.2.4
# via -r ./ingest/embed-aws-bedrock.in
langchain-core==0.2.2
langchain-community==0.2.6
# via
# -c ./ingest/../deps/constraints.txt
# -r ./ingest/embed-aws-bedrock.in
langchain-core==0.2.10
# via
# langchain
# langchain-community
# langchain-text-splitters
langchain-text-splitters==0.2.1
langchain-text-splitters==0.2.2
# via langchain
langsmith==0.1.62
langsmith==0.1.82
# via
# -c ./ingest/../deps/constraints.txt
# langchain
# langchain-community
# langchain-core
Expand Down
15 changes: 8 additions & 7 deletions requirements/ingest/embed-huggingface.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,21 @@ jsonpatch==1.33
# via langchain-core
jsonpointer==3.0.0
# via jsonpatch
langchain==0.2.3
langchain==0.2.6
# via langchain-community
langchain-community==0.2.4
# via -r ./ingest/embed-huggingface.in
langchain-core==0.2.2
langchain-community==0.2.6
# via
# -c ./ingest/../deps/constraints.txt
# -r ./ingest/embed-huggingface.in
langchain-core==0.2.10
# via
# langchain
# langchain-community
# langchain-text-splitters
langchain-text-splitters==0.2.1
langchain-text-splitters==0.2.2
# via langchain
langsmith==0.1.62
langsmith==0.1.82
# via
# -c ./ingest/../deps/constraints.txt
# langchain
# langchain-community
# langchain-core
Expand Down
2 changes: 1 addition & 1 deletion requirements/ingest/embed-octoai.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ idna==3.7
# anyio
# httpx
# requests
openai==1.35.3
openai==1.35.5
# via -r ./ingest/embed-octoai.in
pydantic==2.7.4
# via openai
Expand Down
17 changes: 9 additions & 8 deletions requirements/ingest/embed-openai.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,21 @@ jsonpatch==1.33
# via langchain-core
jsonpointer==3.0.0
# via jsonpatch
langchain==0.2.3
langchain==0.2.6
# via langchain-community
langchain-community==0.2.4
# via -r ./ingest/embed-openai.in
langchain-core==0.2.2
langchain-community==0.2.6
# via
# -c ./ingest/../deps/constraints.txt
# -r ./ingest/embed-openai.in
langchain-core==0.2.10
# via
# langchain
# langchain-community
# langchain-text-splitters
langchain-text-splitters==0.2.1
langchain-text-splitters==0.2.2
# via langchain
langsmith==0.1.62
langsmith==0.1.82
# via
# -c ./ingest/../deps/constraints.txt
# langchain
# langchain-community
# langchain-core
Expand All @@ -97,7 +98,7 @@ numpy==1.26.4
# -c ./ingest/../base.txt
# langchain
# langchain-community
openai==1.35.3
openai==1.35.5
# via -r ./ingest/embed-openai.in
orjson==3.10.5
# via langsmith
Expand Down
17 changes: 9 additions & 8 deletions requirements/ingest/embed-vertexai.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,25 +100,26 @@ jsonpatch==1.33
# via langchain-core
jsonpointer==3.0.0
# via jsonpatch
langchain==0.2.3
langchain==0.2.6
# via
# -r ./ingest/embed-vertexai.in
# langchain-community
langchain-community==0.2.4
# via -r ./ingest/embed-vertexai.in
langchain-core==0.2.2
langchain-community==0.2.6
# via
# -c ./ingest/../deps/constraints.txt
# -r ./ingest/embed-vertexai.in
langchain-core==0.2.10
# via
# langchain
# langchain-community
# langchain-google-vertexai
# langchain-text-splitters
langchain-google-vertexai==1.0.5
langchain-google-vertexai==1.0.6
# via -r ./ingest/embed-vertexai.in
langchain-text-splitters==0.2.1
langchain-text-splitters==0.2.2
# via langchain
langsmith==0.1.62
langsmith==0.1.82
# via
# -c ./ingest/../deps/constraints.txt
# langchain
# langchain-community
# langchain-core
Expand Down
9 changes: 4 additions & 5 deletions requirements/ingest/embed-voyageai.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,19 @@ jsonpatch==1.33
# via langchain-core
jsonpointer==3.0.0
# via jsonpatch
langchain==0.2.3
langchain==0.2.6
# via -r ./ingest/embed-voyageai.in
langchain-core==0.2.2
langchain-core==0.2.10
# via
# langchain
# langchain-text-splitters
# langchain-voyageai
langchain-text-splitters==0.2.1
langchain-text-splitters==0.2.2
# via langchain
langchain-voyageai==0.1.1
# via -r ./ingest/embed-voyageai.in
langsmith==0.1.62
langsmith==0.1.82
# via
# -c ./ingest/../deps/constraints.txt
# langchain
# langchain-core
multidict==6.0.5
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[]
Loading

0 comments on commit 6939bff

Please sign in to comment.