cpython: 3.13.12 -> 3.13.13; 3.14.3 -> 3.14.4; 3.15.0a7 -> 3.15.0a8#508075
Merged
Conversation
thunze
approved these changes
Apr 9, 2026
Member
There was a problem hiding this comment.
- Diff LGTM
- Verified that all of
python31{3,4,5}build onx86_64-linux - Verified basic functionality of the REPLs of all of the above interpreters on
x86_64-linux
A screenshot of the new 3.15 fancycompleter:
tkinter is failing transitively due to a mypy test failing:
=================================== FAILURES ===================================
___________________ testAllBase64Features_librt_experimental ___________________
[gw9] linux -- Python 3.13.13 /nix/store/xdj4p7g382ynxgimglm09ghh0p5m9mn4-python3-3.13.13/bin/python3.13
data: /build/source/mypyc/test-data/run-base64.test:1:
Failed: Invalid output (/build/source/mypyc/test-data/run-base64.test, line 1)
----------------------------- Captured stdout call -----------------------------
*** Exit status: 1
----------------------------- Captured stderr call -----------------------------
Generated files: /build/source/.mypyc_test_output (for first failure only)
Expected:
Actual:
<< test_decode_with_extra_data_after_padding >> (diff)
Traceback (most recent call last): (diff)
File "driver.py", line 57, in <module> (diff)
raise failures[-1][1][1] (diff)
File "driver.py", line 28, in <module> (diff)
test_func() (diff)
~~~~~~~~~^^ (diff)
File "run-base64.test", line 139, in test_decode_with_extra_data_after_padding (diff)
check_decode(b"eA==x", encoded=True) (diff)
File "run-base64.test", line 63, in check_decode (diff)
assert b64decode(enc) == getattr(base64, "b64decode")(enc) (diff)
File "/nix/store/xdj4p7g382ynxgimglm09ghh0p5m9mn4-python3-3.13.13/lib/python3.13/base64.py", line 88, in b64decode (diff)
return binascii.a2b_base64(s, strict_mode=validate) (diff)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^ (diff)
binascii.Error: Incorrect padding (diff)
Update the test output using --update-data (implies -n0; you can additionally use the -k selector to update only specific tests)
------------------------------ Captured log call -------------------------------
[...]
=========================== short test summary info ============================
FAILED mypyc/test/test_run.py::TestRun::run-base64.test::testAllBase64Features_librt_experimental - data: /build/source/mypyc/test-data/run-base64.test:1:
===== 1 failed, 12820 passed, 362 skipped, 13 xfailed in 95.63s (0:01:35) ======
Looks like python/mypy#21120, upstream is skipping parts of this test for now. But nothing we couldn't fix on staging, as done in the past for similar failures (see e.g. #486806). I'll propose a fix later today when I have more time if this doesn't get picked up by then.
This was referenced Apr 9, 2026
Member
|
Prepared fixes for mypy and exceptiongroup: |
a1ccdd4 to
b470ee3
Compare
f4df0e9 to
05d3491
Compare
https://github.com/python/mypy/blob/v1.20.0/CHANGELOG.md#mypy-120 Co-Authored-By: Tom Hunze <dev@thunze.de>
[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
Member
Author
|
Darwin is blocked on libarchive, nothing I can do here. |
13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://docs.python.org/release/3.13.13/whatsnew/changelog.html
https://docs.python.org/release/3.14.4/whatsnew/changelog.html
https://docs.python.org/3.15/whatsnew/changelog.html#python-3-15-0-alpha-8
Fixes: CVE-2026-4224, CVE-2026-3644, CVE-2026-2297
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.