From patchwork Sun Nov 29 19:28:59 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 106300 Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.18125.1795980609496893031 for ; Sun, 29 Nov 2026 11:30:09 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=GIDJxVXM; spf=pass (domain: konsulko.com, ip: 209.85.215.182, mailfrom: tim.orling@konsulko.com) Received: by mail-pg1-f182.google.com with SMTP id 41be03b00d2f7-cdba1bbde0bso3713291a12.2 for ; Sun, 29 Nov 2026 11:30:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1795980609; x=1796585409; 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=+xssiM04ihfQ784cX8nBuP31x19xGspLUOfMs7sll9Y=; b=GIDJxVXM3FwGXe76YwQywmk7HeRQCPNy4VptiZSc0py/EMETZgSD9dJXIqD55SmKSH OpKeeOpLCMp6ZFwzjHjWaCflyelnoMvsDhZQbsibvOZ6QEup6w4Vwx9TBpSh13i1tTal n1mQaHXagJoqWI+gD0a4aCFcoZoR6mzT5kl0g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795980609; x=1796585409; 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=+xssiM04ihfQ784cX8nBuP31x19xGspLUOfMs7sll9Y=; b=fxviqsEECzfYb6fLD+HPW+y2+yxevp6N0HVbV0oSNlbydWW50fu2q7Mmlrn1j9azOL OyjdSJHXZs4Zgpx53HxYDbtNjl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OZSqeKKun 6aqI4kQxLpaHkwfg0M8rYDbOUTXoJvPaScQL0pa+HZ19xOD2SrB1/ChneloTkAVv1YQ== X-Received: by 2002:a17:90b:2247:b0:3b1:83aa:5b53 with SMTP id 98e67ed59e1d1-3b41c98a1b0mr31704427a91.58.1795980608875; Sun, 29 Nov 2026 11:30:08 -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-3b53479b149sm14932854a91.6.2026.11.29.11.30.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 11:30:08 -0800 (PST) From: Tim Orling To: openembedded-devel@lists.openembedded.org Cc: Tim Orling Subject: [meta-python][PATCH 16/26] python3-pytest-freezer: allow building with flit_core 4 Date: Sun, 29 Nov 2026 11:28:59 -0800 Message-ID: <20261129192919.14731-17-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:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133416 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-pytest-freezer_0.4.9.bb | 1 + 2 files changed, 24 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pytest-freezer/0001-pyproject.toml-allow-building-with-flit_core-4.patch diff --git a/meta-python/recipes-devtools/python/python3-pytest-freezer/0001-pyproject.toml-allow-building-with-flit_core-4.patch b/meta-python/recipes-devtools/python/python3-pytest-freezer/0001-pyproject.toml-allow-building-with-flit_core-4.patch new file mode 100644 index 0000000000..b2ee0ba21b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pytest-freezer/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 3d8d92b..c64857a 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,5 +1,5 @@ + [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/python3-pytest-freezer_0.4.9.bb b/meta-python/recipes-devtools/python/python3-pytest-freezer_0.4.9.bb index c7bef48e62..9576a50608 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-freezer_0.4.9.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-freezer_0.4.9.bb @@ -3,6 +3,7 @@ HOMEPAGE = "https://github.com/pytest-dev/pytest-freezer" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=1661a0f2b9b83ed73b8e05b5683b10d0" +SRC_URI += "file://0001-pyproject.toml-allow-building-with-flit_core-4.patch" SRC_URI[sha256sum] = "21bf16bc9cc46bf98f94382c4b5c3c389be7056ff0be33029111ae11b3f1c82a" inherit pypi python_flit_core