diff --git a/meta-python/recipes-devtools/python/python3-django/0001-Revert-Bumped-minimum-setuptools-version-to-83.patch b/meta-python/recipes-devtools/python/python3-django/0001-Revert-Bumped-minimum-setuptools-version-to-83.patch new file mode 100644 index 0000000000..5913287038 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-django/0001-Revert-Bumped-minimum-setuptools-version-to-83.patch @@ -0,0 +1,42 @@ +From 2c7d43e13909886bbb0b6b5dcd5e718c67818031 Mon Sep 17 00:00:00 2001 +From: Ankur Tyagi +Date: Mon, 14 Sep 2026 11:37:53 +1200 +Subject: [PATCH] Revert "Bumped minimum setuptools version to 83." + +This reverts commit 8362cdc7efc9c881fdba48ce19e89b9194de7c46. + +Upstream precautionarily bumped minimum setuptools version[1] +Revert the change to allow building new versions of Django. + +[1]https://github.com/django/django/pull/21691 + +Upstream-Status: Inappropriate [oe-specific] +--- + docs/intro/reusable-apps.txt | 2 +- + pyproject.toml | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/docs/intro/reusable-apps.txt b/docs/intro/reusable-apps.txt +index 41122dff9a..bb33dc0197 100644 +--- a/docs/intro/reusable-apps.txt ++++ b/docs/intro/reusable-apps.txt +@@ -211,7 +211,7 @@ this. For a small app like polls, this process isn't too difficult. + :caption: ``django-polls/pyproject.toml`` + + [build-system] +- requires = ["setuptools>83"] ++ requires = ["setuptools>=77.0.3"] + build-backend = "setuptools.build_meta" + + [project] +diff --git a/pyproject.toml b/pyproject.toml +index 1c5f5fbbe0..2b8ddbf314 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools>=83"] ++requires = ["setuptools>=77.0.3"] + build-backend = "setuptools.build_meta" + + [project] diff --git a/meta-python/recipes-devtools/python/python3-django_6.0.7.bb b/meta-python/recipes-devtools/python/python3-django_6.0.8.bb similarity index 62% rename from meta-python/recipes-devtools/python/python3-django_6.0.7.bb rename to meta-python/recipes-devtools/python/python3-django_6.0.8.bb index 4542485154..f8a5d6962c 100644 --- a/meta-python/recipes-devtools/python/python3-django_6.0.7.bb +++ b/meta-python/recipes-devtools/python/python3-django_6.0.8.bb @@ -1,7 +1,8 @@ require python3-django.inc inherit python_setuptools_build_meta -SRC_URI[sha256sum] = "2998503fc083124fb58037084bfa00de323c7c743f05f1b4284e77bff0ab8890" +SRC_URI[sha256sum] = "cb0bd962d27fc866f3c514b20aae6a7df56ec80b488f9899da46d675cd051526" +SRC_URI += "file://0001-Revert-Bumped-minimum-setuptools-version-to-83.patch" # Set DEFAULT_PREFERENCE so that the LTS version of django is built by # default. To build the 6.x branch,