From patchwork Fri Dec 4 12:52:48 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 107305 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.7253.1796388773790035210 for ; Fri, 04 Dec 2026 04:52:53 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=IfLcRC4o; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 62FB5339 for ; Fri, 4 Dec 2026 04:52:50 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id CE1F73F86F for ; Fri, 4 Dec 2026 04:52:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1796388773; bh=w7rfETfYD2kpM/1bjAijFPrvMjoHrew8JvTpeGo0Qjk=; h=From:To:Subject:Date:From; b=IfLcRC4oLT9CK7euzD93VCGQ/TkMddFG7F1QBzQ3UMzschFYZYxxlklci8/UK7I5z EV3nbR7qlj46MzAVCfLv9TxT8AqhssKoEkWH/42kZECwTr/WQaJbMKMZFifJunmckI gjgUlr6fWI1wquMNGcVxH97IlcV4n7A+IOJluBR8= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH v2] python3-unittest-automake-output: upgrade 0.4 -> 0.5 Date: Fri, 4 Dec 2026 12:52:48 +0000 Message-ID: <20261204125248.3471588-1-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-ARM-No-Footer: NoDisclaimer 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 ; Fri, 04 Dec 2026 12:53:00 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251963 Upstream changelog: - pyproject.toml: raise flit-core dependency to <5 - tests: handle new dict comparison output in pytest 9.2.0 - pytest: use hookimpl(trylast=True) instead of mark.trylast - Rewrite the PyTest plugin Drop now-redundant patches. Signed-off-by: Ross Burton --- ...mpl-trylast-True-instead-of-mark.try.patch | 28 ------------------- ...toml-allow-building-with-flit_core-4.patch | 23 --------------- ...> python3-unittest-automake-output_0.5.bb} | 7 ++--- 3 files changed, 2 insertions(+), 56 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-unittest-automake-output/0001-pytest-use-hookimpl-trylast-True-instead-of-mark.try.patch delete mode 100644 meta/recipes-devtools/python/python3-unittest-automake-output/0002-pyproject.toml-allow-building-with-flit_core-4.patch rename meta/recipes-devtools/python/{python3-unittest-automake-output_0.4.bb => python3-unittest-automake-output_0.5.bb} (60%) diff --git a/meta/recipes-devtools/python/python3-unittest-automake-output/0001-pytest-use-hookimpl-trylast-True-instead-of-mark.try.patch b/meta/recipes-devtools/python/python3-unittest-automake-output/0001-pytest-use-hookimpl-trylast-True-instead-of-mark.try.patch deleted file mode 100644 index dd36dca601e..00000000000 --- a/meta/recipes-devtools/python/python3-unittest-automake-output/0001-pytest-use-hookimpl-trylast-True-instead-of-mark.try.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 801e5957e7050b370df60f82025efa2229f764ce Mon Sep 17 00:00:00 2001 -From: Jaipaul Cheernam -Date: Thu, 29 Oct 2026 09:33:37 +0000 -Subject: [PATCH 1/2] pytest: use hookimpl(trylast=True) instead of - mark.trylast - -pytest 9.2.0 deprecates mark.trylast and now fails to load the plugin. -Use the hookimpl decorator instead. - -Upstream-Status: Submitted [https://gitlab.com/rossburton/python-unittest-automake-output/-/merge_requests/20] -Signed-off-by: Jaipaul Cheernam ---- - src/putao/pytest.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/putao/pytest.py b/src/putao/pytest.py -index 13156c0..1e0f194 100644 ---- a/src/putao/pytest.py -+++ b/src/putao/pytest.py -@@ -17,7 +17,7 @@ def pytest_addoption(parser): - ) - - --@pytest.mark.trylast -+@pytest.hookimpl(trylast=True) - def pytest_configure(config): - """Set all the options before the test run.""" - # The help printing uses the terminalreporter, diff --git a/meta/recipes-devtools/python/python3-unittest-automake-output/0002-pyproject.toml-allow-building-with-flit_core-4.patch b/meta/recipes-devtools/python/python3-unittest-automake-output/0002-pyproject.toml-allow-building-with-flit_core-4.patch deleted file mode 100644 index 7afe1bb908b..00000000000 --- a/meta/recipes-devtools/python/python3-unittest-automake-output/0002-pyproject.toml-allow-building-with-flit_core-4.patch +++ /dev/null @@ -1,23 +0,0 @@ -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 a3eebf8..8454a66 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/recipes-devtools/python/python3-unittest-automake-output_0.4.bb b/meta/recipes-devtools/python/python3-unittest-automake-output_0.5.bb similarity index 60% rename from meta/recipes-devtools/python/python3-unittest-automake-output_0.4.bb rename to meta/recipes-devtools/python/python3-unittest-automake-output_0.5.bb index f16cda97c39..c75a758fd59 100644 --- a/meta/recipes-devtools/python/python3-unittest-automake-output_0.4.bb +++ b/meta/recipes-devtools/python/python3-unittest-automake-output_0.5.bb @@ -3,12 +3,9 @@ HOMEPAGE = "https://gitlab.com/rossburton/python-unittest-automake-output" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=f6f16008d9fb7349f06609329f1ab93b" -SRC_URI = "git://gitlab.com/rossburton/python-unittest-automake-output;protocol=https;branch=main;tag=${PV} \ - file://0001-pytest-use-hookimpl-trylast-True-instead-of-mark.try.patch \ - file://0002-pyproject.toml-allow-building-with-flit_core-4.patch \ - " +SRC_URI = "git://gitlab.com/rossburton/python-unittest-automake-output;protocol=https;branch=main;tag=${PV}" -SRCREV = "4d64324a8910ad28b3157f902c35f19fcb479bc0" +SRCREV = "b04271fdc536fb0fdc8000769123dbddbd9a76cf" inherit python_flit_core