Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-benchmark for
openSUSE:Factory checked in at 2022-04-23 19:45:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-benchmark (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-benchmark.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-benchmark"
Sat Apr 23 19:45:15 2022 rev:8 rq:966223 version:3.4.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-benchmark/python-pytest-benchmark.changes
2020-08-06 17:33:25.473104848 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-benchmark.new.1538/python-pytest-benchmark.changes
2022-04-23 19:45:33.414954123 +0200
@@ -1,0 +2,27 @@
+Mon Mar 28 21:07:02 UTC 2022 - Ben Greiner <[email protected]>
+
+- 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).
+
+-------------------------------------------------------------------
Old:
----
pytest-benchmark-3.2.3.tar.gz
New:
----
pytest-benchmark-3.4.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-benchmark.spec ++++++
--- /var/tmp/diff_new_pack.1htHMq/_old 2022-04-23 19:45:34.038954865 +0200
+++ /var/tmp/diff_new_pack.1htHMq/_new 2022-04-23 19:45:34.046954874 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-benchmark
#
-# 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
@@ -16,10 +16,10 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without python2
+%{?!python_module:%define python_module() python3-%{**}}
+%define skip_python2 1
Name: python-pytest-benchmark
-Version: 3.2.3
+Version: 3.4.1
Release: 0
Summary: A py.test fixture for benchmarking code
License: BSD-2-Clause
@@ -36,25 +36,16 @@
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: git-core
-%if %{with python2}
-BuildRequires: python-mock
-BuildRequires: python-pathlib2
-BuildRequires: python-statistics
-%endif
BuildRequires: python-rpm-macros
Requires: python-py-cpuinfo
Requires: python-pytest >= 3.8
Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
Recommends: python-aspectlib
Recommends: python-elasticsearch
Recommends: python-pygal
Recommends: python-pygaljs
BuildArch: noarch
-%ifpython2
-Requires: python-pathlib2
-Requires: python-statistics
-%endif
%python_subpackages
%description
@@ -66,6 +57,8 @@
%autopatch -p1
# skip cli tests as we use update-alternatives
rm -f tests/test_cli.py
+# Don't look for a test pass in the wrong place --
https://github.com/ionelmc/pytest-benchmark/issues/214
+sed -i -e '/test_fast PASSED/d' -e '/test_fast SKIPPED/d'
tests/test_benchmark.py
%build
%python_build
@@ -78,7 +71,6 @@
%python_clone -a %{buildroot}%{_bindir}/py.test-benchmark
%check
-export PYTHONDONTWRITEBYTECODE=1
%pytest tests
%post
@@ -92,6 +84,7 @@
%license LICENSE
%python_alternative %{_bindir}/py.test-benchmark
%python_alternative %{_bindir}/pytest-benchmark
-%{python_sitelib}/*
+%{python_sitelib}/pytest_benchmark
+%{python_sitelib}/pytest_benchmark-%{version}*-info
%changelog
++++++ pytest-benchmark-3.2.3.tar.gz -> pytest-benchmark-3.4.1.tar.gz ++++++
++++ 1833 lines of diff (skipped)