forked from pool/python-pytest-benchmark
- update to 5.1.0:
* Fixed broken hooks handling on pytest 8.1 or later (the
TypeError: import_path() missing 1 required keyword-only
argument: 'consider_namespace_packages' issue). Unfortunately
this sets the minimum supported pytest version to 8.1.
* 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
(issue #268). Contributed by Johnny Huang in #269.
* Added the --benchmark-time-unit cli option for overriding the
measurement unit used for display. Contributed by Tony Kuo in
#257.
* Fixes spelling in some help texts. Contributed by Eugeniy in
#267.
* 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).
* --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).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-benchmark?expand=0&rev=32
This commit is contained in:
189
python-pytest-benchmark.changes
Normal file
189
python-pytest-benchmark.changes
Normal file
@@ -0,0 +1,189 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 25 12:42:56 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 5.1.0:
|
||||
* Fixed broken hooks handling on pytest 8.1 or later (the
|
||||
TypeError: import_path() missing 1 required keyword-only
|
||||
argument: 'consider_namespace_packages' issue). Unfortunately
|
||||
this sets the minimum supported pytest version to 8.1.
|
||||
* 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
|
||||
(issue #268). Contributed by Johnny Huang in #269.
|
||||
* Added the --benchmark-time-unit cli option for overriding the
|
||||
measurement unit used for display. Contributed by Tony Kuo in
|
||||
#257.
|
||||
* Fixes spelling in some help texts. Contributed by Eugeniy in
|
||||
#267.
|
||||
* 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).
|
||||
* --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).
|
||||
- drop fix-test-fast.patch, py311.patch, fix-test-fast.patch: upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 4 22:09:46 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Clean up the SPEC file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:31:29 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- add sle15_python_module_pythons (jsc#PED-68)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 13 22:43:59 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Make calling of %{sle15modernpython} optional.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 20 05:13:36 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Add ptch ignore-deprecationwarning.patch:
|
||||
* Ignore DeprecationWarning, some of our dependancies use pkg_resources.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 17 13:03:29 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Modify the py311.patch to fix the test_abort_broken test, instead of
|
||||
disabling.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 17 12:44:25 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Add py311.patch to make it compatible with python 3.11,
|
||||
gh#ionelmc/pytest-benchmark#232
|
||||
- Disable broken test_abort_broken, this test is broken because the output of
|
||||
the tests is a bit different with python 3.11 so we can disable until it's
|
||||
fixed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Update to 3.4.1
|
||||
* Disable progress indication unless --benchmark-verbose is used.
|
||||
Contributed by Dimitris Rozakis in #149.
|
||||
* Added Python 3.9, dropped Python 3.5. Contributed by Miroslav
|
||||
Šedivý in #189.
|
||||
* Changed the "cpu" data in the json output to include everything
|
||||
that cpuinfo outputs, for better or worse as cpuinfo 6.0
|
||||
changed some fields. Users should now ensure they are an
|
||||
adequate cpuinfo package installed. MAY BE BACKWARDS
|
||||
INCOMPATIBLE
|
||||
* Changed behavior of --benchmark-skip and --benchmark-only to
|
||||
apply early in the collection phase. This means skipped tests
|
||||
won't make pytest run fixtures for said tests unnecessarily,
|
||||
but unfortunately this also means the skipping behavior will be
|
||||
applied to any tests that requires a "benchmark" fixture,
|
||||
regardless if it would come from pytest-benchmark or not. MAY
|
||||
BE BACKWARDS INCOMPATIBLE
|
||||
* Added --benchmark-quiet - option to disable reporting and other
|
||||
information output.
|
||||
* Squelched unnecessary warning when --benchmark-disable and save
|
||||
options are used. Fixes #199.
|
||||
* PerformanceRegression exception no longer inherits
|
||||
pytest.UsageError (apparently a final class).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 5 21:31:21 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Remove pytest-xdist from build
|
||||
- Re-activate test suite
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 13 12:42:10 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Fix buidling without python2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 13 14:13:23 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 3.2.3:
|
||||
* Fixed "already-imported" pytest warning. Contributed by Jonathan Simon Prates in #151.
|
||||
* Fixed breakage that occurs when benchmark is disabled while using cprofile feature (by disabling cprofile too).
|
||||
* Dropped Python 3.4 from the test suite and updated test deps.
|
||||
* Fixed pytest_benchmark.utils.clonefunc to work on Python 3.8.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 08:30:20 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Disable tests for now, the output from pytest changed quite a
|
||||
bit and upstream needs to adapt it for pytest5. The plugin
|
||||
actually works, it just fails its own testsuite...
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 9 14:49:19 CEST 2019 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Add fix-test-fast.patch to avoid failing
|
||||
tests/test_normal.py::test_fast test on 32bit platform.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 28 13:13:55 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Try to avoid messing up bytecode of the installed pkg
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 26 10:16:44 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Add missing dependency on pygal and pygaljs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 25 11:00:57 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Add missing dependency on aspectlib
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 13 14:43:30 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 3.2.2:
|
||||
* Added support for pytest items without funcargs. Fixes interoperability with other pytest plugins like pytest-flake8.
|
||||
* Added missing version constraint change. Now pytest >= 3.8 is required (due to pytest 4.1 support).
|
||||
* Fixed couple CI/test issues.
|
||||
* Fixed broken pytest_benchmark.__version__.
|
||||
* Added support for simple trial x-axis histogram label. Contributed by Ken Crowell in #95).
|
||||
* Added support for Pytest 3.3+, Contributed by Julien Nicoulaud in #103.
|
||||
* Added support for Pytest 4.0. Contributed by Pablo Aguiar in #129 and #130.
|
||||
* Added support for Pytest 4.1.
|
||||
* Various formatting, spelling and documentation fixes. Contributed by Ken Crowell, Ofek Lev, Matthew Feickert, Jose Eduardo, Anton Lodder, Alexander Duryagin and Grygorii Iermolenko in #97, #97, #105, #110, #111, #115, #123, #131 and #140.
|
||||
* Fixed broken pytest_benchmark_update_machine_info hook. Contributed by Alex Ford in #109.
|
||||
* Fixed bogus xdist warning when using --benchmark-disable. Contributed by Francesco Ballarin in #113.
|
||||
* Added support for pathlib2. Contributed by Lincoln de Sousa in #114.
|
||||
* Changed handling so you can use --benchmark-skip and --benchmark-only, with the later having priority. Contributed by Ofek Lev in #116.
|
||||
* Fixed various CI/testing issues. Contributed by Stanislav Levin in #134, #136 and #138.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 9 23:25:39 UTC 2018 - toddrme2178@gmail.com
|
||||
|
||||
- Use license tag
|
||||
- Implement update-alternatives
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 19 00:24:23 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Initial version
|
||||
Reference in New Issue
Block a user