From 913a6d22e12ec3ca9527fd6d54c47f22832c8d91 Mon Sep 17 00:00:00 2001 From: Soumya Sambu Date: Tue, 7 Jan 2025 15:17:19 +0000 Subject: 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 Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-django_4.2.16.bb | 14 -------------- .../recipes-devtools/python/python3-django_4.2.17.bb | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-django_4.2.16.bb create mode 100644 meta-python/recipes-devtools/python/python3-django_4.2.17.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-django_4.2.16.bb b/meta-python/recipes-devtools/python/python3-django_4.2.16.bb deleted file mode 100644 index 564e8741e5..0000000000 --- a/meta-python/recipes-devtools/python/python3-django_4.2.16.bb +++ /dev/null @@ -1,14 +0,0 @@ -require python3-django.inc -inherit setuptools3 - -SRC_URI[sha256sum] = "6f1616c2786c408ce86ab7e10f792b8f15742f7b7b7460243929cb371e7f1dad" - -RDEPENDS:${PN} += "\ - python3-sqlparse \ - python3-asgiref \ -" - -# 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 -DEFAULT_PREFERENCE = "-1" diff --git a/meta-python/recipes-devtools/python/python3-django_4.2.17.bb b/meta-python/recipes-devtools/python/python3-django_4.2.17.bb new file mode 100644 index 0000000000..4116eafcd1 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-django_4.2.17.bb @@ -0,0 +1,14 @@ +require python3-django.inc +inherit python_setuptools_build_meta + +SRC_URI[sha256sum] = "6b56d834cc94c8b21a8f4e775064896be3b4a4ca387f2612d4406a5927cd2fdc" + +RDEPENDS:${PN} += "\ + python3-sqlparse \ + python3-asgiref \ +" + +# 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" -- cgit v1.2.3-54-g00ecf