package/python-django: fix build with older setuptools
PATCH 1/1 package/python-django: fix build with older setuptools
Buildroot bumped python-django to 6.0.10 [1]. This version includes the following upstream commit [2] which bumped the minimum setuptools version to 83 and broke the build on 2026.08.x maintenance branch, which still provides setuptools 80.9.0:
ERROR Missing dependencies:
setuptools>=83
The upstream bump was a precautionary response [3] to CVE-2026-59890, which does not affect django.
[1] 395f2aa263 package/python-django: security bump to v6.0.10
[2] https://github.com/django/django/commit/ff44d788e16ecc5971a1cfbff9cd7bee54390e50
[3] https://github.com/django/django/pull/21691
Signed-off-by Marcus Hoffmann <[email protected]>
--- ...ped-minimum-setuptools-version-to-83.patch | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 package/python-django/0001-Revert-6.0.x-Bumped-minimum-setuptools-version-to-83.patch
package/python-django/0001-Revert-6.0.x-Bumped-minimum-setuptools-version-to-83.patch new file +30 -0
@@ -0,0 +1,30 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Thomas Perale <[email protected]> +Date: Mon, 9 Nov 2026 12:00:00 +0100 +Subject: [PATCH] Revert "[6.0.x] Bumped minimum setuptools version to 83." + +This reverts upstream commit ff44d788e16ecc5971a1cfbff9cd7bee54390e50. + +Buildroot provides an older setuptools version and no Django code depends +setuptools 83 feature. + +See https://autobuild.buildroot.org/results/151/151b4da72e5d11dae3953043383d7e0a95a6538f/build-end.log + +Upstream: N/A +Signed-off-by: Thomas Perale <[email protected]> +[Marcus: target django 6.0.x] +Signed-off-by: Marcus Hoffmann <[email protected]> +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +--- 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]
Signature · 6 lines
2.56.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot