python3-django: upgrade 4.2.17 -> 4.2.26

Fixes CVE-2025-64459, CVE-2025-64458, CVE-2025-59682, CVE-2025-59681,
CVE-2025-57833, CVE-2025-48432, CVE-2025-32873, CVE-2025-26699, CVE-2024-56374
and other bug fixes.

Release notes:
https://docs.djangoproject.com/en/dev/releases/4.2.18/
https://docs.djangoproject.com/en/dev/releases/4.2.19/
https://docs.djangoproject.com/en/dev/releases/4.2.20/
https://docs.djangoproject.com/en/dev/releases/4.2.21/
https://docs.djangoproject.com/en/dev/releases/4.2.22/
https://docs.djangoproject.com/en/dev/releases/4.2.23/
https://docs.djangoproject.com/en/dev/releases/4.2.24/
https://docs.djangoproject.com/en/dev/releases/4.2.25/
https://docs.djangoproject.com/en/dev/releases/4.2.26/

Signed-off-by: Saravanan <saravanan.kadambathursubramaniyam@windriver.com>
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
This commit is contained in:
Saravanan 2025-11-30 16:51:25 +05:30 committed by Gyorgy Sarvari
parent 252b82edd5
commit d4a5c4cf6c
3 changed files with 22 additions and 14 deletions

View File

@ -3,7 +3,11 @@ HOMEPAGE = "http://www.djangoproject.com/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa"
PYPI_PACKAGE = "Django"
# From 4.2.21 onwards package name changed to "django". This common include file
# is used across 2.x, 3.x and 4.x variants hence making this as a weak variable
# which can be overwritten in 4.x recipe
PYPI_PACKAGE ?= "Django"
inherit pypi
UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/"

View File

@ -1,13 +0,0 @@
require python-django.inc
inherit setuptools3
SRC_URI[sha256sum] = "6b56d834cc94c8b21a8f4e775064896be3b4a4ca387f2612d4406a5927cd2fdc"
RDEPENDS:${PN} += "\
${PYTHON_PN}-sqlparse \
"
# Set DEFAULT_PREFERENCE so that the LTS version of django is built by
# default. To build the 4.x branch,
# PREFERRED_VERSION_python3-django = "4.2.17" can be added to local.conf
DEFAULT_PREFERENCE = "-1"

View File

@ -0,0 +1,17 @@
require python-django.inc
#From 4.2.22 onwards setuptools configuration migrated to pyproject.toml
inherit pypi python_setuptools_build_meta
SRC_URI[sha256sum] = "9398e487bcb55e3f142cb56d19fbd9a83e15bb03a97edc31f408361ee76d9d7a"
RDEPENDS:${PN} += "\
${PYTHON_PN}-sqlparse \
"
# PYPI package name changed from Django -> django
PYPI_PACKAGE = "django"
# Set DEFAULT_PREFERENCE so that the LTS version of django is built by
# default. To build the 4.x branch,
# PREFERRED_VERSION_python3-django = "4.2.26" can be added to local.conf
DEFAULT_PREFERENCE = "-1"