diff mbox series

[meta-python,1/1] python3-django: upgrade 4.2.16 -> 4.2.17

Message ID 20250107151719.2255959-1-soumya.sambu@windriver.com
State Accepted
Headers show
Series [meta-python,1/1] python3-django: upgrade 4.2.16 -> 4.2.17 | expand

Commit Message

ssambu Jan. 7, 2025, 3:17 p.m. UTC
From: Soumya Sambu <soumya.sambu@windriver.com>

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>
---
 .../{python3-django_4.2.16.bb => python3-django_4.2.17.bb}  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-django_4.2.16.bb => python3-django_4.2.17.bb} (56%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-django_4.2.16.bb b/meta-python/recipes-devtools/python/python3-django_4.2.17.bb
similarity index 56%
rename from meta-python/recipes-devtools/python/python3-django_4.2.16.bb
rename to meta-python/recipes-devtools/python/python3-django_4.2.17.bb
index 564e8741e5..4116eafcd1 100644
--- a/meta-python/recipes-devtools/python/python3-django_4.2.16.bb
+++ b/meta-python/recipes-devtools/python/python3-django_4.2.17.bb
@@ -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"