From 6d3dcbce79a30772ec9ce48fdfede258513c313a Mon Sep 17 00:00:00 2001 From: Gyorgy Sarvari Date: Thu, 15 Jan 2026 09:29:10 +0100 Subject: python3-django: handle non-existing import from CVE patch This change is for python3-django_2.2.28. During backporting a patch for CVE-2024-56374, an import got into the patch for v2.2.28 that does not exist yet in that version. This patch handles this import with a fallback to prevent throwing and ImportError. Signed-off-by: Gyorgy Sarvari --- meta-python/recipes-devtools/python/python3-django_2.2.28.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta-python/recipes-devtools/python/python3-django_2.2.28.bb') diff --git a/meta-python/recipes-devtools/python/python3-django_2.2.28.bb b/meta-python/recipes-devtools/python/python3-django_2.2.28.bb index 3b5491cd5e..3dd64a5507 100644 --- a/meta-python/recipes-devtools/python/python3-django_2.2.28.bb +++ b/meta-python/recipes-devtools/python/python3-django_2.2.28.bb @@ -36,7 +36,8 @@ SRC_URI += "file://CVE-2023-31047.patch \ file://Fix-missing-JSONField-in-django.db.mo.patch \ file://0001-Fixed-35172-Fixed-intcomma-for-string-floats.patch \ file://0001-implement-group-method-for-FakeMatch.patch \ - " + file://0001-fix-ipv6-test.patch \ + " SRC_URI[sha256sum] = "0200b657afbf1bc08003845ddda053c7641b9b24951e52acd51f6abda33a7413" -- cgit v1.2.3-54-g00ecf