From e3456013d015124238a1b444bdb2dc84661b26d1 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Wed, 7 May 2025 23:03:32 +0200 Subject: [PATCH] python313Packages.django_5: 5.1.8 -> 5.1.9 Fixes CVE-2025-32873. https://www.djangoproject.com/weblog/2025/may/07/security-releases/ https://docs.djangoproject.com/en/dev/releases/5.1.9/ --- pkgs/development/python-modules/django/5.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/django/5.nix b/pkgs/development/python-modules/django/5.nix index 29513cee0ea7..e65c39cf0549 100644 --- a/pkgs/development/python-modules/django/5.nix +++ b/pkgs/development/python-modules/django/5.nix @@ -44,7 +44,7 @@ buildPythonPackage rec { pname = "django"; - version = "5.1.8"; + version = "5.1.9"; pyproject = true; disabled = pythonOlder "3.10"; @@ -53,7 +53,7 @@ buildPythonPackage rec { owner = "django"; repo = "django"; rev = "refs/tags/${version}"; - hash = "sha256-TZjqB9khEHnkkxYvAC/RzAvOIwdemh0uT4UVdosMq6M="; + hash = "sha256-uBP6MoVjPUtNu6KxLjaYmKTN42JIUCTJSuSnQWSxyQU="; }; patches = @@ -82,9 +82,6 @@ buildPythonPackage rec { ]; postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail "setuptools>=61.0.0,<69.3.0" setuptools - substituteInPlace tests/utils_tests/test_autoreload.py \ --replace-fail "/usr/bin/python" "${python.interpreter}" '';