From 0bff36fef401c99c1c9874e7188da52f86506b7403ede530abfbb212777ef553 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 7 Jan 2024 20:19:59 +0000 Subject: [PATCH] - 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/package/show/devel:languages:python/python-pyperf?expand=0&rev=15 --- pyperf-2.5.0.tar.gz | 3 --- pyperf-2.6.2.tar.gz | 3 +++ python-pyperf.changes | 15 +++++++++++++-- python-pyperf.spec | 13 +++++++------ 4 files changed, 23 insertions(+), 11 deletions(-) delete mode 100644 pyperf-2.5.0.tar.gz create mode 100644 pyperf-2.6.2.tar.gz diff --git a/pyperf-2.5.0.tar.gz b/pyperf-2.5.0.tar.gz deleted file mode 100644 index 82ee100..0000000 --- a/pyperf-2.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9fd9be5b57224e68b5a5b88f7126f15b6c8667573f62a0a39faf14d6fdd13909 -size 221397 diff --git a/pyperf-2.6.2.tar.gz b/pyperf-2.6.2.tar.gz new file mode 100644 index 0000000..225be82 --- /dev/null +++ b/pyperf-2.6.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:64d8fadce6a74f478f29832c1eaa2a04856655ebff17292d5237fc8317c3a3c5 +size 221953 diff --git a/python-pyperf.changes b/python-pyperf.changes index 24d371e..0994c54 100644 --- a/python-pyperf.changes +++ b/python-pyperf.changes @@ -1,7 +1,18 @@ +------------------------------------------------------------------- +Sun Jan 7 20:18:54 UTC 2024 - Dirk Müller + +- 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 -- 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 * Collect specialization statistics from running benchmarks by @mdboom in #140 * Add support for Python 3.11 by @hugovk in #142 @@ -9,7 +20,7 @@ Wed Nov 9 18:34:02 UTC 2022 - Yogalakshmi Arunachalam ------------------------------------------------------------------- Thu Oct 6 21:53:01 UTC 2022 - Yogalakshmi Arunachalam -- version update to 2.4.1 +- version update to 2.4.1 * Reject --tracemalloc in pyperf command by @oraluben in #131 ------------------------------------------------------------------- diff --git a/python-pyperf.spec b/python-pyperf.spec index 6a63476..b928f1f 100644 --- a/python-pyperf.spec +++ b/python-pyperf.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -16,16 +16,17 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 +%{?sle15_python_module_pythons} Name: python-pyperf -Version: 2.5.0 +Version: 2.6.2 Release: 0 Summary: Python module to run and analyze benchmarks License: MIT URL: https://github.com/vstinner/pyperf Source: https://files.pythonhosted.org/packages/source/p/pyperf/pyperf-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives @@ -45,10 +46,10 @@ Python module to run and analyze benchmarks. %setup -q -n pyperf-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/pyperf %python_expand %fdupes %{buildroot}%{$python_sitelib}