Skip to content

Commit e973429

Browse files
SStasclaude
andcommitted
Tighten version floors: transformers >=5.0, huggingface-hub >=1.0, Python >=3.10
- transformers: 4.x line is dead, 5.x stable since late 2025, CI uses 5.3.0 - huggingface-hub: jumped to 1.x major version, 0.x is obsolete - requires-python: 3.9 hit EOL October 2025, raises FastAPI compat issues - ruff target-version: updated to py310 to match - Added Python 3.10/3.11/3.12 classifiers Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 67908be commit e973429

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

pyproject.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,16 @@ dynamic = ["version"]
88
description = "Multi-agent text handoffs discard KV-cache and attention state. AVP transfers that state directly — 51-78% fewer tokens, 1.5-5x faster."
99
readme = "README.md"
1010
license = "Apache-2.0"
11-
requires-python = ">=3.9"
11+
requires-python = ">=3.10"
1212
authors = [{ name = "VectorArc" }]
1313
classifiers = [
1414
"Development Status :: 3 - Alpha",
1515
"Intended Audience :: Developers",
1616
"License :: OSI Approved :: Apache Software License",
1717
"Programming Language :: Python :: 3",
18+
"Programming Language :: Python :: 3.10",
19+
"Programming Language :: Python :: 3.11",
20+
"Programming Language :: Python :: 3.12",
1821
"Topic :: Scientific/Engineering :: Artificial Intelligence",
1922
]
2023

@@ -33,9 +36,9 @@ Changelog = "https://github.com/VectorArc/avp-python/blob/main/CHANGELOG.md"
3336

3437
[project.optional-dependencies]
3538
# Engine connectors (pick one or more)
36-
hf = ["torch>=2.0", "transformers>=4.36"]
39+
hf = ["torch>=2.0", "transformers>=5.0"]
3740
huggingface = ["avp[hf]"]
38-
vllm = ["vllm>=0.17.0,<0.19.0", "safetensors>=0.4", "huggingface-hub>=0.20"]
41+
vllm = ["vllm>=0.17.0,<0.19.0", "safetensors>=0.4", "huggingface-hub>=1.0"]
3942
llamacpp = ["llama-cpp-python>=0.3", "gguf>=0.6"]
4043
ollama = ["llama-cpp-python>=0.3", "gguf>=0.6"]
4144
# Framework integrations (each requires HF engine)
@@ -78,4 +81,4 @@ addopts = "-m 'not requires_vllm'"
7881

7982
[tool.ruff]
8083
line-length = 99
81-
target-version = "py39"
84+
target-version = "py310"

0 commit comments

Comments
 (0)