diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2024-12-24 17:26:44 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-12-24 08:23:09 -0800 |
| commit | e3b929e3c915000cd58e46030d811d3e748e85e2 (patch) | |
| tree | 5c61f8131664c0133bd9c8fbaf2eab675efe0e23 /meta-python/recipes-devtools/python/python3-pytest-benchmark_5.1.0.bb | |
| parent | 9730d3145113a5b130fe25e61120d52bac9d2fde (diff) | |
| download | meta-openembedded-e3b929e3c915000cd58e46030d811d3e748e85e2.tar.gz | |
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 <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pytest-benchmark_5.1.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pytest-benchmark_5.1.0.bb | 12 |
1 files changed, 12 insertions, 0 deletions
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 @@ | |||
| 1 | SUMMARY = "A ``pytest`` fixture for benchmarking code. It will group the tests into rounds that are calibrated to the chosen timer." | ||
| 2 | HOMEPAGE = "https://github.com/ionelmc/pytest-benchmark" | ||
| 3 | LICENSE = "BSD-2-Clause" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=d606e94f56c21c8e0cdde0b622dcdf57" | ||
| 5 | |||
| 6 | SRC_URI[sha256sum] = "9ea661cdc292e8231f7cd4c10b0319e56a2118e2c09d9f50e1b3d150d2aca105" | ||
| 7 | |||
| 8 | inherit pypi setuptools3 | ||
| 9 | |||
| 10 | RDEPENDS:${PN} += "python3-core python3-py-cpuinfo python3-pytest python3-aspectlib" | ||
| 11 | |||
| 12 | BBCLASSEXTEND = "native nativesdk" | ||
