Skip to content

python3Packages.exceptiongroup: update repr patch after 3.14 backport#508410

Closed
thunze wants to merge 1 commit into
NixOS:stagingfrom
thunze:exceptiongroup-fix-repr-patch
Closed

python3Packages.exceptiongroup: update repr patch after 3.14 backport#508410
thunze wants to merge 1 commit into
NixOS:stagingfrom
thunze:exceptiongroup-fix-repr-patch

Conversation

@thunze
Copy link
Copy Markdown
Member

@thunze thunze commented Apr 9, 2026

Note

Waiting for the CPython updates in #508075

python/cpython#141736 was finally backported to CPython 3.14 in python/cpython#144445, which landed in CPython 3.14.4, causing our build of python314Packages.exceptiongroup to fail.

In the meantime, exceptiongroup fixed BaseExceptionGroup.__repr__ on their end to match CPython behavior (agronholm/exceptiongroup#155), so we can use that patch instead.

For more context, see #487915.

Things done

[1] was finally backported to CPython 3.14 in [2], which landed in
CPython 3.14.4, causing the build of `python314Packages.exceptiongroup`
to fail.

In the meantime, exceptiongroup fixed `BaseExceptionGroup.__repr__` on
their end to match CPython behavior [3], so we can use that patch
instead.

[1] python/cpython#141736
[2] python/cpython#144445
[3] agronholm/exceptiongroup#155
@nixpkgs-ci nixpkgs-ci Bot added 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: 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 9, 2026
@mweinelt
Copy link
Copy Markdown
Member

mweinelt commented Apr 9, 2026

Included in #508075

@mweinelt mweinelt closed this Apr 9, 2026
@thunze thunze deleted the exceptiongroup-fix-repr-patch branch April 9, 2026 23:26
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. 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-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.

2 participants