mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
The unified `hanzo` tool imports HanzoCloud from hanzo_tools.core, which hanzo-tools first shipped in 0.3.3 — but nothing in the dependency graph required it. hanzo-tools-api asked for `hanzo-tools-core>=0.1.0`, an empty shim whose own floor is hanzo-tools>=0.3.2, and 0.3.2 has no cloud.py at all. A resolver was therefore free to satisfy every constraint and still produce an install where `from hanzo_tools.core import HanzoCloud` raises ImportError. That is exactly what happened: the legacy-tool gate logged "unified hanzo tool not importable" and fell back, and the dev venv had to install hanzo-tools editable to get a working `hanzo`. Name the real dependency at the real floor: - hanzo-tools-api: hanzo-tools-core>=0.1.0 -> hanzo-tools>=0.3.4. It imports hanzo_tools.core directly, so it must depend on the package that owns it; the >=0.1.0 shim floor also still admitted the shadowing duplicate. - hanzo-tools-vector: hanzo-tools>=0.3.0 -> >=0.3.4 (cloud_vector.py). - hanzo-mcp: hanzo-tools>=0.3.2 -> >=0.3.4, hanzo-tools-api>=0.3.1 -> >=0.3.2. Metadata only, on versions not yet published. No version bumps. Co-authored-by: Hanzo Dev <[email protected]>
28 lines
795 B
TOML
28 lines
795 B
TOML
[build-system]
|
|
requires = ["setuptools>=61.0.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "hanzo-tools-vector"
|
|
version = "0.2.2"
|
|
description = "Vector/embedding tools for Hanzo AI - indexing, search, RAG"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
license = { text = "MIT" }
|
|
authors = [{ name = "Hanzo Industries Inc", email = "[email protected]" }]
|
|
keywords = ["hanzo", "tools", "vector", "embeddings", "rag", "mcp", "ai"]
|
|
dependencies = [
|
|
"hanzo-tools>=0.3.4", # cloud_vector.py imports HanzoCloud (hanzo_tools.core, 0.3.3+)
|
|
"mcp>=1.25.0",
|
|
"fastmcp>=2.14.1",
|
|
"pydantic>=2.12.5",
|
|
"httpx>=0.25.0",
|
|
]
|
|
|
|
[project.entry-points."hanzo.tools"]
|
|
vector = "hanzo_tools.vector:TOOLS"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["hanzo_tools*"]
|