Thanks to visit codestin.com
Credit goes to github.com

Skip to content

python3Packages.setuptools: 80.10.1 -> 82.0.1#512903

Closed
dwoffinden wants to merge 1 commit into
NixOS:stagingfrom
dwoffinden:setuptools
Closed

python3Packages.setuptools: 80.10.1 -> 82.0.1#512903
dwoffinden wants to merge 1 commit into
NixOS:stagingfrom
dwoffinden:setuptools

Conversation

@dwoffinden

Copy link
Copy Markdown
Member

Things done

I was trying to bump types-regex and ran into this error, bumping setuptools fixes it: python/typeshed#15517

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@nixpkgs-ci nixpkgs-ci Bot requested review from mweinelt and natsukium April 23, 2026 20:42
@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 6.topic: python Python is a high-level, general-purpose programming language. labels Apr 23, 2026
@dwoffinden

Copy link
Copy Markdown
Member Author
ERROR Missing dependencies:
        setuptools<81,>=78.1.1
building '/nix/store/x6h0jvz94kma3s8i8nb4330dgjxsclj0-python3.13-html5lib-1.1-unstable-2024-02-21.drv'...
error: Cannot build '/nix/store/0xwx7gbny9if54kxvx8cfd7jq1p9y7bl-python3.13-zope-event-6.1.drv'.

https://github.com/zopefoundation/zope.event/blob/25ceeef92d04b566979668928b57bc2559e0fd17/pyproject.toml#L5

@mweinelt

Copy link
Copy Markdown
Member

This is a very breaking update and we cannot just apply it without a lot of work.

https://github.com/pypa/setuptools/blob/main/NEWS.rst#v8200

@dwoffinden

Copy link
Copy Markdown
Member Author

This is a very breaking update and we cannot just apply it without a lot of work.

https://github.com/pypa/setuptools/blob/main/NEWS.rst#v8200

Yeah... I'm realising that now, e.g. html5lib/html5lib-python#593

As I said above, typing stubs can't be bumped now without setuptools 82 :/

@dwoffinden dwoffinden closed this Apr 23, 2026
@mweinelt

Copy link
Copy Markdown
Member

Right now we're in the pre-release period, so we couldn't apply this now anyhow.

After March 18th this becomes possible again, but as stated, requires much more work than just bumping it.

@dotlambda

Copy link
Copy Markdown
Member

As I said above, typing stubs can't be bumped now without setuptools 82 :/

You can unpin it using substituteInPlace in postPatch.

@dwoffinden

Copy link
Copy Markdown
Member Author

As I said above, typing stubs can't be bumped now without setuptools 82 :/

You can unpin it using substituteInPlace in postPatch.

The issue is more subtle than that. See python/typeshed#15517. I believe the gist is that the latest setuptools relaxes a validation, and after an update typeshed now requires this.

Maybe there's something we could patch from pypa/setuptools#5157, but I haven't checked yet.

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

Labels

6.topic: python Python is a high-level, general-purpose programming language. 8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants