14
0
forked from pool/python-pyperf

Accepting request 967428 from home:pgajdos:python

- version update to 2.3.1
  Version 2.3.1 (2022-02-03)
  --------------------------
  * Add a ``Runner.bench_async_func()`` to benchmark an asyncio coroutine.
    Patch by Inada Naoki.
  * pyperf now recognizes graalpython as the JIT-based implementation.
    Patch by Tim Felgentreff.
  Version 2.3.0 (2021-09-28)
  --------------------------
  * pyperf ref:`compare_to command <compare_to_cmd>` now supports the
    ``--table-format`` option which can designate the table format
    between reST and markdown.
  Version 2.2.0 (2021-03-24)
  --------------------------
  * ``--track-memory`` option now supports macOS by using ``psutil``.
  * Added ``--copy-env`` command line option that inherits all environment variables.
  * The development branch ``master`` was renamed to ``main``.
    See https://sfconservancy.org/news/2020/jun/23/gitbranchname/ for the
    rationale.
  Version 2.1.0 (2021-01-14)
  --------------------------
  * The :ref:`compare_to command <compare_to_cmd>` now computes the geometric
    mean.
  * The :ref:`compare_to command <compare_to_cmd>` no longer displays
    percentages: display less numbers to make the output easier to read. Also,
    percentage were almost the same values than the xxx faster or xxx slower
    values, but rounded differenly which introduced confusion.
  * Project moved to https://github.com/psf/pyperf/
  * system command now only emits a warning rather than failing with a hard error
    if it fails to get or set the frequency of a CPU.

OBS-URL: https://build.opensuse.org/request/show/967428
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyperf?expand=0&rev=9
This commit is contained in:
2022-04-07 09:36:37 +00:00
committed by Git OBS Bridge
parent 334909ac8f
commit b0ce2ccfec
4 changed files with 42 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyperf
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pyperf
Version: 2.0.0
Version: 2.3.1
Release: 0
Summary: Python module to run and analyze benchmarks
License: MIT
@@ -29,11 +29,10 @@ BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
Recommends: python-psutil
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module mock}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pytest}
# /SECTION