diff --git a/meta-python/recipes-devtools/python/python3-django/0001-pyproject-lower-setuptools-requirement.patch b/meta-python/recipes-devtools/python/python3-django/0001-pyproject-lower-setuptools-requirement.patch new file mode 100644 index 0000000000..fa4e087b6b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-django/0001-pyproject-lower-setuptools-requirement.patch @@ -0,0 +1,28 @@ +From 7a05df92b0820675803a5e8e73d20b9453538d68 Mon Sep 17 00:00:00 2001 +From: Darsh Kelaiya +Date: Fri, 21 Aug 2026 00:20:00 -0700 +Subject: [PATCH] pyproject.toml: lower setuptools requirement for Wrynose + +Django 5.2.17 requires setuptools >= 83, the first upstream release +containing the fix for [1]. Wrynose provides setuptools 82.0.1 +with upstream commit dd9f436 backported, so retain the previous build +requirement. + +[1] https://github.com/pypa/setuptools/security/advisories/GHSA-h35f-9h28-mq5c + +Upstream-Status: Inappropriate [Wrynose-specific toolchain compatibility] + +Signed-off-by: Darsh Kelaiya +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index b2327d6..e2d8244 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,3 +1,3 @@ + [build-system] +-requires = ["setuptools>=83"] ++requires = ["setuptools>=77.0.3"] + build-backend = "setuptools.build_meta" diff --git a/meta-python/recipes-devtools/python/python3-django_5.2.16.bb b/meta-python/recipes-devtools/python/python3-django_5.2.16.bb deleted file mode 100644 index 2629ff3714..0000000000 --- a/meta-python/recipes-devtools/python/python3-django_5.2.16.bb +++ /dev/null @@ -1,5 +0,0 @@ -require python3-django.inc -inherit python_setuptools_build_meta - -SRC_URI += "file://0001-fix-test_msgfmt_error_including_non_ascii-test.patch" -SRC_URI[sha256sum] = "59ea02020c3136fce14bef0bbece21a10a4febef5eed1c51c22ae468efa22200" diff --git a/meta-python/recipes-devtools/python/python3-django_5.2.17.bb b/meta-python/recipes-devtools/python/python3-django_5.2.17.bb new file mode 100644 index 0000000000..7f4ed2c92e --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-django_5.2.17.bb @@ -0,0 +1,6 @@ +require python3-django.inc +inherit python_setuptools_build_meta + +SRC_URI += "file://0001-fix-test_msgfmt_error_including_non_ascii-test.patch \ + file://0001-pyproject-lower-setuptools-requirement.patch" +SRC_URI[sha256sum] = "9d4d93be539a18ab80d058eb515900e10951e04c537c5a6b394fc49528d3251f"