python3Packages.django_5: 5.2.16 -> 5.2.17

https://docs.djangoproject.com/en/5.2/releases/5.2.17/
https://www.djangoproject.com/weblog/2026/aug/04/security-releases/

Fixes: CVE-2026-15307, CVE-2026-15337, CVE-2026-15830, CVE-2026-15920

(cherry picked from commit 6cce7828ff)
This commit is contained in:
Martin Weinelt
2026-08-04 18:41:08 +02:00
parent 20a5386e65
commit 2ac419509c

View File

@@ -41,14 +41,14 @@
buildPythonPackage rec {
pname = "django";
version = "5.2.16";
version = "5.2.17";
pyproject = true;
src = fetchFromGitHub {
owner = "django";
repo = "django";
tag = version;
hash = "sha256-DZa3OkqnrgXp1A/HerKYdUdanvi5jxHndo1DV4RVs0M=";
hash = "sha256-7it3opzsiN/hHhpipZz4ogmRKGz7E9/LmTF03/UYIB0=";
};
patches = [
@@ -69,6 +69,9 @@ buildPythonPackage rec {
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "setuptools>=83" "setuptools"
substituteInPlace tests/utils_tests/test_autoreload.py \
--replace-fail "/usr/bin/python" "${python.interpreter}"
'';