From 09299c5b0cf4841e20ee8f8196a4122890e6530f Mon Sep 17 00:00:00 2001 From: Marcus Hoffmann Date: Wed, 14 May 2025 11:46:14 +0200 Subject: [PATCH] package/python-django: security bump to 5.1.9 Fixes CVE-2025-32873 [1]. Django also updates setuptools[2], so we can remove the --skip-dependency-check flag and need to update the package archive capitalization accordingly. [1] https://www.djangoproject.com/weblog/2025/may/07/security-releases/ [2] https://github.com/django/django/commit/bbf376bbc8cdfca817b54e7df99539633d10b06e Signed-off-by: Marcus Hoffmann Signed-off-by: Peter Korsgaard --- package/python-django/python-django.hash | 4 ++-- package/python-django/python-django.mk | 7 +++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/package/python-django/python-django.hash b/package/python-django/python-django.hash index 1e197004d0..57b9e9fb0e 100644 --- a/package/python-django/python-django.hash +++ b/package/python-django/python-django.hash @@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/django/json -md5 80247a8b48cdac55e5ad3fb682ab71a3 Django-5.1.8.tar.gz -sha256 42e92a1dd2810072bcc40a39a212b693f94406d0ba0749e68eb642f31dc770b4 Django-5.1.8.tar.gz +md5 da93c81fcaf2e0b4dab3cf44e7564c7c django-5.1.9.tar.gz +sha256 565881bdd0eb67da36442e9ac788bda90275386b549070d70aee86327781a4fc django-5.1.9.tar.gz # Locally computed sha256 checksums sha256 b846415d1b514e9c1dff14a22deb906d794bc546ca6129f950a18cd091e2a669 LICENSE diff --git a/package/python-django/python-django.mk b/package/python-django/python-django.mk index b64d8e4cd1..fd8a4eb9e8 100644 --- a/package/python-django/python-django.mk +++ b/package/python-django/python-django.mk @@ -4,15 +4,14 @@ # ################################################################################ -PYTHON_DJANGO_VERSION = 5.1.8 -PYTHON_DJANGO_SOURCE = Django-$(PYTHON_DJANGO_VERSION).tar.gz +PYTHON_DJANGO_VERSION = 5.1.9 +PYTHON_DJANGO_SOURCE = django-$(PYTHON_DJANGO_VERSION).tar.gz # The official Django site has an unpractical URL -PYTHON_DJANGO_SITE = https://files.pythonhosted.org/packages/00/40/45adc1b93435d1b418654a734b68351bb6ce0a0e5e37b2f0e9aeb1a2e233 +PYTHON_DJANGO_SITE = https://files.pythonhosted.org/packages/10/08/2e6f05494b3fc0a3c53736846034f882b82ee6351791a7815bbb45715d79 PYTHON_DJANGO_LICENSE = BSD-3-Clause PYTHON_DJANGO_LICENSE_FILES = LICENSE PYTHON_DJANGO_CPE_ID_VENDOR = djangoproject PYTHON_DJANGO_CPE_ID_PRODUCT = django PYTHON_DJANGO_SETUP_TYPE = setuptools -PYTHON_DJANGO_BUILD_OPTS = --skip-dependency-check $(eval $(python-package))