chore: clean up pyproject.toml files, use core a7 (#33334)

This commit is contained in:
Mason Daugherty
2025-10-07 10:49:04 -04:00
committed by GitHub
parent b8ebc14a23
commit 8bcdfbb24e
21 changed files with 94 additions and 38 deletions

View File

@@ -29,9 +29,18 @@ langchain = "langchain_cli.cli:app"
langchain-cli = "langchain_cli.cli:app"
[dependency-groups]
dev = ["pytest>=7.4.2,<9.0.0", "pytest-watcher>=0.3.4,<1.0.0"]
lint = ["ruff>=0.13.1,<0.14", "mypy>=1.18.1,<1.19"]
test = ["langchain-core", "langchain"]
dev = [
"pytest>=7.4.2,<9.0.0",
"pytest-watcher>=0.3.4,<1.0.0"
]
lint = [
"ruff>=0.13.1,<0.14",
"mypy>=1.18.1,<1.19"
]
test = [
"langchain-core",
"langchain"
]
typing = ["langchain"]
test_integration = []

View File

@@ -22,7 +22,7 @@ description = "Building applications with LLMs through composability"
readme = "README.md"
[project.optional-dependencies]
# community = ["langchain-community"]
#community = ["langchain-community"]
anthropic = ["langchain-anthropic"]
openai = ["langchain-openai"]
#azure-ai = ["langchain-azure-ai"]

View File

@@ -1,5 +1,5 @@
version = 1
revision = 2
revision = 3
requires-python = ">=3.10.0, <4.0.0"
resolution-markers = [
"python_full_version >= '3.14' and platform_python_implementation == 'PyPy'",
@@ -2496,7 +2496,7 @@ typing = [
[[package]]
name = "langchain-core"
version = "1.0.0a6"
version = "1.0.0a7"
source = { editable = "../core" }
dependencies = [
{ name = "jsonpatch" },
@@ -2661,7 +2661,7 @@ wheels = [
[[package]]
name = "langchain-openai"
version = "1.0.0a3"
version = "1.0.0a4"
source = { editable = "../partners/openai" }
dependencies = [
{ name = "langchain-core" },

View File

@@ -7,7 +7,7 @@ authors = []
license = { text = "MIT" }
requires-python = ">=3.10.0,<4.0.0"
dependencies = [
"langchain-core>=1.0.0a6,<2.0.0",
"langchain-core>=1.0.0a7,<2.0.0",
"langgraph>=1.0.0a4,<2.0.0",
"pydantic>=2.7.4,<3.0.0",
]

View File

@@ -7,7 +7,7 @@ authors = []
license = { text = "MIT" }
requires-python = ">=3.10.0,<4.0.0"
dependencies = [
"langchain-core>=1.0.0a6,<2.0.0",
"langchain-core>=1.0.0a7,<2.0.0",
"numpy>=1.26.0; python_version < '3.13'",
"numpy>=2.1.0; python_version >= '3.13'",
"chromadb>=1.0.20,<2.0.0",

View File

@@ -7,7 +7,7 @@ authors = []
license = { text = "MIT" }
requires-python = ">=3.10.0,<4.0.0"
dependencies = [
"langchain-core>=1.0.0a6,<2.0.0",
"langchain-core>=1.0.0a7,<2.0.0",
"langchain-openai>=1.0.0a3,<2.0.0",
]
name = "langchain-deepseek"

View File

@@ -7,7 +7,7 @@ authors = []
license = { text = "MIT" }
requires-python = ">=3.10.0,<4.0.0"
dependencies = [
"langchain-core>=1.0.0a6,<2.0.0",
"langchain-core>=1.0.0a7,<2.0.0",
"exa-py>=1.0.8,<2.0.0"
]
name = "langchain-exa"

View File

@@ -7,7 +7,7 @@ authors = []
license = { text = "MIT" }
requires-python = ">=3.10.0,<4.0.0"
dependencies = [
"langchain-core>=1.0.0a6,<2.0.0",
"langchain-core>=1.0.0a7,<2.0.0",
"fireworks-ai>=0.13.0,<1.0.0",
"openai>=2.0.0,<3.0.0",
"requests>=2.0.0,<3.0.0",
@@ -38,7 +38,11 @@ test = [
test_integration = []
lint = ["ruff>=0.13.1,<0.14.0"]
dev = ["langchain-core"]
typing = ["mypy>=1.10.0,<2.0.0", "types-requests>=2.0.0,<3.0.0", "langchain-core"]
typing = [
"mypy>=1.10.0,<2.0.0",
"types-requests>=2.0.0,<3.0.0",
"langchain-core"
]
[tool.uv.sources]
langchain-core = { path = "../../core", editable = true }

View File

@@ -7,7 +7,7 @@ authors = []
license = { text = "MIT" }
requires-python = ">=3.10.0,<4.0.0"
dependencies = [
"langchain-core>=1.0.0a6,<2.0.0",
"langchain-core>=1.0.0a7,<2.0.0",
"groq>=0.30.0,<1.0.0"
]
name = "langchain-groq"
@@ -33,7 +33,10 @@ test = [
lint = ["ruff>=0.13.1,<0.14.0"]
dev = ["langchain-core"]
test_integration = ["langchain-core"]
typing = ["mypy>=1.10.0,<2.0.0", "langchain-core"]
typing = [
"mypy>=1.10.0,<2.0.0",
"langchain-core"
]
[tool.uv.sources]
langchain-core = { path = "../../core", editable = true }

View File

@@ -43,9 +43,15 @@ test = [
"langchain-community",
]
lint = ["ruff>=0.13.1,<0.14.0"]
dev = ["ipykernel>=6.29.2,<7.0.0", "langchain-core"]
dev = [
"ipykernel>=6.29.2,<7.0.0",
"langchain-core"
]
test_integration = []
typing = ["mypy>=1.10.0,<2.0.0", "langchain-core"]
typing = [
"mypy>=1.10.0,<2.0.0",
"langchain-core"
]
[tool.uv.sources]
langchain-core = { path = "../../core", editable = true }

View File

@@ -1,6 +1,6 @@
"""Standard LangChain interface tests."""
from typing import Literal
from typing import Any, Literal
import pytest
from langchain_core.language_models import BaseChatModel
@@ -26,7 +26,7 @@ class TestHuggingFaceEndpoint(ChatModelIntegrationTests):
return {"llm": llm}
@pytest.fixture
def model(self) -> BaseChatModel:
def model(self, request: Any) -> BaseChatModel:
return self.chat_model_class(**self.chat_model_params) # type: ignore[call-arg]
@pytest.mark.xfail(

View File

@@ -7,7 +7,7 @@ authors = []
license = { text = "MIT" }
requires-python = ">=3.10.0,<4.0.0"
dependencies = [
"langchain-core>=1.0.0a6,<2.0.0",
"langchain-core>=1.0.0a7,<2.0.0",
"tokenizers>=0.15.1,<1.0.0",
"httpx>=0.25.2,<1.0.0",
"httpx-sse>=0.3.1,<1.0.0",
@@ -34,7 +34,10 @@ test = [
test_integration = []
lint = ["ruff>=0.13.1,<0.14.0"]
dev = ["langchain-core"]
typing = ["mypy>=1.10.0,<2.0.0", "langchain-core"]
typing = [
"mypy>=1.10.0,<2.0.0",
"langchain-core"
]
[tool.uv.sources]
langchain-core = { path = "../../core", editable = true }

View File

@@ -7,7 +7,7 @@ authors = []
license = { text = "MIT" }
requires-python = ">=3.10.0,<4.0.0"
dependencies = [
"langchain-core>=1.0.0a6,<2.0.0",
"langchain-core>=1.0.0a7,<2.0.0",
"nomic>=3.5.3,<4.0.0",
"pillow>=10.3.0,<11.0.0",
]
@@ -35,7 +35,10 @@ test = [
]
test_integration = []
lint = ["ruff>=0.13.1,<0.14.0"]
typing = ["mypy>=0.991.0,<1.0.0", "langchain-core"]
typing = [
"mypy>=0.991.0,<1.0.0",
"langchain-core"
]
dev = ["langchain-core"]
[tool.uv.sources]

View File

@@ -8,7 +8,7 @@ license = { text = "MIT" }
requires-python = ">=3.10.0,<4.0.0"
dependencies = [
"ollama>=0.6.0,<1.0.0",
"langchain-core>=1.0.0a6,<2.0.0",
"langchain-core>=1.0.0a7,<2.0.0",
]
name = "langchain-ollama"
version = "1.0.0a1"
@@ -33,7 +33,10 @@ test = [
test_integration = []
lint = ["ruff>=0.13.1,<0.14.0"]
dev = ["langchain-core"]
typing = ["mypy>=1.17.1,<2.0.0", "langchain-core"]
typing = [
"mypy>=1.17.1,<2.0.0",
"langchain-core"
]
[tool.uv.sources]
langchain-core = { path = "../../core", editable = true }

View File

@@ -47,7 +47,11 @@ test_integration = [
"numpy>=1.26.4; python_version < '3.13'",
"numpy>=2.1.0; python_version >= '3.13'",
]
typing = ["mypy>=1.17.1,<2.0.0", "types-tqdm>=4.66.0.5,<5.0.0.0", "langchain-core"]
typing = [
"mypy>=1.17.1,<2.0.0",
"types-tqdm>=4.66.0.5,<5.0.0.0",
"langchain-core"
]
[tool.uv.sources]
langchain-core = { path = "../../core", editable = true }

View File

@@ -7,7 +7,7 @@ authors = []
license = { text = "MIT" }
requires-python = ">=3.10.0,<4.0.0"
dependencies = [
"langchain-core>=1.0.0a6,<2.0.0",
"langchain-core>=1.0.0a7,<2.0.0",
"openai>=2.0.0,<3.0.0",
]
name = "langchain-perplexity"
@@ -41,7 +41,11 @@ test_integration = [
"httpx>=0.27.0,<1.0.0",
"pillow>=10.3.0,<11.0.0",
]
typing = ["mypy>=1.10.0,<2.0.0", "types-tqdm>=4.66.0.5,<5.0.0.0", "langchain-core"]
typing = [
"mypy>=1.10.0,<2.0.0",
"types-tqdm>=4.66.0.5,<5.0.0.0",
"langchain-core"
]
[tool.uv.sources]
langchain-core = { path = "../../core", editable = true }

View File

@@ -7,7 +7,7 @@ authors = []
license = { text = "MIT" }
requires-python = ">=3.10.0,<4.0.0"
dependencies = [
"langchain-core>=1.0.0a1,<2.0.0",
"langchain-core>=1.0.0a7,<2.0.0",
"pyyaml>=6.0.1,<7.0.0"
]
name = "langchain-prompty"
@@ -39,7 +39,10 @@ lint = [
"ruff>=0.13.1,<0.14.0",
"types-urllib3>=1.26.25.14,<2.0.0.0",
]
dev = ["types-pyyaml>=6.0.12.20240311,<7.0.0.0", "langchain-core"]
dev = [
"types-pyyaml>=6.0.12.20240311,<7.0.0.0",
"langchain-core"
]
typing = [
"mypy>=0.991.0,<1.0.0",
"types-pyyaml>=6.0.12.20240311,<7.0.0.0",

View File

@@ -9,7 +9,7 @@ requires-python = ">=3.10.0,<4.0.0"
dependencies = [
"qdrant-client>=1.10.1,<2.0.0",
"pydantic>=2.7.4,<3.0.0",
"langchain-core>=1.0.0a6,<2.0.0",
"langchain-core>=1.0.0a7,<2.0.0",
]
name = "langchain-qdrant"
version = "1.0.0a1"
@@ -43,7 +43,11 @@ test = [
test_integration = []
lint = ["ruff>=0.13.1,<0.14.0"]
dev = ["langchain-core"]
typing = ["mypy>=1.10.0,<2.0.0", "simsimd>=6.0.0,<7.0.0", "langchain-core"]
typing = [
"mypy>=1.10.0,<2.0.0",
"simsimd>=6.0.0,<7.0.0",
"langchain-core"
]
[tool.uv.sources]
langchain-core = { path = "../../core", editable = true }

View File

@@ -8,7 +8,7 @@ license = { text = "MIT" }
requires-python = ">=3.10.0,<4.0.0"
dependencies = [
"langchain-openai>=1.0.0a3,<2.0.0",
"langchain-core>=1.0.0a6,<2.0.0",
"langchain-core>=1.0.0a7,<2.0.0",
"requests>=2.0.0,<3.0.0",
"aiohttp>=3.9.1,<4.0.0",
]
@@ -38,7 +38,11 @@ test = [
]
test_integration = []
lint = ["ruff>=0.13.1,<0.14.0"]
typing = ["mypy>=1.10.0,<2.0.0", "types-requests>=2.0.0,<3.0.0", "langchain-core"]
typing = [
"mypy>=1.10.0,<2.0.0",
"types-requests>=2.0.0,<3.0.0",
"langchain-core"
]
dev = ["langchain-core"]
[tool.uv.sources]

View File

@@ -7,7 +7,7 @@ authors = [{ name = "Erick Friis", email = "erick@langchain.dev" }]
license = { text = "MIT" }
requires-python = ">=3.10.0,<4.0.0"
dependencies = [
"langchain-core>=1.0.0a6,<2.0.0",
"langchain-core>=1.0.0a7,<2.0.0",
"pytest>=7.0.0,<9.0.0",
"pytest-asyncio>=0.20.0,<2.0.0",
"httpx>=0.28.1,<1.0.0",

View File

@@ -7,7 +7,7 @@ authors = []
license = { text = "MIT" }
requires-python = ">=3.10.0,<4.0.0"
dependencies = [
"langchain-core>=1.0.0a6,<2.0.0",
"langchain-core>=1.0.0a7,<2.0.0",
]
name = "langchain-text-splitters"
version = "1.0.0a1"
@@ -20,7 +20,10 @@ readme = "README.md"
repository = "https://github.com/langchain-ai/langchain"
[dependency-groups]
lint = ["ruff>=0.13.1,<0.14.0", "langchain-core"]
lint = [
"ruff>=0.13.1,<0.14.0",
"langchain-core"
]
typing = [
"mypy>=1.18.1,<1.19.0",
"lxml-stubs>=0.5.1,<1.0.0",
@@ -28,7 +31,10 @@ typing = [
"tiktoken>=0.8.0,<1.0.0",
"beautifulsoup4>=4.13.5,<5.0.0",
]
dev = ["jupyter<2.0.0,>=1.0.0", "langchain-core"]
dev = [
"jupyter<2.0.0,>=1.0.0",
"langchain-core"
]
test = [
"pytest>=8.0.0,<9.0.0",
"freezegun>=1.2.2,<2.0.0",