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:
Erick Friis
2025-02-13 13:32:34 -08:00
committed by GitHub
parent ff13384eb6
commit 1a225fad03
45 changed files with 1548 additions and 1359 deletions

View File

@@ -4,7 +4,7 @@ build-backend = "pdm.backend"
[project]
authors = []
license = {text = "MIT"}
license = { text = "MIT" }
requires-python = "<4.0,>=3.9"
dependencies = [
"langchain-openai<0.4,>=0.3",
@@ -31,30 +31,24 @@ test = [
"pytest-watcher<1.0.0,>=0.3.4",
"pytest-asyncio<1.0.0,>=0.21.1",
"docarray<1.0.0,>=0.32.1",
"langchain-openai @ file:///${PROJECT_ROOT}/../openai",
"langchain-core @ file:///${PROJECT_ROOT}/../../core",
"langchain-tests @ file:///${PROJECT_ROOT}/../../standard-tests",
"langchain-openai",
"langchain-core",
"langchain-tests",
"pytest-socket<1.0.0,>=0.7.0",
]
codespell = [
"codespell<3.0.0,>=2.2.0",
]
codespell = ["codespell<3.0.0,>=2.2.0"]
test_integration = [
"numpy<2,>=1; python_version < \"3.12\"",
"numpy<2.0.0,>=1.26.0; python_version >= \"3.12\"",
]
lint = [
"ruff<1.0,>=0.5",
]
typing = [
"mypy<2.0,>=1.10",
"types-requests<3,>=2",
"langchain-core @ file:///${PROJECT_ROOT}/../../core",
]
dev = [
"langchain-core @ file:///${PROJECT_ROOT}/../../core",
]
lint = ["ruff<1.0,>=0.5"]
typing = ["mypy<2.0,>=1.10", "types-requests<3,>=2", "langchain-core"]
dev = ["langchain-core"]
[tool.uv.sources]
langchain-core = { path = "../../core", editable = true }
langchain-tests = { path = "../../standard-tests", editable = true }
langchain-openai = { path = "../openai", editable = true }
[tool.mypy]
disallow_untyped_defs = "True"