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,11 +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.34",
]
dependencies = ["langchain-core<1.0.0,>=0.3.34"]
name = "langchain-text-splitters"
version = "0.3.6"
description = "LangChain text splitting utilities"
@@ -20,20 +18,14 @@ readme = "README.md"
repository = "https://github.com/langchain-ai/langchain"
[dependency-groups]
lint = [
"ruff<1.0.0,>=0.9.2",
"langchain-core @ file:///${PROJECT_ROOT}/../core",
]
lint = ["ruff<1.0.0,>=0.9.2", "langchain-core"]
typing = [
"mypy<2.0,>=1.10",
"lxml-stubs<1.0.0,>=0.5.1",
"types-requests<3.0.0.0,>=2.31.0.20240218",
"tiktoken<1.0.0,>=0.8.0",
]
dev = [
"jupyter<2.0.0,>=1.0.0",
"langchain-core @ file:///${PROJECT_ROOT}/../core",
]
dev = ["jupyter<2.0.0,>=1.0.0", "langchain-core"]
test = [
"pytest<9,>=8",
"freezegun<2.0.0,>=1.2.2",
@@ -42,7 +34,7 @@ test = [
"pytest-asyncio<1.0.0,>=0.21.1",
"pytest-socket<1.0.0,>=0.7.0",
"pytest-xdist<4.0.0,>=3.6.1",
"langchain-core @ file:///${PROJECT_ROOT}/../core",
"langchain-core",
]
test_integration = [
"spacy<3.8.4,>=3.0.0; python_version < \"3.10.0\"",
@@ -52,6 +44,8 @@ test_integration = [
"sentence-transformers>=2.6.0; python_version < \"3.13\"",
]
[tool.uv.sources]
langchain-core = { path = "../core", editable = true }
[tool.mypy]
disallow_untyped_defs = "True"

View File

@@ -1079,8 +1079,8 @@ wheels = [
[[package]]
name = "langchain-core"
version = "0.3.34"
source = { directory = "../core" }
version = "0.3.35"
source = { editable = "../core" }
dependencies = [
{ name = "jsonpatch" },
{ name = "langsmith" },
@@ -1177,20 +1177,20 @@ typing = [
]
[package.metadata]
requires-dist = [{ name = "langchain-core", specifier = ">=0.3.34,<1.0.0" }]
requires-dist = [{ name = "langchain-core", editable = "../core" }]
[package.metadata.requires-dev]
dev = [
{ name = "jupyter", specifier = ">=1.0.0,<2.0.0" },
{ name = "langchain-core", directory = "../core" },
{ name = "langchain-core", editable = "../core" },
]
lint = [
{ name = "langchain-core", directory = "../core" },
{ name = "langchain-core", editable = "../core" },
{ name = "ruff", specifier = ">=0.9.2,<1.0.0" },
]
test = [
{ name = "freezegun", specifier = ">=1.2.2,<2.0.0" },
{ name = "langchain-core", directory = "../core" },
{ name = "langchain-core", editable = "../core" },
{ name = "pytest", specifier = ">=8,<9" },
{ name = "pytest-asyncio", specifier = ">=0.21.1,<1.0.0" },
{ name = "pytest-mock", specifier = ">=3.10.0,<4.0.0" },