Skip to content

fix(deps): relax setuptools pin to 81.0.0 for torch compat - #44869

Closed
Code-suphub wants to merge 1 commit into
NousResearch:mainfrom
Code-suphub:fix/44692-setuptools-torch-compat
Closed

fix(deps): relax setuptools pin to 81.0.0 for torch compat#44869
Code-suphub wants to merge 1 commit into
NousResearch:mainfrom
Code-suphub:fix/44692-setuptools-torch-compat

Conversation

@Code-suphub

@Code-suphub Code-suphub commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Summary

The dev extra exact-pins setuptools==82.0.1, but torch >= 2.11 declares Requires-Dist: setuptools<82. Any environment resolving dev together with torch is unsatisfiable.

Fixes #44692

Fix

Relax the pin from setuptools==82.0.1 to setuptools==81.0.0 — the latest release below torch's <82 cap, and still inside the build-system support window (setuptools>=77.0,<83 declared in [build-system]).

Verification

uv pip install --dry-run ".[dev]" "torch==2.12.0"  # should resolve successfully

Type of Change

  • 🐛 Bug fix (non-breaking change that fixes an issue)

Checklist

Code

Documentation

  • I have updated relevant documentation or marked as N/A
  • I have updated cli-config.yaml.example if I added/changed config keys or marked as N/A

…rch#44692)

torch >= 2.11 declares Requires-Dist: setuptools<82, making the dev
extra's exact pin of setuptools==82.0.1 unsatisfiable when both are
resolved together. Downgrade to 81.0.0 — the latest release below
torch's cap and still inside the build-system window (>=77.0,<83).

Fixes NousResearch#44692
@Code-suphub
Code-suphub requested a review from a team June 12, 2026 11:38
@Code-suphub
Code-suphub force-pushed the fix/44692-setuptools-torch-compat branch from 794cd60 to c095440 Compare June 12, 2026 11:42

@tonydwb tonydwb left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simple dependency pin relaxation. Drops setuptools from 82.0.1 to 81.0.0 for torch compatibility. No risk. No issues found.

@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists area/config Config system, migrations, profiles dependencies Pull requests that update a dependency file duplicate This issue or pull request already exists labels Jun 12, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Duplicate of #44693 (earliest open) — same relax of the dev extra setuptools pin 82.0.1 -> 81.0.0 for torch<82 compatibility. #44764 is also a duplicate of #44693. All fix #44692.

@austinpickett

Copy link
Copy Markdown
Collaborator

For the record: this fix landed on main via #46744 (commit 0bbff1f) using #44693's complete version (which also regenerated uv.lock). Thanks for flagging the torch/setuptools<82 incompatibility @Code-suphub — the relaxed setuptools==81.0.0 pin is now on main. 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/config Config system, migrations, profiles dependencies Pull requests that update a dependency file duplicate This issue or pull request already exists P2 Medium — degraded but workaround exists type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: dev extra's setuptools==82.0.1 pin is unsatisfiable alongside torch (setuptools<82 cap)

4 participants