mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
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:
@@ -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}"
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user