mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-25 04:49:17 +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"
|
||||
|
12
libs/partners/exa/uv.lock
generated
12
libs/partners/exa/uv.lock
generated
@@ -393,8 +393,8 @@ wheels = [
|
||||
|
||||
[[package]]
|
||||
name = "langchain-core"
|
||||
version = "0.3.34rc1"
|
||||
source = { directory = "../../core" }
|
||||
version = "0.3.35"
|
||||
source = { editable = "../../core" }
|
||||
dependencies = [
|
||||
{ name = "jsonpatch" },
|
||||
{ name = "langsmith" },
|
||||
@@ -486,16 +486,16 @@ typing = [
|
||||
[package.metadata]
|
||||
requires-dist = [
|
||||
{ name = "exa-py", specifier = ">=1.0.8,<2.0.0" },
|
||||
{ name = "langchain-core", specifier = ">=0.3.15,<1.0.0" },
|
||||
{ name = "langchain-core", editable = "../../core" },
|
||||
]
|
||||
|
||||
[package.metadata.requires-dev]
|
||||
codespell = [{ name = "codespell", specifier = ">=2.2.0,<3.0.0" }]
|
||||
dev = [{ name = "langchain-core", directory = "../../core" }]
|
||||
dev = [{ name = "langchain-core", editable = "../../core" }]
|
||||
lint = [{ name = "ruff", specifier = ">=0.5,<1.0" }]
|
||||
test = [
|
||||
{ name = "freezegun", specifier = ">=1.2.2,<2.0.0" },
|
||||
{ name = "langchain-core", directory = "../../core" },
|
||||
{ name = "langchain-core", editable = "../../core" },
|
||||
{ name = "pytest", specifier = ">=7.3.0,<8.0.0" },
|
||||
{ name = "pytest-asyncio", specifier = ">=0.21.1,<1.0.0" },
|
||||
{ name = "pytest-mock", specifier = ">=3.10.0,<4.0.0" },
|
||||
@@ -504,7 +504,7 @@ test = [
|
||||
]
|
||||
test-integration = []
|
||||
typing = [
|
||||
{ name = "langchain-core", directory = "../../core" },
|
||||
{ name = "langchain-core", editable = "../../core" },
|
||||
{ name = "mypy", specifier = ">=1.10,<2.0" },
|
||||
{ name = "pydantic", specifier = ">2.0,<2.10" },
|
||||
]
|
||||
|
Reference in New Issue
Block a user