14
0
forked from pool/python-pyperf

Accepting request 1137437 from devel:languages:python

- update to 2.6.2:
  * Now, pystats stats are collected during warmups.
  * system: Fix detection of battery.
  * Fix a possible attribute error in argument parsing.
  * Inherit PYTHONPATH environment variable by default.
  * Runner.bench_async_func() takes an optional loop_factory to
    support custom loop construction.

- Update to version 2.5.0
- version update to 2.4.1

OBS-URL: https://build.opensuse.org/request/show/1137437
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyperf?expand=0&rev=8
This commit is contained in:
2024-01-07 20:42:43 +00:00
committed by Git OBS Bridge
4 changed files with 23 additions and 11 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9fd9be5b57224e68b5a5b88f7126f15b6c8667573f62a0a39faf14d6fdd13909
size 221397

3
pyperf-2.6.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:64d8fadce6a74f478f29832c1eaa2a04856655ebff17292d5237fc8317c3a3c5
size 221953

View File

@@ -1,7 +1,18 @@
-------------------------------------------------------------------
Sun Jan 7 20:18:54 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.6.2:
* Now, pystats stats are collected during warmups.
* system: Fix detection of battery.
* Fix a possible attribute error in argument parsing.
* Inherit PYTHONPATH environment variable by default.
* Runner.bench_async_func() takes an optional loop_factory to
support custom loop construction.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 9 18:34:02 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com> Wed Nov 9 18:34:02 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 2.5.0 - Update to version 2.5.0
* Recognize new name of Graal-based Python as jitted by @timfel in #139 * Recognize new name of Graal-based Python as jitted by @timfel in #139
* Collect specialization statistics from running benchmarks by @mdboom in #140 * Collect specialization statistics from running benchmarks by @mdboom in #140
* Add support for Python 3.11 by @hugovk in #142 * Add support for Python 3.11 by @hugovk in #142
@@ -9,7 +20,7 @@ Wed Nov 9 18:34:02 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 6 21:53:01 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com> Thu Oct 6 21:53:01 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- version update to 2.4.1 - version update to 2.4.1
* Reject --tracemalloc in pyperf command by @oraluben in #131 * Reject --tracemalloc in pyperf command by @oraluben in #131
------------------------------------------------------------------- -------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pyperf # spec file for package python-pyperf
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,16 +16,17 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons}
%define skip_python2 1
Name: python-pyperf Name: python-pyperf
Version: 2.5.0 Version: 2.6.2
Release: 0 Release: 0
Summary: Python module to run and analyze benchmarks Summary: Python module to run and analyze benchmarks
License: MIT License: MIT
URL: https://github.com/vstinner/pyperf URL: https://github.com/vstinner/pyperf
Source: https://files.pythonhosted.org/packages/source/p/pyperf/pyperf-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pyperf/pyperf-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires(post): update-alternatives Requires(post): update-alternatives
@@ -45,10 +46,10 @@ Python module to run and analyze benchmarks.
%setup -q -n pyperf-%{version} %setup -q -n pyperf-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_clone -a %{buildroot}%{_bindir}/pyperf %python_clone -a %{buildroot}%{_bindir}/pyperf
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}