From patchwork Sun Nov 29 19:29:03 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 106304 Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.18380.1795980618392063939 for ; Sun, 29 Nov 2026 11:30:18 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=rr8Dk0Q/; spf=pass (domain: konsulko.com, ip: 209.85.215.177, mailfrom: tim.orling@konsulko.com) Received: by mail-pg1-f177.google.com with SMTP id 41be03b00d2f7-cddac941ed1so4304319a12.2 for ; Sun, 29 Nov 2026 11:30:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1795980618; x=1796585418; 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=NTLgxljuXV9dxJiuuaSckXKDs2GZVzLGkbBTeC8iS8U=; b=rr8Dk0Q/dvy0QGS1NY3itdZ7+amJTtOiKzilldjCrI/HRqc2FiKnOEUIyrj7twAPYg u6tRjNpinKnXc6Pmk4WldCSYlNbYXdKhJAj3bAyE9PJzmRlFyTRQAR4Za21Bg7zlngB1 CIMMaG92GZBgDtFEMI9RyygtNPd/oDjS0MCAs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795980618; x=1796585418; 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=NTLgxljuXV9dxJiuuaSckXKDs2GZVzLGkbBTeC8iS8U=; b=EQGEyvdIxTpzr8hKJmFos+D0yPA3h05mOCW8uW56Zx83y8JMY/dt6HyboqF/jy7R+m iVAH46BHA7d0B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xVoLENFnVBCAloz7n0 kq4W3neQzubyGGH7UMNLbwKG0DMywrr8ho/1FCnbURfRgAx9jxjqZ4H5H0rfHFkhfA3/yiGS9vZ om0peJMTtd3Mg= X-Received: by 2002:a17:90b:4a48:b0:3b3:cde6:d8d3 with SMTP id 98e67ed59e1d1-3b41c961793mr25603566a91.38.1795980617760; Sun, 29 Nov 2026 11:30:17 -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-3b50234fb25sm10277206a91.2.2026.11.29.11.30.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 11:30:17 -0800 (PST) From: Tim Orling To: openembedded-devel@lists.openembedded.org Cc: Tim Orling Subject: [meta-python][PATCH 20/26] python3-tomli-w: allow building with flit_core 4 Date: Sun, 29 Nov 2026 11:29:03 -0800 Message-ID: <20261129192919.14731-21-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:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133420 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 | 23 +++++++++++++++++++ .../python/python3-tomli-w_1.2.0.bb | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-tomli-w/0001-pyproject.toml-allow-building-with-flit_core-4.patch diff --git a/meta-python/recipes-devtools/python/python3-tomli-w/0001-pyproject.toml-allow-building-with-flit_core-4.patch b/meta-python/recipes-devtools/python/python3-tomli-w/0001-pyproject.toml-allow-building-with-flit_core-4.patch new file mode 100644 index 0000000000..31eaf6c6d2 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-tomli-w/0001-pyproject.toml-allow-building-with-flit_core-4.patch @@ -0,0 +1,23 @@ +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 edfdbf6..beb5355 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["flit_core>=3.2.0,<4"] ++requires = ["flit_core>=3.2.0,<5"] + build-backend = "flit_core.buildapi" + + [project] diff --git a/meta-python/recipes-devtools/python/python3-tomli-w_1.2.0.bb b/meta-python/recipes-devtools/python/python3-tomli-w_1.2.0.bb index ea364ae8f6..899fd7c35f 100644 --- a/meta-python/recipes-devtools/python/python3-tomli-w_1.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-tomli-w_1.2.0.bb @@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5" SRCREV = "a8f80172ba16fe694e37f6e07e6352ecee384c58" PYPI_SRC_URI = "git://github.com/hukkin/tomli-w.git;protocol=https;branch=master;destsuffix=${S}" +SRC_URI += "file://0001-pyproject.toml-allow-building-with-flit_core-4.patch" + inherit pypi python_flit_core ptest-python-pytest