infra: fix langchain openai test dep (#15620)

This commit is contained in:
Bagatur 2024-01-05 20:14:22 -05:00 committed by GitHub
parent 81810cec2e
commit 4ac61670b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 5 deletions

View File

@ -3501,12 +3501,12 @@ url = "../core"
[[package]] [[package]]
name = "langchain-openai" name = "langchain-openai"
version = "0.0.1rc1" version = "0.0.2"
description = "An integration package connecting OpenAI and LangChain" description = "An integration package connecting OpenAI and LangChain"
optional = true optional = false
python-versions = ">=3.8.1,<4.0" python-versions = ">=3.8.1,<4.0"
files = [] files = []
develop = false develop = true
[package.dependencies] [package.dependencies]
langchain-core = ">=0.1.7,<0.2" langchain-core = ">=0.1.7,<0.2"
@ -9130,4 +9130,4 @@ text-helpers = ["chardet"]
[metadata] [metadata]
lock-version = "2.0" lock-version = "2.0"
python-versions = ">=3.8.1,<4.0" python-versions = ">=3.8.1,<4.0"
content-hash = "d76f34f0cc4ed3c0d4612e1bfd00e76147844045252fb760d6d1035dbdcc07a5" content-hash = "fb2afddd84f6f380772bddab6e649f8634f871ceae6749c11c04d757844bbe95"

View File

@ -110,7 +110,7 @@ databricks-vectorsearch = {version = "^0.21", optional = true}
couchbase = {version = "^4.1.9", optional = true} couchbase = {version = "^4.1.9", optional = true}
dgml-utils = {version = "^0.3.0", optional = true} dgml-utils = {version = "^0.3.0", optional = true}
datasets = {version = "^2.15.0", optional = true} datasets = {version = "^2.15.0", optional = true}
langchain-openai = {path = "../partners/openai", optional = true} langchain-openai = {version = ">=0.0.2,<0.1", optional = true}
[tool.poetry.group.test] [tool.poetry.group.test]
optional = true optional = true
@ -134,6 +134,7 @@ pytest-socket = "^0.6.0"
syrupy = "^4.0.2" syrupy = "^4.0.2"
requests-mock = "^1.11.0" requests-mock = "^1.11.0"
langchain-core = {path = "../core", develop = true} langchain-core = {path = "../core", develop = true}
langchain-openai = {path = "../partners/openai", develop = true}
[tool.poetry.group.codespell] [tool.poetry.group.codespell]
optional = true optional = true

View File

@ -77,6 +77,7 @@ def test_test_group_dependencies(poetry_conf: Mapping[str, Any]) -> None:
"duckdb-engine", "duckdb-engine",
"freezegun", "freezegun",
"langchain-core", "langchain-core",
"langchain-openai",
"lark", "lark",
"pandas", "pandas",
"pytest", "pytest",