diff --git a/pkgs/development/interpreters/python/cpython/default.nix b/pkgs/development/interpreters/python/cpython/default.nix index 5c5fd1ba8711..55ffdafc4c61 100644 --- a/pkgs/development/interpreters/python/cpython/default.nix +++ b/pkgs/development/interpreters/python/cpython/default.nix @@ -327,10 +327,6 @@ stdenv.mkDerivation (finalAttrs: { # libuuid, slowing down program startup a lot). noldconfigPatch ] - ++ optionals (pythonAtLeast "3.11" && pythonOlder "3.12") [ - # https://www.cve.org/CVERecord?id=CVE-2025-0938 - ./CVE-2025-0938.patch - ] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform && stdenv.hostPlatform.isFreeBSD) [ # Cross compilation only supports a limited number of "known good" # configurations. If you're reading this and it's been a long time @@ -383,12 +379,6 @@ stdenv.mkDerivation (finalAttrs: { # fix failing tests with openssl >= 3.4 # https://github.com/python/cpython/pull/127361 ] - ++ optionals (pythonAtLeast "3.11" && pythonOlder "3.12") [ - (fetchpatch { - url = "https://github.com/python/cpython/commit/f4b31edf2d9d72878dab1f66a36913b5bcc848ec.patch"; - sha256 = "sha256-w7zZMp0yqyi4h5oG8sK4z9BwNEkqg4Ar+en3nlWcxh0="; - }) - ] ++ optionals (pythonAtLeast "3.11" && pythonOlder "3.13") [ # backport fix for https://github.com/python/cpython/issues/95855 ./platform-triplet-detection.patch diff --git a/pkgs/development/interpreters/python/default.nix b/pkgs/development/interpreters/python/default.nix index e9a124d481a4..4ffc7a9c9362 100644 --- a/pkgs/development/interpreters/python/default.nix +++ b/pkgs/development/interpreters/python/default.nix @@ -73,10 +73,10 @@ sourceVersion = { major = "3"; minor = "11"; - patch = "11"; + patch = "12"; suffix = ""; }; - hash = "sha256-Kpkgx6DNI23jNkTtmAoTy7whBYv9xSj+u2CBV17XO+M="; + hash = "sha256-hJ2oevTfE3cQwXluJ2qVX3qFyflxCBBnyPVl0Vw1Kgk="; inherit passthruFun; };