From patchwork Sun Nov 29 19:29:06 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 106307 Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.18130.1795980626415816675 for ; Sun, 29 Nov 2026 11:30:26 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=LZm//mA0; spf=pass (domain: konsulko.com, ip: 209.85.215.175, mailfrom: tim.orling@konsulko.com) Received: by mail-pg1-f175.google.com with SMTP id 41be03b00d2f7-cc758830601so7001339a12.2 for ; Sun, 29 Nov 2026 11:30:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1795980626; x=1796585426; 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=iWusoQZVBS5RePwjU1vPGmY2NQnehHDd4jcMCNFiFlQ=; b=LZm//mA0SyIvQfuQGBuRWCCkK/Yel17UNIhb7JK8rd/Uo5A7RBum4sNbvBukNQB26E NPJDb2lwTjYiDDxgk2ecMlNXWeIl9rh6DGZSq0X0Dn84ICaWqRHqO9WxNxxe9poRo7oH SsRYCpwgUF3I8LEuKP7ZPKP4ZwNGjFGZpWyPM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795980626; x=1796585426; 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=iWusoQZVBS5RePwjU1vPGmY2NQnehHDd4jcMCNFiFlQ=; b=AAzvUOVoT+9GofgNz0Rj+ZZwKyzz+Rly0EO0BVlPiqfLVhuuR11f4aqNmThqA+nWe5 YI40uPhRDdcl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wgqkYKX02tx1PhOghSX05woibjrN270k HPwpGXu0JmwxrBNGASPv+MKj5hAfRm6IU9MXY7WdGLOYt7PeZsRITt/9JQjKHso5+oQ== X-Received: by 2002:a17:90b:3810:b0:3b0:9a13:c5d5 with SMTP id 98e67ed59e1d1-3b41c8fed56mr33591093a91.16.1795980625766; Sun, 29 Nov 2026 11:30:25 -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 98e67ed59e1d1-3b5639e13f7sm6221453a91.12.2026.11.29.11.30.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 11:30:25 -0800 (PST) From: Tim Orling To: openembedded-devel@lists.openembedded.org Cc: Tim Orling Subject: [meta-python][PATCH 23/26] tomcli: allow building with flit_core 4 Date: Sun, 29 Nov 2026 11:29:06 -0800 Message-ID: <20261129192919.14731-24-tim.orling@konsulko.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261129192919.14731-1-tim.orling@konsulko.com> References: <20261129192919.14731-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:30:33 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133423 Relax the flit_core <4 build requirement to <5. The project already uses the [project] table, so nothing flit_core 4 removed affects it. There is no upstream change yet. 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 | 25 +++++++++++++++++++ .../recipes-devtools/python/tomcli_0.10.1.bb | 1 + 2 files changed, 26 insertions(+) create mode 100644 meta-python/recipes-devtools/python/tomcli/0001-pyproject.toml-allow-building-with-flit_core-4.patch diff --git a/meta-python/recipes-devtools/python/tomcli/0001-pyproject.toml-allow-building-with-flit_core-4.patch b/meta-python/recipes-devtools/python/tomcli/0001-pyproject.toml-allow-building-with-flit_core-4.patch new file mode 100644 index 0000000000..7e8d44f2e0 --- /dev/null +++ b/meta-python/recipes-devtools/python/tomcli/0001-pyproject.toml-allow-building-with-flit_core-4.patch @@ -0,0 +1,25 @@ +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 + +Upstream-Status: Pending +AI-Generated: Uses Claude Code (Claude Opus 5.5) +Signed-off-by: Tim Orling +--- +diff --git a/pyproject.toml b/pyproject.toml +index de3b917..f16d4af 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -2,7 +2,7 @@ + # SPDX-License-Identifier: MIT + + [build-system] +-requires = ["flit_core >=3.2,<4"] ++requires = ["flit_core >=3.2,<5"] + build-backend = "flit_core.buildapi" + + [project] diff --git a/meta-python/recipes-devtools/python/tomcli_0.10.1.bb b/meta-python/recipes-devtools/python/tomcli_0.10.1.bb index d219f820dd..3111072e6a 100644 --- a/meta-python/recipes-devtools/python/tomcli_0.10.1.bb +++ b/meta-python/recipes-devtools/python/tomcli_0.10.1.bb @@ -3,6 +3,7 @@ HOMEPAGE = "https://tomcli.gtmx.me" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=3c5eb6b1eb58832012789763a45d051f" +SRC_URI += "file://0001-pyproject.toml-allow-building-with-flit_core-4.patch" SRC_URI[sha256sum] = "0a27c685620b10a0f389b1d55dc66ea904054b178176d41440de55d296e1109d" inherit pypi python_flit_core ptest-python-pytest