Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Perale via buildroot <buildroot@buildroot.org>
To: buildroot@buildroot.org
Cc: "Manuel Diener" <manuel.diener@oss.othermo.de>,
	"Raphaël Mélotte" <raphael.melotte@mind.be>,
	"Thomas Perale" <thomas.perale@mind.be>,
	"James Hilliard" <james.hilliard1@gmail.com>,
	"Oli Vogt" <oli.vogt.pub01@gmail.com>,
	"Marcus Hoffmann" <bubu@bubu1.eu>
Subject: [Buildroot] [PATCH 2025.02.x 1/2] package/python-django: fix build with older setuptools
Date: Mon,  9 Nov 2026 17:19:48 +0100	[thread overview]
Message-ID: <20261109161949.714131-1-thomas.perale@mind.be> (raw)

Buildroot commit [1] bumped python-django package to its latest LTS
version. This included the following upstream commit [2] which bumped
the minimum setuptools version and broke the build on LTS.

[1] 8c1e897d56 package/python-django: security bump to v5.2.18
[2] https://github.com/django/django/commit/cd5ad8c81bf221868e3c33d90d6e021d067829b4

Fixes: https://autobuild.buildroot.org/results/4ee/4ee28d52c1ea8883b8c66c899322a0c6f5d3fe83
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
---
 ...ped-minimum-setuptools-version-to-83.patch | 28 +++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 package/python-django/0001-Revert-5.2.x-Bumped-minimum-setuptools-version-to-83.patch

diff --git a/package/python-django/0001-Revert-5.2.x-Bumped-minimum-setuptools-version-to-83.patch b/package/python-django/0001-Revert-5.2.x-Bumped-minimum-setuptools-version-to-83.patch
new file mode 100644
index 0000000000..e26b8d904c
--- /dev/null
+++ b/package/python-django/0001-Revert-5.2.x-Bumped-minimum-setuptools-version-to-83.patch
@@ -0,0 +1,28 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Thomas Perale <thomas.perale@mind.be>
+Date: Mon, 9 Nov 2026 12:00:00 +0100
+Subject: [PATCH] Revert "[5.2.x] Bumped minimum setuptools version to 83."
+
+This reverts upstream commit cd5ad8c81bf221868e3c33d90d6e021d067829b4.
+
+Buildroot provides an older setuptools version and no Django code depends
+setuptools 83 feature.
+
+See https://autobuild.buildroot.org/results/4ee/4ee28d52c1ea8883b8c66c899322a0c6f5d3fe83/build-end.log
+
+Upstream: N/A
+Signed-off-by: Thomas Perale <thomas.perale@mind.be>
+---
+ 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]
-- 
2.56.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

             reply	other threads:[~2026-11-09 16:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-09 16:19 Thomas Perale via buildroot [this message]
2026-11-09 16:19 ` [Buildroot] [PATCH 2025.02.x 2/2] package/python-django: security bump to version 5.2.19 Thomas Perale via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261109161949.714131-1-thomas.perale@mind.be \
    --to=buildroot@buildroot.org \
    --cc=bubu@bubu1.eu \
    --cc=james.hilliard1@gmail.com \
    --cc=manuel.diener@oss.othermo.de \
    --cc=oli.vogt.pub01@gmail.com \
    --cc=raphael.melotte@mind.be \
    --cc=thomas.perale@mind.be \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox