mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
chore: update pyproject.toml files, remove codespell (#33028)
- Removes Codespell from deps, docs, and `Makefile`s - Python version requirements in all `pyproject.toml` files now use the `~=` (compatible release) specifier - All dependency groups and main dependencies now use explicit lower and upper bounds, reducing potential for breaking changes
This commit is contained in:
@@ -5,11 +5,11 @@ build-backend = "pdm.backend"
|
||||
[project]
|
||||
authors = []
|
||||
license = { text = "MIT" }
|
||||
requires-python = ">=3.9"
|
||||
requires-python = ">=3.9.0,<4.0.0"
|
||||
dependencies = [
|
||||
"langchain-core<1.0.0,>=0.3.70",
|
||||
"tokenizers>=0.19.1",
|
||||
"huggingface-hub>=0.33.4",
|
||||
"langchain-core>=0.3.76,<1.0.0",
|
||||
"tokenizers>=0.19.1,<1.0.0",
|
||||
"huggingface-hub>=0.33.4,<1.0.0",
|
||||
]
|
||||
name = "langchain-huggingface"
|
||||
version = "0.3.1"
|
||||
@@ -23,29 +23,29 @@ repository = "https://github.com/langchain-ai/langchain"
|
||||
|
||||
[project.optional-dependencies]
|
||||
full = [
|
||||
"transformers>=4.39.0",
|
||||
"sentence-transformers>=2.6.0",
|
||||
"transformers>=4.39.0,<5.0.0",
|
||||
"sentence-transformers>=2.6.0,<3.0.0",
|
||||
]
|
||||
|
||||
[dependency-groups]
|
||||
test = [
|
||||
"pytest<8.0.0,>=7.3.0",
|
||||
"pytest-asyncio<1.0.0,>=0.21.1",
|
||||
"pytest-watcher<1.0.0,>=0.3.4",
|
||||
"pytest-socket<1.0.0,>=0.7.0",
|
||||
"scipy<2,>=1; python_version < \"3.12\"",
|
||||
"scipy<2.0.0,>=1.7.0; python_version >= \"3.12\"",
|
||||
"transformers>=4.39.0",
|
||||
"sentence-transformers>=2.6.0",
|
||||
"pytest>=7.3.0,<8.0.0",
|
||||
"pytest-asyncio>=0.21.1,<1.0.0",
|
||||
"pytest-watcher>=0.3.4,<1.0.0",
|
||||
"pytest-socket>=0.7.0,<1.0.0",
|
||||
"scipy>=1.0.0,<2.0.0; python_version < \"3.12\"",
|
||||
"scipy>=1.7.0,<2.0.0; python_version >= \"3.12\" and python_version < \"3.13\"",
|
||||
"scipy>=1.14.1,<2.0.0; python_version >= \"3.13\"",
|
||||
"transformers>=4.39.0,<5.0.0",
|
||||
"sentence-transformers>=2.6.0,<3.0.0",
|
||||
"langchain-core",
|
||||
"langchain-tests",
|
||||
"langchain-community",
|
||||
]
|
||||
codespell = ["codespell<3.0.0,>=2.2.0"]
|
||||
lint = ["ruff<0.13,>=0.12.2"]
|
||||
dev = ["ipykernel<7.0.0,>=6.29.2", "langchain-core"]
|
||||
lint = ["ruff>=0.12.2,<0.13.0"]
|
||||
dev = ["ipykernel>=6.29.2,<7.0.0", "langchain-core"]
|
||||
test_integration = []
|
||||
typing = ["mypy<2.0,>=1.10", "langchain-core"]
|
||||
typing = ["mypy>=1.10.0,<2.0.0", "langchain-core"]
|
||||
|
||||
[tool.uv.sources]
|
||||
langchain-core = { path = "../../core", editable = true }
|
||||
|
||||
Reference in New Issue
Block a user