cpython: fix gh-142214 on 3.14.1

Fixes two regressions in dataclasses.
This commit is contained in:
Martin Weinelt
2025-12-05 16:24:33 +01:00
parent ae4f7fd1e9
commit 27dcfd3e04
2 changed files with 118 additions and 0 deletions
@@ -403,6 +403,10 @@ stdenv.mkDerivation (finalAttrs: {
# https://github.com/python/cpython/issues/142218
./${lib.versions.majorMinor version}/gh-142218.patch
]
++ optionals (version == "3.14.1") [
# https://github.com/python/cpython/issues/142214
./3.14/gh-142214.patch
]
++ optionals (stdenv.hostPlatform.isMinGW) (
let
# https://src.fedoraproject.org/rpms/mingw-python3