mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
multiple: disable socket for unit tests (#29080)
This commit is contained in:
@@ -8,7 +8,10 @@ TEST_FILE ?= tests/unit_tests/
|
||||
|
||||
integration_test integration_tests: TEST_FILE=tests/integration_tests/
|
||||
|
||||
test tests integration_test integration_tests:
|
||||
test tests:
|
||||
poetry run pytest --disable-socket --allow-unix-socket $(TEST_FILE)
|
||||
|
||||
integration_test integration_tests:
|
||||
poetry run pytest $(TEST_FILE)
|
||||
|
||||
######################
|
||||
|
||||
2
libs/partners/xai/poetry.lock
generated
2
libs/partners/xai/poetry.lock
generated
@@ -2122,4 +2122,4 @@ propcache = ">=0.2.0"
|
||||
[metadata]
|
||||
lock-version = "2.0"
|
||||
python-versions = ">=3.9,<4.0"
|
||||
content-hash = "5f922370eb32d79a26e769e13b0cee1f09d6caa7fb4f61f43e77ee0eb0d61dad"
|
||||
content-hash = "ab1d2f38bf7404b05ad63b5ebfabd149d65760bbc0ee96c2d2f539912ac8f8ad"
|
||||
|
||||
@@ -75,12 +75,15 @@ docarray = "^0.32.1"
|
||||
langchain-openai = { path = "../openai", develop = true }
|
||||
langchain-core = { path = "../../core", develop = true }
|
||||
langchain-tests = { path = "../../standard-tests", develop = true }
|
||||
pytest-socket = "^0.7.0"
|
||||
|
||||
|
||||
|
||||
[tool.poetry.group.codespell.dependencies]
|
||||
codespell = "^2.2.0"
|
||||
|
||||
|
||||
|
||||
[tool.poetry.group.test_integration.dependencies]
|
||||
[[tool.poetry.group.test_integration.dependencies.numpy]]
|
||||
version = "^1"
|
||||
@@ -91,15 +94,18 @@ version = "^1.26.0"
|
||||
python = ">=3.12"
|
||||
|
||||
|
||||
|
||||
[tool.poetry.group.lint.dependencies]
|
||||
ruff = "^0.5"
|
||||
|
||||
|
||||
|
||||
[tool.poetry.group.typing.dependencies]
|
||||
mypy = "^1.10"
|
||||
types-requests = "^2"
|
||||
langchain-core = { path = "../../core", develop = true }
|
||||
|
||||
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
langchain-core = { path = "../../core", develop = true }
|
||||
|
||||
Reference in New Issue
Block a user