From cc7e7a14ebdca52a300a12926878faf7d07b41f3db9c493dd790933be6d025f5 Mon Sep 17 00:00:00 2001 From: Ana Guerrero Date: Fri, 7 Nov 2025 17:19:49 +0000 Subject: [PATCH] Accepting request 1315724 from devel:languages:python:pytest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit update to 5.2.1 trying the new workflow (🤖: Submission of python-pytest-benchmark via https://src.opensuse.org/pool/python-pytest-benchmark/pulls/1 by mcalabkova) - Update to 5.2.1 * Added support for a per-round teardown function to pedantic mode. * Added --benchmark-time-unit option. * Fixed deprecated hook examples in docstrings. * Changed --benchmark-compare-fail to accept percentages higher than 100%. * Replaced the complicated and broken code of pytest_benchmark.utils.clonefunc with a simple return of the input. * Add markers so pytest doesn’t try to assert-rewrite the plugin internals OBS-URL: https://build.opensuse.org/request/show/1315724 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-benchmark?expand=0&rev=16 --- _scmsync.obsinfo | 5 +++++ build.specials.obscpio | 3 +++ pytest-benchmark-5.1.0.tar.gz | 3 --- pytest_benchmark-5.2.1.tar.gz | 3 +++ python-pytest-benchmark.changes | 12 ++++++++++++ python-pytest-benchmark.spec | 6 +++--- 6 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 _scmsync.obsinfo create mode 100644 build.specials.obscpio delete mode 100644 pytest-benchmark-5.1.0.tar.gz create mode 100644 pytest_benchmark-5.2.1.tar.gz diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo new file mode 100644 index 0000000..6903008 --- /dev/null +++ b/_scmsync.obsinfo @@ -0,0 +1,5 @@ +mtime: 1762346421 +commit: d96a16df80402551836307fb5e45668b259e587f176c3ebe6b6d2178c461fa98 +url: https://src.opensuse.org/python-pytest/python-pytest-benchmark.git +revision: d96a16df80402551836307fb5e45668b259e587f176c3ebe6b6d2178c461fa98 +projectscmsync: https://src.opensuse.org/python-pytest/_ObsPrj.git diff --git a/build.specials.obscpio b/build.specials.obscpio new file mode 100644 index 0000000..0d7e21e --- /dev/null +++ b/build.specials.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0372e4111009be9ff3cf8bcc9cd3f77f2c88f2c6e76eac6beb14eda9ad1f31ce +size 256 diff --git a/pytest-benchmark-5.1.0.tar.gz b/pytest-benchmark-5.1.0.tar.gz deleted file mode 100644 index 8c966b9..0000000 --- a/pytest-benchmark-5.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9ea661cdc292e8231f7cd4c10b0319e56a2118e2c09d9f50e1b3d150d2aca105 -size 337810 diff --git a/pytest_benchmark-5.2.1.tar.gz b/pytest_benchmark-5.2.1.tar.gz new file mode 100644 index 0000000..2258027 --- /dev/null +++ b/pytest_benchmark-5.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:56dc1455bda7ccb540aa671c496dafc8187d2769f278e5f137689476805b6f9d +size 339278 diff --git a/python-pytest-benchmark.changes b/python-pytest-benchmark.changes index 17efb01..2f1d243 100644 --- a/python-pytest-benchmark.changes +++ b/python-pytest-benchmark.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Nov 5 12:35:00 UTC 2025 - Markéta Machová + +- Update to 5.2.1 + * Added support for a per-round teardown function to pedantic mode. + * Added --benchmark-time-unit option. + * Fixed deprecated hook examples in docstrings. + * Changed --benchmark-compare-fail to accept percentages higher than 100%. + * Replaced the complicated and broken code of pytest_benchmark.utils.clonefunc + with a simple return of the input. + * Add markers so pytest doesn’t try to assert-rewrite the plugin internals + ------------------------------------------------------------------- Thu Aug 21 15:41:07 UTC 2025 - Markéta Machová diff --git a/python-pytest-benchmark.spec b/python-pytest-benchmark.spec index fbe219b..5048471 100644 --- a/python-pytest-benchmark.spec +++ b/python-pytest-benchmark.spec @@ -23,12 +23,12 @@ %endif %{?sle15_python_module_pythons} Name: python-pytest-benchmark -Version: 5.1.0 +Version: 5.2.1 Release: 0 Summary: A py.test fixture for benchmarking code License: BSD-2-Clause URL: https://github.com/ionelmc/pytest-benchmark -Source: https://files.pythonhosted.org/packages/source/p/pytest-benchmark/pytest-benchmark-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/p/pytest_benchmark/pytest_benchmark-%{version}.tar.gz # PATCH-FIX-OPENSUSE Ignore DeprecationWarning, some of our dependancies use # pkg_resources. Patch2: ignore-deprecationwarning.patch @@ -66,7 +66,7 @@ A py.test fixture for benchmarking code. It will group the tests into rounds that are calibrated to the chosen timer. %prep -%autosetup -p1 -n pytest-benchmark-%{version} +%autosetup -p1 -n pytest_benchmark-%{version} # skip nbmake rm pytest.ini # skip cli tests as we use update-alternatives