python3-django: upgrade 4.2.16 -> 4.2.17

Fixes CVE-2024-53907 and CVE-2024-53908

Release Notes:
https://docs.djangoproject.com/en/dev/releases/4.2.17/

Switch to python_setuptools_build_meta

Fix:
WARNING: python3-django-4.2.17-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Soumya Sambu
2025-01-07 15:17:19 +00:00
committed by Khem Raj
parent 63d7291501
commit 913a6d22e1

View File

@@ -1,7 +1,7 @@
require python3-django.inc
inherit setuptools3
inherit python_setuptools_build_meta
SRC_URI[sha256sum] = "6f1616c2786c408ce86ab7e10f792b8f15742f7b7b7460243929cb371e7f1dad"
SRC_URI[sha256sum] = "6b56d834cc94c8b21a8f4e775064896be3b4a4ca387f2612d4406a5927cd2fdc"
RDEPENDS:${PN} += "\
python3-sqlparse \
@@ -10,5 +10,5 @@ RDEPENDS:${PN} += "\
# 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.16" can be added to local.conf
# PREFERRED_VERSION_python3-django = "4.2.17" can be added to local.conf
DEFAULT_PREFERENCE = "-1"