From e4030204a3439fead5d1a87d6264442645ec3fc1 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 4 Nov 2026 16:58:15 -0800 Subject: [PATCH] python3-pytest-benchmark: Upgrade 5.1.0 -> 5.3.1 The project dropped setup.py, switch to python_setuptools_build_meta. The sdist is now named pytest_benchmark, which is the pypi class default, so drop PYPI_PACKAGE_SDIST. License checksum change is due to the copyright year update. 5.1.0 broke every test with pytest 9.2 and Python 3.14: AttributeError: 'Function' object has no attribute '_nodeid' PendingDeprecationWarning: FileType is deprecated. which made ptests fail in python3-pint, python3-fastjsonschema, python3-portion, python3-tblib, python3-construct and python3-pydantic-core. These now all pass on qemux86-64. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...nchmark_5.1.0.bb => python3-pytest-benchmark_5.3.1.bb} | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) rename meta-python/recipes-devtools/python/{python3-pytest-benchmark_5.1.0.bb => python3-pytest-benchmark_5.3.1.bb} (69%) diff --git a/meta-python/recipes-devtools/python/python3-pytest-benchmark_5.1.0.bb b/meta-python/recipes-devtools/python/python3-pytest-benchmark_5.3.1.bb similarity index 69% rename from meta-python/recipes-devtools/python/python3-pytest-benchmark_5.1.0.bb rename to meta-python/recipes-devtools/python/python3-pytest-benchmark_5.3.1.bb index 0aa2c24d30..f202424087 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-benchmark_5.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-benchmark_5.3.1.bb @@ -1,13 +1,11 @@ SUMMARY = "A ``pytest`` fixture for benchmarking code. It will group the tests into rounds that are calibrated to the chosen timer." HOMEPAGE = "https://github.com/ionelmc/pytest-benchmark" LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=d606e94f56c21c8e0cdde0b622dcdf57" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1d907de309286ace60c424a81666867d" -SRC_URI[sha256sum] = "9ea661cdc292e8231f7cd4c10b0319e56a2118e2c09d9f50e1b3d150d2aca105" +SRC_URI[sha256sum] = "c1ee70a58f9bfb1ac955cc634247a340b0df7bcb949071cfca396f16c6fc3516" -inherit pypi setuptools3 - -PYPI_PACKAGE_SDIST = "pytest-benchmark" +inherit pypi python_setuptools_build_meta RDEPENDS:${PN} += "\ python3-aspectlib \