From 45959c8c0aff56f77c089172249719fd0edd437d Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 3 Sep 2025 22:50:08 +0200 Subject: [PATCH] python3Packages.django_5_2: 5.2.5 -> 5.2.6 https://docs.djangoproject.com/en/5.2/releases/5.2.6/ https://www.djangoproject.com/weblog/2025/sep/03/security-releases/ Fixes: CVE-2025-57833 --- pkgs/development/python-modules/django/5_2.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/django/5_2.nix b/pkgs/development/python-modules/django/5_2.nix index c1db9106da63..15d5be84173d 100644 --- a/pkgs/development/python-modules/django/5_2.nix +++ b/pkgs/development/python-modules/django/5_2.nix @@ -43,7 +43,7 @@ buildPythonPackage rec { pname = "django"; - version = "5.2.5"; + version = "5.2.6"; pyproject = true; disabled = pythonOlder "3.10"; @@ -52,7 +52,7 @@ buildPythonPackage rec { owner = "django"; repo = "django"; rev = "refs/tags/${version}"; - hash = "sha256-1Lw0L+mPynf9CmioiTQhePgqCLniUkv9E0ZIoHhhBTs="; + hash = "sha256-Bzm4FTzYeXEEFenkT2gN1IzYnUIo7tlD2GI/sX2THkw="; }; patches = [ @@ -64,11 +64,6 @@ buildPythonPackage rec { # disable test that expects timezone issues ./django_5_disable_failing_tests.patch ] - ++ lib.optionals (pythonAtLeast "3.13") [ - # https://code.djangoproject.com/ticket/36499 - # https://github.com/django/django/pull/19639 - ./3.13.6-html-parser.patch - ] ++ lib.optionals withGdal [ (replaceVars ./django_5_set_geos_gdal_lib.patch { geos = geos;