Skip to content

Commit

Permalink
infra: fix langchain openai test dep (#15620)
Browse files Browse the repository at this point in the history
  • Loading branch information
baskaryan committed Jan 6, 2024
1 parent 81810ce commit 4ac6167
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions libs/langchain/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion libs/langchain/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ databricks-vectorsearch = {version = "^0.21", optional = true}
couchbase = {version = "^4.1.9", optional = true}
dgml-utils = {version = "^0.3.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]
optional = true
Expand All @@ -134,6 +134,7 @@ pytest-socket = "^0.6.0"
syrupy = "^4.0.2"
requests-mock = "^1.11.0"
langchain-core = {path = "../core", develop = true}
langchain-openai = {path = "../partners/openai", develop = true}

[tool.poetry.group.codespell]
optional = true
Expand Down
1 change: 1 addition & 0 deletions libs/langchain/tests/unit_tests/test_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def test_test_group_dependencies(poetry_conf: Mapping[str, Any]) -> None:
"duckdb-engine",
"freezegun",
"langchain-core",
"langchain-openai",
"lark",
"pandas",
"pytest",
Expand Down

0 comments on commit 4ac6167

Please sign in to comment.