From e3b929e3c915000cd58e46030d811d3e748e85e2 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 24 Dec 2024 17:26:44 +0800 Subject: [PATCH] python3-pytest-benchmark: upgrade 4.0.0 -> 5.1.0 License-Update: Copyright year updated to 2023. Changelog: ========== - Fixed broken hooks handling on pytest 8.1 or later - Fixed bad fixture check that broke down then nbmake was enabled. - Dropped support for now EOL Python 3.8. Also moved tests suite to only test the latest pytest versions (8.3.x). - Fix generate parametrize tests benchmark csv report errors - Added the --benchmark-time-unit cli option for overriding the measurement unit used for display. - Fixes spelling in some help texts. - Added new cprofile options: --benchmark-cprofile-loops=LOOPS - previously profiling only ran the function once, this allow customization. --benchmark-cprofile-top=COUNT - allows showing more rows. --benchmark-cprofile-dump=[FILENAME-PREFIX] - allows saving to a file (that you can load in snakeviz, RunSnakeRun or other tools). - Removed hidden dependency on py.path (replaced with pathlib). Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- ...t-benchmark_4.0.0.bb => python3-pytest-benchmark_5.1.0.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-python/recipes-devtools/python/{python3-pytest-benchmark_4.0.0.bb => python3-pytest-benchmark_5.1.0.bb} (69%) diff --git a/meta-python/recipes-devtools/python/python3-pytest-benchmark_4.0.0.bb b/meta-python/recipes-devtools/python/python3-pytest-benchmark_5.1.0.bb similarity index 69% rename from meta-python/recipes-devtools/python/python3-pytest-benchmark_4.0.0.bb rename to meta-python/recipes-devtools/python/python3-pytest-benchmark_5.1.0.bb index 98ba6c3822..ae4b12c210 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-benchmark_4.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-benchmark_5.1.0.bb @@ -1,9 +1,9 @@ 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=c7d2e9d24c2b5bad57ca894da972e22e" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d606e94f56c21c8e0cdde0b622dcdf57" -SRC_URI[sha256sum] = "fb0785b83efe599a6a956361c0691ae1dbb5318018561af10f3e915caa0048d1" +SRC_URI[sha256sum] = "9ea661cdc292e8231f7cd4c10b0319e56a2118e2c09d9f50e1b3d150d2aca105" inherit pypi setuptools3