From patchwork Sun Nov 29 19:28:53 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 106294 Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.18368.1795980595262741761 for ; Sun, 29 Nov 2026 11:29:55 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=Tsv9cSah; spf=pass (domain: konsulko.com, ip: 209.85.214.180, mailfrom: tim.orling@konsulko.com) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-2f05bc71e01so40051765ad.0 for ; Sun, 29 Nov 2026 11:29:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1795980595; x=1796585395; 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=lQXSGQCt4HOyCfarFBCklPYpkOFbGcx8+osH1ShkcsY=; b=Tsv9cSahI7KK2tqevgQ49x1XxUeXEb2VzZY8ky3ATQDR7YieFcqo1vpKEA9CRjsVay zYB3s+/aIOehZQ8HK4E+ZQBMcJQcKjW5Weor++i7vtXNMUD0PZ9ghfLehaUBQqG4hohK 4Fw33jiR2vnFCDE7mGROJ2LGsNr3OmxbRfGsY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795980595; x=1796585395; 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=lQXSGQCt4HOyCfarFBCklPYpkOFbGcx8+osH1ShkcsY=; b=vISHnm5fwHh7BEtgZHCiEYqqVpHX+PpkYr1eD1uTmytgFWNyOViq9XZaoedJm1/sd9 8U6VgCT18G+C9TsI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ytLf0G9Xe7IVQ3w3UFY8XU mowGDnAKwyL1QaaK3eYrzcbYnnx1EVjoe4GbBWspwFHFecuflN06qDG7yZuYTpLJle1T9KEe8ro xmFwJamLsQaes= X-Received: by 2002:a17:903:41c2:b0:2ef:e348:505e with SMTP id d9443c01a7336-2f03f1ed345mr334864175ad.58.1795980594645; Sun, 29 Nov 2026 11:29:54 -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 d9443c01a7336-2f03f105b76sm154340475ad.50.2026.11.29.11.29.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 11:29:54 -0800 (PST) From: Tim Orling To: openembedded-devel@lists.openembedded.org Cc: Tim Orling Subject: [meta-python][PATCH 10/26] python3-flask: allow building with flit_core 4 Date: Sun, 29 Nov 2026 11:28:53 -0800 Message-ID: <20261129192919.14731-11-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:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133410 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 | 25 +++++++++++++++++++ .../python/python3-flask_3.1.3.bb | 1 + 2 files changed, 26 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-flask/0001-pyproject.toml-allow-building-with-flit_core-4.patch diff --git a/meta-python/recipes-devtools/python/python3-flask/0001-pyproject.toml-allow-building-with-flit_core-4.patch b/meta-python/recipes-devtools/python/python3-flask/0001-pyproject.toml-allow-building-with-flit_core-4.patch new file mode 100644 index 0000000000..2a1472696d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-flask/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: 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 697d207..35c805f 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -84,7 +84,7 @@ Chat = "https://discord.gg/pallets" + flask = "flask.cli:main" + + [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-python/recipes-devtools/python/python3-flask_3.1.3.bb b/meta-python/recipes-devtools/python/python3-flask_3.1.3.bb index 5b87d0d26a..5249647852 100644 --- a/meta-python/recipes-devtools/python/python3-flask_3.1.3.bb +++ b/meta-python/recipes-devtools/python/python3-flask_3.1.3.bb @@ -6,6 +6,7 @@ HOMEPAGE = "https://github.com/pallets/flask" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ffeffa59c90c9c4a033c7574f8f3fb75" +SRC_URI += "file://0001-pyproject.toml-allow-building-with-flit_core-4.patch" SRC_URI[sha256sum] = "0ef0e52b8a9cd932855379197dd8f94047b359ca0a78695144304cb45f87c9eb" CVE_PRODUCT = "palletsprojects:flask"