You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: dev extra's setuptools==82.0.1 pin is unsatisfiable alongside torch (setuptools<82 cap) #44692
The dev extra exact-pins setuptools==82.0.1, but torch (>= 2.11) declares Requires-Dist: setuptools<82. Any environment that resolves the dev extra together with torch is unsatisfiable — e.g. developing hermes-agent in an env that also carries a local embedding/reranker stack.
Reproduction
From a checkout of main:
$ uv pip install --dry-run ".[dev]""torch==2.12.0" × No solution found when resolving dependencies: ╰─▶ Because only hermes-agent[dev]==0.16.0 is available and hermes-agent[dev]==0.16.0 depends on setuptools==82.0.1, we can conclude that all versions of hermes-agent[dev] depend on setuptools==82.0.1. And because torch==2.12.0 depends on setuptools<82, we can conclude that torch==2.12.0 and all versions of hermes-agent[dev] are incompatible. And because you require torch==2.12.0 and hermes-agent[dev], we can conclude that your requirements are unsatisfiable.
The cap is in torch's published metadata (PyPI requires_dist, torch 2.11.0 and 2.12.0): setuptools<82. torch 2.10.0 had no cap.
Expected behavior
The dev extra should be co-installable with torch. setuptools==81.0.0 is the latest release below torch's cap, and it stays inside the build-system support window already declared in pyproject.toml (setuptools>=77.0,<83).
Environment
hermes-agent main @ c57417005
macOS 26.4 (arm64), uv 0.9.29, Python 3.11
Proposed fix
Relax the dev pin to setuptools==81.0.0 (keeps the exact-pin style). Fix PR incoming.
Implemented on main via the salvaged fix from the linked PR #44693.
Automated hermes-sweeper review verified pyproject.toml:160 now pins the dev extra to setuptools==81.0.0, explicitly documenting torch's <82 cap.
uv.lock:1835 and uv.lock:3855-3860 consistently resolve and lock setuptools 81.0.0.
Commit 0bbff1fc7e132c7464986483b50e7048e68255b3 (fix(deps): declare websockets as core dep + relax dev setuptools pin) merged this exact compatibility fix and cites the linked salvage PR.
Activity
szzhoujiarui-sketch commentedon Jun 12, 2026
I would like to fix this issue and submit a PR.
fix(deps): relax setuptools pin to 81.0.0 for torch compat (NousResea…
teknium1 commentedon Jul 14, 2026
Implemented on main via the salvaged fix from the linked PR #44693.
pyproject.toml:160now pins thedevextra tosetuptools==81.0.0, explicitly documenting torch's<82cap.uv.lock:1835anduv.lock:3855-3860consistently resolve and lock setuptools 81.0.0.0bbff1fc7e132c7464986483b50e7048e68255b3(fix(deps): declare websockets as core dep + relax dev setuptools pin) merged this exact compatibility fix and cites the linked salvage PR.