Skip to content

Commit 75ce98a

Browse files
changes
1 parent c1d99ea commit 75ce98a

File tree

1 file changed

+31
-38
lines changed

1 file changed

+31
-38
lines changed

libs/langchain/pyproject.toml

Lines changed: 31 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[build-system]
2-
requires = ["pdm-backend"]
3-
build-backend = "pdm.backend"
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
44

55
[project]
66
authors = []
77
license = { text = "MIT" }
88
requires-python = ">=3.10.0,<4.0.0"
99
dependencies = [
10-
"langchain-core>=0.3.72,<1.0.0",
10+
"langchain-core>=0.3.72,<2.0.0",
1111
"langchain-text-splitters>=0.3.9,<1.0.0",
1212
"langsmith>=0.1.17,<1.0.0",
1313
"pydantic>=2.7.4,<3.0.0",
@@ -16,31 +16,29 @@ dependencies = [
1616
"PyYAML>=5.3.0,<7.0.0",
1717
"async-timeout>=4.0.0,<5.0.0; python_version < \"3.11\"",
1818
]
19-
name = "langchain"
19+
name = "langchain-classic"
2020
version = "0.3.27"
2121
description = "Building applications with LLMs through composability"
2222
readme = "README.md"
2323

2424
[project.optional-dependencies]
25-
community = ["langchain-community"]
25+
# community = ["langchain-community"]
2626
anthropic = ["langchain-anthropic"]
2727
openai = ["langchain-openai"]
28-
# azure-ai = ["langchain-azure-ai"]
29-
# cohere = ["langchain-cohere"]
28+
#azure-ai = ["langchain-azure-ai"]
29+
#cohere = ["langchain-cohere"]
3030
google-vertexai = ["langchain-google-vertexai"]
3131
google-genai = ["langchain-google-genai"]
32-
# fireworks = ["langchain-fireworks"]
33-
# ollama = ["langchain-ollama"]
32+
fireworks = ["langchain-fireworks"]
33+
ollama = ["langchain-ollama"]
3434
together = ["langchain-together"]
35-
# mistralai = ["langchain-mistralai"]
36-
# huggingface = ["langchain-huggingface"]
37-
# groq = ["langchain-groq"]
38-
# aws = ["langchain-aws"]
39-
# deepseek = ["langchain-deepseek"]
40-
# xai = ["langchain-xai"]
41-
# perplexity = ["langchain-perplexity"]
42-
# hallucination = ["transformers", "torch"]
43-
35+
mistralai = ["langchain-mistralai"]
36+
#huggingface = ["langchain-huggingface"]
37+
groq = ["langchain-groq"]
38+
aws = ["langchain-aws"]
39+
deepseek = ["langchain-deepseek"]
40+
xai = ["langchain-xai"]
41+
perplexity = ["langchain-perplexity"]
4442

4543
[project.urls]
4644
"Source Code" = "https://github.com/langchain-ai/langchain/tree/master/libs/langchain"
@@ -52,31 +50,29 @@ test = [
5250
"pytest>=8.0.0,<9.0.0",
5351
"pytest-cov>=4.0.0,<5.0.0",
5452
"pytest-dotenv>=0.5.2,<1.0.0",
55-
"duckdb-engine>=0.9.2,<1.0.0",
5653
"pytest-watcher>=0.2.6,<1.0.0",
54+
"pytest-asyncio>=0.23.2,<1.0.0",
55+
"pytest-mock>=3.10.0,<4.0.0",
56+
"pytest-socket>=0.6.0,<1.0.0",
57+
"pytest-xdist<4.0.0,>=3.6.1",
58+
"numpy>=1.26.4; python_version<'3.13'",
59+
"numpy>=2.1.0; python_version>='3.13'",
60+
"cffi<1.17.1; python_version < \"3.10\"",
61+
"cffi; python_version >= \"3.10\"",
62+
"duckdb-engine>=0.9.2,<1.0.0",
5763
"freezegun>=1.2.2,<2.0.0",
5864
"responses>=0.22.0,<1.0.0",
59-
"pytest-asyncio>=0.23.2,<1.0.0",
6065
"lark>=1.1.5,<2.0.0",
6166
"pandas>=2.0.0,<3.0.0",
62-
"pytest-mock>=3.10.0,<4.0.0",
63-
"pytest-socket>=0.6.0,<1.0.0",
6467
"syrupy>=4.0.2,<5.0.0",
6568
"requests-mock>=1.11.0,<2.0.0",
66-
"pytest-xdist<4.0.0,>=3.6.1",
6769
"blockbuster>=1.5.18,<1.6.0",
68-
"cffi<1.17.1; python_version < \"3.10\"",
69-
"cffi; python_version >= \"3.10\"",
70+
"toml>=0.10.2,<1.0.0",
71+
"packaging>=24.2.0,<26.0.0",
7072
"langchain-tests",
7173
"langchain-core",
7274
"langchain-text-splitters",
7375
"langchain-openai",
74-
"toml>=0.10.2,<1.0.0",
75-
"packaging>=24.2.0,<26.0.0",
76-
"numpy>=1.26.4; python_version<'3.13'",
77-
"numpy>=2.1.0; python_version>='3.13'",
78-
"transformers>=4.35.0,<5.0.0",
79-
"torch>=2.1.0,<3.0.0",
8076
]
8177
test_integration = [
8278
"vcrpy>=7.0.0,<8.0.0",
@@ -87,8 +83,6 @@ test_integration = [
8783
"langchainhub>=0.1.16,<1.0.0",
8884
"langchain-core",
8985
"langchain-text-splitters",
90-
"transformers>=4.35.0,<5.0.0",
91-
"torch>=2.1.0,<3.0.0",
9286
]
9387
lint = [
9488
"ruff>=0.13.1,<0.14.0",
@@ -97,17 +91,17 @@ lint = [
9791
]
9892
typing = [
9993
"mypy>=1.15.0,<1.16.0",
94+
"mypy-protobuf>=3.0.0,<4.0.0",
10095
"types-pyyaml>=6.0.12.2,<7.0.0.0",
10196
"types-requests>=2.28.11.5,<3.0.0.0",
10297
"types-toml>=0.10.8.1,<1.0.0.0",
10398
"types-redis>=4.3.21.6,<5.0.0.0",
10499
"types-pytz>=2023.3.0.0,<2024.0.0.0",
105100
"types-chardet>=5.0.4.6,<6.0.0.0",
106-
"mypy-protobuf>=3.0.0,<4.0.0",
107-
"langchain-core",
108-
"langchain-text-splitters",
109101
"numpy>=1.26.4; python_version < '3.13'",
110102
"numpy>=2.1.0; python_version >= '3.13'",
103+
"langchain-core",
104+
"langchain-text-splitters",
111105
]
112106
dev = [
113107
"jupyter>=1.0.0,<2.0.0",
@@ -125,7 +119,6 @@ langchain-text-splitters = { path = "../text-splitters", editable = true }
125119
langchain-openai = { path = "../partners/openai", editable = true }
126120

127121
[tool.ruff]
128-
target-version = "py39"
129122
exclude = ["tests/integration_tests/examples/non-utf8-encoding.py"]
130123

131124
[tool.mypy]
@@ -197,7 +190,7 @@ ignore-var-parameters = true # ignore missing documentation for *args and **kwa
197190
"scripts/*.py" = [
198191
"INP001", # Not a package
199192
]
200-
"langchain/chains/constitutional_ai/principles.py" = [
193+
"langchain_classic/chains/constitutional_ai/principles.py" = [
201194
"E501", # Line too long
202195
]
203196
"**/retrievers/*time_weighted_retriever.py" = [

0 commit comments

Comments
 (0)