Skip to content

Bump tensorboard to 2.21.0, setuptools to 83.0.0 - #1658

Open
dxqb wants to merge 1 commit into
Nerogar:masterfrom
dxqb:fix-1307-tensorboard-squashed
Open

Bump tensorboard to 2.21.0, setuptools to 83.0.0#1658
dxqb wants to merge 1 commit into
Nerogar:masterfrom
dxqb:fix-1307-tensorboard-squashed

Conversation

@dxqb

@dxqb dxqb commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

Summary

tensorboard 2.21.0 no longer imports the pkg_resources API removed in setuptools 82, so the setuptools<82 constraint added in #1305 is no longer needed. setuptools stays pinned like everything else in requirements-global.txt, just moved to the current 83.0.0.

The pip/setuptools bootstrap in lib.include.sh and update.bat pinned setuptools to 81.0.0 to stay under that constraint; both are bumped to 83.0.0 so the bootstrap installs the intended version directly.

Fixes #1307.

probably waiting on #1244 to not cause any more unnecessary conflicts, or might even be obsolete after #1244?
@hameerabbasi

AI assistance

  • AI-assisted — I have read every line in this diff and can defend each change

tensorboard 2.21.0 no longer imports the pkg_resources API removed in
setuptools 82, so the `setuptools<82` constraint is no longer needed.
setuptools stays pinned like everything else in requirements-global.txt,
just moved to the current 83.0.0.

The bootstrap steps in lib.include.sh and update.bat pinned setuptools
to 81.0.0 to stay under that constraint; both are bumped to 83.0.0 so
the bootstrap installs the intended version directly.

Fixes Nerogar#1307.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dxqb dxqb added the waiting waiting for something / cannot fix currently label Jul 31, 2026
@hameerabbasi

hameerabbasi commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Yeah; I think the latest TensorBoard doesn't take setuptools as a dep, so we can remove it completely; and it will be obsolete after #1244 since the lockfile does the pinning for transitive deps; we should only pin top-level ones.

@hameerabbasi

Copy link
Copy Markdown
Contributor

See 03251e2.

@dxqb dxqb added waiting waiting for something / cannot fix currently and removed waiting waiting for something / cannot fix currently labels Aug 5, 2026
@dxqb

dxqb commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator Author

conflicts with torch:
❯ The conflict is caused by:
The user requested setuptools==83.0.0
torch 2.12.0+cu130 depends on setuptools<82
torch 2.12.0+cu130 depends on setuptools<82

cannot be merged before torch 2.13:

⎿  torch 2.12.0: ['setuptools<82']
torch 2.12.1: ['setuptools<82']
torch 2.13.0: ['setuptools>=77.0.3']

@hameerabbasi sorry, can you undo in pixi too, please

@hameerabbasi

hameerabbasi commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

conflicts with torch: ❯ The conflict is caused by: The user requested setuptools==83.0.0 torch 2.12.0+cu130 depends on setuptools<82 torch 2.12.0+cu130 depends on setuptools<82

cannot be merged before torch 2.13:

⎿ torch 2.12.0: ['setuptools<82'] torch 2.12.1: ['setuptools<82'] torch 2.13.0: ['setuptools>=77.0.3']

@hameerabbasi sorry, can you undo in pixi too, please

I just removed the dep completely -- and pixi auto-locked it to 81.x. It hard-errors early if there's a resolution failure. So there's no real need to undo.

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

Labels

waiting waiting for something / cannot fix currently

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Unspecify setuptools version once Tensorboard releases a fix.

2 participants