fix: strict langchain integrations dep (#3063)

* fix: strict langchain vertexai dep

* fix: strict langchain vertexai dep

* fix: strict langchain vertexai dep

* [autofix.ci] apply automated fixes

* chore: update langchain-google-genai dependency to version 1.0.8

* more locks

* ci: improve test jobs titles

* openai 0.1.18

* openai 0.1.17

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
Nicolò Boschi 2024-07-30 14:11:58 +02:00 • committed by GitHub
commit 4136961155
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 29 additions and 26 deletions

View file

@ -61,13 +61,16 @@ jobs:
python-version: ${{ matrix.python-version }}
poetry-version: ${{ env.POETRY_VERSION }}
cache-key: ${{ runner.os }}-poetry-${{ env.POETRY_VERSION }}-${{ hashFiles('**/poetry.lock') }}
- name: Install Python dependencies
- name: Build wheel
run: |
poetry env use ${{ matrix.python-version }}
poetry install
make build main=true
- name: Install wheel
run: |
python -m pip install dist/*.whl
- name: Test CLI
run: |
poetry run python -m langflow run --host 127.0.0.1 --port 7860 --backend-only &
python -m langflow run --host 127.0.0.1 --port 7860 --backend-only &
SERVER_PID=$!
# Wait for the server to start
timeout 120 bash -c 'until curl -f http://127.0.0.1:7860/api/v1/auto_login; do sleep 5; done' || (echo "Server did not start in time" && kill $SERVER_PID && exit 1)

32
poetry.lock generated
View file

@ -4778,13 +4778,13 @@ pytz = ">=2023.3.post1"
[[package]]
name = "langchain-google-community"
version = "1.0.6"
version = "1.0.7"
description = "An integration package connecting miscellaneous Google's products and LangChain"
optional = false
python-versions = "<4.0,>=3.8.1"
files = [
{file = "langchain_google_community-1.0.6-py3-none-any.whl", hash = "sha256:5c2f18aebfb60b51f68dc1608d09ac3e8231743d75c545f409230f7bee641faf"},
{file = "langchain_google_community-1.0.6.tar.gz", hash = "sha256:081ed78702426a62187c86984c169508c432fc13cd2b08dbf5b553b40bb160b3"},
{file = "langchain_google_community-1.0.7-py3-none-any.whl", hash = "sha256:0ec6701d3d1934be96cf170a1058480645c6cbe8b242fedb731d8ca4bb6d72d8"},
{file = "langchain_google_community-1.0.7.tar.gz", hash = "sha256:baa81e2d92b5cdcff7e484ec9c505db4d19569a5625e32697dbf5003941e9e1b"},
]
[package.dependencies]
@ -4811,40 +4811,40 @@ vision = ["google-cloud-vision (>=3.7.2,<4.0.0)"]
[[package]]
name = "langchain-google-genai"
version = "1.0.7"
version = "1.0.8"
description = "An integration package connecting Google's genai package and LangChain"
optional = false
python-versions = "<4.0,>=3.9"
files = [
{file = "langchain_google_genai-1.0.7-py3-none-any.whl", hash = "sha256:8fc03a0b5f635d369d1eec25076921ea7a472a1cb96dbea8e8ff2c2cdce58650"},
{file = "langchain_google_genai-1.0.7.tar.gz", hash = "sha256:6522da59720ad551867e278d63c053e0fb65fa4fa1d65382aacedca5293930fa"},
{file = "langchain_google_genai-1.0.8-py3-none-any.whl", hash = "sha256:675dab1afa8f165c6169512dae984c90fd9fe2e8a54bdf7d0a0ccd826ee719d4"},
{file = "langchain_google_genai-1.0.8.tar.gz", hash = "sha256:4b5b074476f073f4f6f0d1e74c811bb66e4caaf2d6b57b14bf6a1eab36de8c4e"},
]
[package.dependencies]
google-generativeai = ">=0.7.0,<0.8.0"
langchain-core = ">=0.2.9,<0.3"
langchain-core = ">=0.2.17,<0.3"
[package.extras]
images = ["pillow (>=10.1.0,<11.0.0)"]
[[package]]
name = "langchain-google-vertexai"
version = "1.0.6"
version = "1.0.7"
description = "An integration package connecting Google VertexAI and LangChain"
optional = false
python-versions = "<4.0,>=3.8.1"
files = [
{file = "langchain_google_vertexai-1.0.6-py3-none-any.whl", hash = "sha256:240a9be3ae749335ec9a495502ca8f2bff60a432b8400a21cbd93b415e4d166d"},
{file = "langchain_google_vertexai-1.0.6.tar.gz", hash = "sha256:000c4cfd0dee73317e1752dfeec76a08c5bf24f7a134d79b9905a720ac886b11"},
{file = "langchain_google_vertexai-1.0.7-py3-none-any.whl", hash = "sha256:2c3516171fb0a6557ff03d073bdbf6e9bbb5f291cccbcd8febd97affa2e69574"},
{file = "langchain_google_vertexai-1.0.7.tar.gz", hash = "sha256:ac7d8ad8e832b1d5a752cb0637082d7e2c451bc33e512eec7bf9662b1aac41db"},
]
[package.dependencies]
google-cloud-aiplatform = ">=1.56.0,<2.0.0"
google-cloud-storage = ">=2.17.0,<3.0.0"
langchain-core = ">=0.2.9,<0.3"
langchain-core = ">=0.2.17,<0.3"
[package.extras]
anthropic = ["anthropic[vertexai] (>=0.29.0,<1)"]
anthropic = ["anthropic[vertexai] (>=0.30.0,<1)"]
[[package]]
name = "langchain-groq"
@ -4915,13 +4915,13 @@ pymongo = ">=4.6.1,<5.0"
[[package]]
name = "langchain-nvidia-ai-endpoints"
version = "0.1.4"
version = "0.1.6"
description = "An integration package connecting NVIDIA AI Endpoints and LangChain"
optional = false
python-versions = "<4.0,>=3.8.1"
files = [
{file = "langchain_nvidia_ai_endpoints-0.1.4-py3-none-any.whl", hash = "sha256:e65e21b4ecdd1e5add44520399bffcd4a158194d28021a6e789f76e895fe27d6"},
{file = "langchain_nvidia_ai_endpoints-0.1.4.tar.gz", hash = "sha256:8b2c8b80f00d1d64f5ee25a93df0692cbb6d13e51f00e45332c2851fef77f9f3"},
{file = "langchain_nvidia_ai_endpoints-0.1.6-py3-none-any.whl", hash = "sha256:0cd4d7b24b74ad8da67295cb001cd51a498c0e8cde9ead112fa583f61b6cb0f2"},
{file = "langchain_nvidia_ai_endpoints-0.1.6.tar.gz", hash = "sha256:5f8ab60b88266326f3eae6b04cbab0a75f0d7de56e60cfa8e4e240ef2a132c3e"},
]
[package.dependencies]
@ -11837,4 +11837,4 @@ local = ["ctransformers", "llama-cpp-python", "sentence-transformers"]
[metadata]
lock-version = "2.0"
python-versions = ">=3.10,<3.13"
content-hash = "dc3c3bf982b64e4f8cf62249471bec4a90e76bde0bd010b4e2e6f6ca0d6a551b"
content-hash = "d5e5f7e03a57022c0548ff9042b68e43d23a923eafb75384e8132af1113e3d9d"

View file

@ -66,7 +66,7 @@ numexpr = "^2.8.6"
qianfan = "0.3.5"
pgvector = "^0.2.3"
pyautogen = "^0.2.0"
langchain-google-genai = "^1.0.1"
langchain-google-genai = "1.0.8"
langchain-cohere = "^0.1.5"
elasticsearch = "^8.12.0"
pytube = "^15.0.0"
@ -76,12 +76,12 @@ litellm = "^1.38.0"
chromadb = "^0.4"
langchain-anthropic = "^0.1.6"
langchain-astradb = "^0.3.3"
langchain-openai = "^0.1.1"
langchain-openai = "0.1.17"
zep-python = { version = "^2.0.0rc5", allow-prereleases = true }
langchain-google-vertexai = "^1.0.3"
langchain-groq = "^0.1.3"
langchain-google-vertexai = "1.0.7"
langchain-groq = "0.1.6"
langchain-pinecone = "^0.1.0"
langchain-mistralai = "^0.1.6"
langchain-mistralai = "0.1.10"
couchbase = { extras = ["couchbase"], version = "^4.2.1", optional = true }
youtube-transcript-api = "^0.6.2"
markdown = "^3.6"
@ -95,14 +95,14 @@ langchain-mongodb = "^0.1.6"
kubernetes = "^30.1.0"
firecrawl-py = "^0.0.16"
json-repair = "^0.25.2"
langchain-nvidia-ai-endpoints = "^0.1.2"
langchain-nvidia-ai-endpoints = "0.1.6"
langchain-google-calendar-tools = "^0.0.1"
langchain-milvus = "^0.1.1"
crewai = {extras = ["tools"], version = "^0.36.0"}
langwatch = "^0.1.10"
langsmith = "^0.1.86"
yfinance = "^0.2.40"
langchain-google-community = "^1.0.6"
langchain-google-community = "1.0.7"
wolframalpha = "^5.1.3"
astra-assistants = "^2.0.15"