From patchwork Sun Nov 29 19:21:04 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 106275 Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.18247.1795980084953158128 for ; Sun, 29 Nov 2026 11:21:25 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=t3a9h/vF; spf=pass (domain: konsulko.com, ip: 209.85.210.182, mailfrom: tim.orling@konsulko.com) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-8a594d313a3so6362358b3a.1 for ; Sun, 29 Nov 2026 11:21:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1795980084; x=1796584884; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Z0S9oqsmmQqiTG+3Y+rWlj+/6ttGf2CS2f6vBNNpDgM=; b=t3a9h/vFVy6f7EgwHyfCPbQVu6iaURke1O3oAd+5q4OqQDkimHkBlHyn+Szmn6YRCg FxhYPALEKtWpeSJ9xuMSuUnmc+1lbq6btbPGaOEbNUrSoKjb/0LypBxs6arfCN9MDZIt KeihpTva5jPDjuYa62lZonPFkH1o81xTS7+Zs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795980084; x=1796584884; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=Z0S9oqsmmQqiTG+3Y+rWlj+/6ttGf2CS2f6vBNNpDgM=; b=XdD7G7cVSgkiQtQo6RmxPzhRvVee03/atFcHY0jb5Xxy09C8z04DuikifvA6MetW3B FiwO8HEBXSONA6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PELuFRz8rkKHGfTRyLyGk4NcLGPLCjylO1 vL+qdkiqa0L2OxgAeeXZtGSARRvqbeiZ/2xMUBDoy7wiQOiiJU502ScKtQZOTFRmwbNg9V3qfX6 USiapYnljpc0USlQ== X-Received: by 2002:a05:6a00:1791:b0:8a0:7ba9:93a8 with SMTP id d2e1a72fcca58-8c87c387ee3mr28776487b3a.23.1795980084285; Sun, 29 Nov 2026 11:21:24 -0800 (PST) Return-Path: Received: from localhost (c-24-20-171-118.hsd1.or.comcast.net. [24.20.171.118]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c873b278f0sm16268048b3a.51.2026.11.29.11.21.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 11:21:23 -0800 (PST) From: Tim Orling To: openembedded-core@lists.openembedded.org Cc: Tim Orling Subject: [PATCH 01/11] python3-click: allow building with flit_core 4 Date: Sun, 29 Nov 2026 11:21:04 -0800 Message-ID: <20261129192114.12997-2-tim.orling@konsulko.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261129192114.12997-1-tim.orling@konsulko.com> References: <20261129192114.12997-1-tim.orling@konsulko.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Sun, 29 Nov 2026 19:21:30 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251536 Relax the flit_core <4 build requirement to <5. The project already uses the [project] table, so nothing flit_core 4 removed affects it. Upstream declined the same change, as for the other pallets projects. Tested by building with flit_core 3.12.0 and 4.2.0. AI-Generated: Uses Claude Code (Claude Opus 5.5) Signed-off-by: Tim Orling --- ...toml-allow-building-with-flit_core-4.patch | 29 +++++++++++++++++++ .../python/python3-click_8.5.1.bb | 1 + 2 files changed, 30 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-click/0001-pyproject.toml-allow-building-with-flit_core-4.patch diff --git a/meta/recipes-devtools/python/python3-click/0001-pyproject.toml-allow-building-with-flit_core-4.patch b/meta/recipes-devtools/python/python3-click/0001-pyproject.toml-allow-building-with-flit_core-4.patch new file mode 100644 index 0000000000..5b87c2bcef --- /dev/null +++ b/meta/recipes-devtools/python/python3-click/0001-pyproject.toml-allow-building-with-flit_core-4.patch @@ -0,0 +1,29 @@ +From: Tim Orling +Subject: [PATCH] pyproject.toml: allow building with flit_core 4 + +flit_core 4 only drops features this project does not use (the +[tool.flit.metadata] table, sdists from VCS and --setup-py), so +raise the upper bound to <5, as the flit 4.0 release notes suggest: +https://flit.pypa.io/en/stable/history.html#version-4-0 + +Not submitted to click: the Pallets maintainers declined this change +for Jinja (issue #2232 closed as not planned, PRs #2231 and #2233 +closed), and click pins flit_core <4 the same way. + +Upstream-Status: Denied [https://github.com/pallets/jinja/issues/2232] +AI-Generated: Uses Claude Code (Claude Opus 5.5) +Signed-off-by: Tim Orling +--- +diff --git a/pyproject.toml b/pyproject.toml +index b41d72a..0955bb2 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -60,7 +60,7 @@ typing = [ + ] + + [build-system] +-requires = ["flit_core>=3.11,<4"] ++requires = ["flit_core>=3.11,<5"] + build-backend = "flit_core.buildapi" + + [tool.flit.module] diff --git a/meta/recipes-devtools/python/python3-click_8.5.1.bb b/meta/recipes-devtools/python/python3-click_8.5.1.bb index 29cf0714d0..fa511450fd 100644 --- a/meta/recipes-devtools/python/python3-click_8.5.1.bb +++ b/meta/recipes-devtools/python/python3-click_8.5.1.bb @@ -8,6 +8,7 @@ HOMEPAGE = "http://click.pocoo.org/" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1fa98232fd645608937a0fdc82e999b8" +SRC_URI += "file://0001-pyproject.toml-allow-building-with-flit_core-4.patch" SRC_URI[sha256sum] = "9bbfada76703fd1d784b83eea012e3e8c6a001a876543ef104fa56aaaeb072b4" inherit pypi python_flit_core ptest-python-pytest