cpython: fix gh-142218 on 3.13.10 and 3.14.1

Fixes split table dictionary crash regression.
This commit is contained in:
Martin Weinelt
2025-12-05 02:40:35 +01:00
parent a2ccc79edb
commit ae4f7fd1e9
3 changed files with 139 additions and 0 deletions
@@ -399,6 +399,10 @@ stdenv.mkDerivation (finalAttrs: {
# backport fix for https://github.com/python/cpython/issues/95855
./platform-triplet-detection.patch
]
++ optionals (version == "3.13.10" || version == "3.14.1") [
# https://github.com/python/cpython/issues/142218
./${lib.versions.majorMinor version}/gh-142218.patch
]
++ optionals (stdenv.hostPlatform.isMinGW) (
let
# https://src.fedoraproject.org/rpms/mingw-python3