Commit Graph

10 Commits

Author SHA256 Message Date
cf4c34bdbf - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-benchmark?expand=0&rev=23
2023-01-17 12:57:36 +00:00
5570adb906 - 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/package/show/devel:languages:python:pytest/python-pytest-benchmark?expand=0&rev=21
2022-11-30 07:46:17 +00:00
a18e679f0f Accepting request 965498 from home:bnavigator:branches:devel:languages:python:pytest
- 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).

OBS-URL: https://build.opensuse.org/request/show/965498
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-benchmark?expand=0&rev=19
2022-03-31 12:55:12 +00:00
Tomáš Chvátal
e20c7b40cc Accepting request 824551 from home:jayvdb:branches:devel:languages:python:pytest
- Remove pytest-xdist from build
- Re-activate test suite

OBS-URL: https://build.opensuse.org/request/show/824551
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-benchmark?expand=0&rev=17
2020-08-06 05:44:24 +00:00
Tomáš Chvátal
1c44138c7c - Fix buidling without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-benchmark?expand=0&rev=15
2020-03-13 12:42:22 +00:00
Tomáš Chvátal
ed463351e0 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-benchmark?expand=0&rev=13
2020-01-13 14:15:11 +00:00
Tomáš Chvátal
b53e18694b - 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...

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-benchmark?expand=0&rev=11
2019-07-22 08:31:10 +00:00
Tomáš Chvátal
4f81430dff Accepting request 701805 from home:mcepl:branches:devel:languages:python:pytest
- Add fix-test-fast.patch to avoid failing
  tests/test_normal.py::test_fast test on 32bit platform.

OBS-URL: https://build.opensuse.org/request/show/701805
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-benchmark?expand=0&rev=9
2019-05-09 13:26:28 +00:00
Dominique Leuenberger
815efe58da Accepting request 689353 from devel:languages:python:pytest
- Try to avoid messing up bytecode of the installed pkg

- Add missing dependency on pygal and pygaljs

- Add missing dependency on aspectlib

- 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.

OBS-URL: https://build.opensuse.org/request/show/689353
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-benchmark?expand=0&rev=2
2019-03-29 19:38:46 +00:00
Dominique Leuenberger
937b40870a Accepting request 605965 from devel:languages:python
Add benchmarks to pytest tests

OBS-URL: https://build.opensuse.org/request/show/605965
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-benchmark?expand=0&rev=1
2018-05-29 14:48:08 +00:00