From e3b929e3c915000cd58e46030d811d3e748e85e2 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 24 Dec 2024 17:26:44 +0800 Subject: 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 --- .../python/python3-pytest-benchmark_4.0.0.bb | 12 ------------ .../python/python3-pytest-benchmark_5.1.0.bb | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pytest-benchmark_4.0.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-pytest-benchmark_5.1.0.bb diff --git a/meta-python/recipes-devtools/python/python3-pytest-benchmark_4.0.0.bb b/meta-python/recipes-devtools/python/python3-pytest-benchmark_4.0.0.bb deleted file mode 100644 index 98ba6c3822..0000000000 --- a/meta-python/recipes-devtools/python/python3-pytest-benchmark_4.0.0.bb +++ /dev/null @@ -1,12 +0,0 @@ -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" - -SRC_URI[sha256sum] = "fb0785b83efe599a6a956361c0691ae1dbb5318018561af10f3e915caa0048d1" - -inherit pypi setuptools3 - -RDEPENDS:${PN} += "python3-core python3-py-cpuinfo python3-pytest python3-aspectlib" - -BBCLASSEXTEND = "native nativesdk" 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.1.0.bb new file mode 100644 index 0000000000..ae4b12c210 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pytest-benchmark_5.1.0.bb @@ -0,0 +1,12 @@ +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" + +SRC_URI[sha256sum] = "9ea661cdc292e8231f7cd4c10b0319e56a2118e2c09d9f50e1b3d150d2aca105" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += "python3-core python3-py-cpuinfo python3-pytest python3-aspectlib" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf