forked from pool/python-pytest-benchmark
Accepting request 1039055 from devel:languages:python:pytest
- Update to 4.0.0: * Dropped support for legacy Pythons (2.7, 3.6 or older). * Switched CI to GitHub Actions. * Removed dependency on the py library (that was not properly specified as a dependency anyway). * Fix skipping test in test_utils.py if appropriate VCS not available. Also fix typo. Contributed by Sam James in #211. * Added support for pytest 7.2.0 by using pytest.hookimpl and pytest.hookspec to configure hooks. Contributed by Florian Bruhin in #224. * Now no save is attempted if --benchmark-disable is used. Fixes #205. Contributed by Friedrich Delgado in #207. OBS-URL: https://build.opensuse.org/request/show/1039055 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-benchmark?expand=0&rev=9
This commit is contained in:
commit
8fcc9d81bb
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:40e263f912de5a81d891619032983557d62a3d85843f9a9f30b98baea0cd7b47
|
|
||||||
size 340349
|
|
BIN
pytest-benchmark-4.0.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
pytest-benchmark-4.0.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 30 07:44:51 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Update to 4.0.0:
|
||||||
|
* Dropped support for legacy Pythons (2.7, 3.6 or older).
|
||||||
|
* Switched CI to GitHub Actions.
|
||||||
|
* Removed dependency on the py library (that was not properly specified as a
|
||||||
|
dependency anyway).
|
||||||
|
* Fix skipping test in test_utils.py if appropriate VCS not available. Also
|
||||||
|
fix typo. Contributed by Sam James in #211.
|
||||||
|
* Added support for pytest 7.2.0 by using pytest.hookimpl and pytest.hookspec
|
||||||
|
to configure hooks. Contributed by Florian Bruhin in #224.
|
||||||
|
* Now no save is attempted if --benchmark-disable is used. Fixes #205.
|
||||||
|
Contributed by Friedrich Delgado in #207.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 28 21:07:02 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
Mon Mar 28 21:07:02 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -16,10 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python3-%{**}}
|
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-pytest-benchmark
|
Name: python-pytest-benchmark
|
||||||
Version: 3.4.1
|
Version: 4.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A py.test fixture for benchmarking code
|
Summary: A py.test fixture for benchmarking code
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
@ -53,8 +52,7 @@ A py.test fixture for benchmarking code. It will group the tests into
|
|||||||
rounds that are calibrated to the chosen timer.
|
rounds that are calibrated to the chosen timer.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pytest-benchmark-%{version}
|
%autosetup -p1 -n pytest-benchmark-%{version}
|
||||||
%autopatch -p1
|
|
||||||
# skip cli tests as we use update-alternatives
|
# skip cli tests as we use update-alternatives
|
||||||
rm -f tests/test_cli.py
|
rm -f tests/test_cli.py
|
||||||
# Don't look for a test pass in the wrong place -- https://github.com/ionelmc/pytest-benchmark/issues/214
|
# Don't look for a test pass in the wrong place -- https://github.com/ionelmc/pytest-benchmark/issues/214
|
||||||
|
Loading…
Reference in New Issue
Block a user