mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
multiple: fix uv path deps (#29790)
file:// format wasn't working with updates - it doesn't install as an editable dep move to tool.uv.sources with path= instead
This commit is contained in:
@@ -4,12 +4,9 @@ build-backend = "pdm.backend"
|
||||
|
||||
[project]
|
||||
authors = []
|
||||
license = {text = "MIT"}
|
||||
license = { text = "MIT" }
|
||||
requires-python = "<4.0,>=3.9"
|
||||
dependencies = [
|
||||
"langchain-core<1.0.0,>=0.3.15",
|
||||
"exa-py<2.0.0,>=1.0.8",
|
||||
]
|
||||
dependencies = ["langchain-core<1.0.0,>=0.3.15", "exa-py<2.0.0,>=1.0.8"]
|
||||
name = "langchain-exa"
|
||||
version = "0.2.1"
|
||||
description = "An integration package connecting Exa and LangChain"
|
||||
@@ -28,35 +25,36 @@ test = [
|
||||
"syrupy<5.0.0,>=4.0.2",
|
||||
"pytest-watcher<1.0.0,>=0.3.4",
|
||||
"pytest-asyncio<1.0.0,>=0.21.1",
|
||||
"langchain-core @ file:///${PROJECT_ROOT}/../../core",
|
||||
]
|
||||
codespell = [
|
||||
"codespell<3.0.0,>=2.2.0",
|
||||
]
|
||||
lint = [
|
||||
"ruff<1.0,>=0.5",
|
||||
]
|
||||
dev = [
|
||||
"langchain-core @ file:///${PROJECT_ROOT}/../../core",
|
||||
"langchain-core",
|
||||
]
|
||||
codespell = ["codespell<3.0.0,>=2.2.0"]
|
||||
lint = ["ruff<1.0,>=0.5"]
|
||||
dev = ["langchain-core"]
|
||||
test_integration = []
|
||||
typing = [
|
||||
"mypy<2.0,>=1.10",
|
||||
"langchain-core @ file:///${PROJECT_ROOT}/../../core",
|
||||
"pydantic>2.0,<2.10", # TODO: support 2.10
|
||||
"langchain-core",
|
||||
"pydantic>2.0,<2.10", # TODO: support 2.10
|
||||
]
|
||||
|
||||
|
||||
[tool.uv.sources]
|
||||
langchain-core = { path = "../../core", editable = true }
|
||||
|
||||
|
||||
[tool.mypy]
|
||||
disallow_untyped_defs = "True"
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = [ "E", "F", "I", "T201",]
|
||||
select = ["E", "F", "I", "T201"]
|
||||
|
||||
[tool.coverage.run]
|
||||
omit = [ "tests/*",]
|
||||
omit = ["tests/*"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
addopts = "--snapshot-warn-unused --strict-markers --strict-config --durations=5"
|
||||
markers = [ "requires: mark tests as requiring a specific library", "compile: mark placeholder test used to compile integration tests without running them",]
|
||||
markers = [
|
||||
"requires: mark tests as requiring a specific library",
|
||||
"compile: mark placeholder test used to compile integration tests without running them",
|
||||
]
|
||||
asyncio_mode = "auto"
|
||||
|
||||
Reference in New Issue
Block a user