commit python-pytest-benchmark for openSUSE:Factory

2020-08-06 Thread root
Hello community,

here is the log from the commit of package python-pytest-benchmark for 
openSUSE:Factory checked in at 2020-08-06 17:32:43

Comparing /work/SRC/openSUSE:Factory/python-pytest-benchmark (Old)
 and  /work/SRC/openSUSE:Factory/.python-pytest-benchmark.new.3399 (New)


Package is "python-pytest-benchmark"

Thu Aug  6 17:32:43 2020 rev:7 rq:824586 version:3.2.3

Changes:

--- 
/work/SRC/openSUSE:Factory/python-pytest-benchmark/python-pytest-benchmark.changes
  2020-03-27 00:22:43.448178595 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-benchmark.new.3399/python-pytest-benchmark.changes
2020-08-06 17:33:25.473104848 +0200
@@ -1,0 +2,6 @@
+Wed Aug  5 21:31:21 UTC 2020 - John Vandenberg 
+
+- Remove pytest-xdist from build
+- Re-activate test suite
+
+---



Other differences:
--
++ python-pytest-benchmark.spec ++
--- /var/tmp/diff_new_pack.Myess5/_old  2020-08-06 17:33:25.921104801 +0200
+++ /var/tmp/diff_new_pack.Myess5/_new  2020-08-06 17:33:25.925104800 +0200
@@ -33,7 +33,6 @@
 BuildRequires:  %{python_module pygaljs}
 BuildRequires:  %{python_module pygal}
 BuildRequires:  %{python_module pytest >= 3.8}
-BuildRequires:  %{python_module pytest-xdist}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  git-core
@@ -80,7 +79,7 @@
 
 %check
 export PYTHONDONTWRITEBYTECODE=1
-#%%pytest tests
+%pytest tests
 
 %post
 %{python_install_alternative pytest-benchmark py.test-benchmark}




commit python-pytest-benchmark for openSUSE:Factory

2020-03-26 Thread root
Hello community,

here is the log from the commit of package python-pytest-benchmark for 
openSUSE:Factory checked in at 2020-03-27 00:22:41

Comparing /work/SRC/openSUSE:Factory/python-pytest-benchmark (Old)
 and  /work/SRC/openSUSE:Factory/.python-pytest-benchmark.new.3160 (New)


Package is "python-pytest-benchmark"

Fri Mar 27 00:22:41 2020 rev:6 rq:784630 version:3.2.3

Changes:

--- 
/work/SRC/openSUSE:Factory/python-pytest-benchmark/python-pytest-benchmark.changes
  2020-01-16 18:14:37.696750385 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-benchmark.new.3160/python-pytest-benchmark.changes
2020-03-27 00:22:43.448178595 +0100
@@ -1,0 +2,5 @@
+Fri Mar 13 12:42:10 UTC 2020 - Tomáš Chvátal 
+
+- Fix buidling without python2
+
+---



Other differences:
--
++ python-pytest-benchmark.spec ++
--- /var/tmp/diff_new_pack.o4JRJI/_old  2020-03-27 00:22:44.480179118 +0100
+++ /var/tmp/diff_new_pack.o4JRJI/_new  2020-03-27 00:22:44.480179118 +0100
@@ -17,6 +17,7 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
 Name:   python-pytest-benchmark
 Version:3.2.3
 Release:0
@@ -36,10 +37,12 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  git-core
+%if %{with python2}
 BuildRequires:  python-mock
 BuildRequires:  python-pathlib2
-BuildRequires:  python-rpm-macros
 BuildRequires:  python-statistics
+%endif
+BuildRequires:  python-rpm-macros
 Requires:   python-py-cpuinfo
 Requires:   python-pytest >= 3.8
 Requires(post): update-alternatives




commit python-pytest-benchmark for openSUSE:Factory

2020-01-16 Thread root
Hello community,

here is the log from the commit of package python-pytest-benchmark for 
openSUSE:Factory checked in at 2020-01-16 18:14:30

Comparing /work/SRC/openSUSE:Factory/python-pytest-benchmark (Old)
 and  /work/SRC/openSUSE:Factory/.python-pytest-benchmark.new.26092 (New)


Package is "python-pytest-benchmark"

Thu Jan 16 18:14:30 2020 rev:5 rq:764007 version:3.2.3

Changes:

--- 
/work/SRC/openSUSE:Factory/python-pytest-benchmark/python-pytest-benchmark.changes
  2019-07-30 13:04:25.614401567 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-benchmark.new.26092/python-pytest-benchmark.changes
   2020-01-16 18:14:37.696750385 +0100
@@ -1,0 +2,9 @@
+Mon Jan 13 14:13:23 UTC 2020 - Tomáš Chvátal 
+
+- 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.
+
+---

Old:

  pytest-benchmark-3.2.2.tar.gz

New:

  pytest-benchmark-3.2.3.tar.gz



Other differences:
--
++ python-pytest-benchmark.spec ++
--- /var/tmp/diff_new_pack.LsPx71/_old  2020-01-16 18:14:39.244751261 +0100
+++ /var/tmp/diff_new_pack.LsPx71/_new  2020-01-16 18:14:39.248751263 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pytest-benchmark
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,11 +18,10 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pytest-benchmark
-Version:3.2.2
+Version:3.2.3
 Release:0
 Summary:A py.test fixture for benchmarking code
 License:BSD-2-Clause
-Group:  Development/Languages/Python
 URL:https://github.com/ionelmc/pytest-benchmark
 Source: 
https://files.pythonhosted.org/packages/source/p/pytest-benchmark/pytest-benchmark-%{version}.tar.gz
 Patch0: fix-test-fast.patch

++ pytest-benchmark-3.2.2.tar.gz -> pytest-benchmark-3.2.3.tar.gz ++
 2416 lines of diff (skipped)




commit python-pytest-benchmark for openSUSE:Factory

2019-07-30 Thread root
Hello community,

here is the log from the commit of package python-pytest-benchmark for 
openSUSE:Factory checked in at 2019-07-30 13:04:24

Comparing /work/SRC/openSUSE:Factory/python-pytest-benchmark (Old)
 and  /work/SRC/openSUSE:Factory/.python-pytest-benchmark.new.4126 (New)


Package is "python-pytest-benchmark"

Tue Jul 30 13:04:24 2019 rev:4 rq:717475 version:3.2.2

Changes:

--- 
/work/SRC/openSUSE:Factory/python-pytest-benchmark/python-pytest-benchmark.changes
  2019-05-16 21:56:00.714889525 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-benchmark.new.4126/python-pytest-benchmark.changes
2019-07-30 13:04:25.614401567 +0200
@@ -1,0 +2,7 @@
+Mon Jul 22 08:30:20 UTC 2019 - Tomáš Chvátal 
+
+- 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...
+
+---



Other differences:
--
++ python-pytest-benchmark.spec ++
--- /var/tmp/diff_new_pack.ZEdOGz/_old  2019-07-30 13:04:26.226401437 +0200
+++ /var/tmp/diff_new_pack.ZEdOGz/_new  2019-07-30 13:04:26.230401435 +0200
@@ -78,7 +78,7 @@
 
 %check
 export PYTHONDONTWRITEBYTECODE=1
-%pytest tests
+#%%pytest tests
 
 %post
 %{python_install_alternative pytest-benchmark py.test-benchmark}




commit python-pytest-benchmark for openSUSE:Factory

2019-05-16 Thread root
Hello community,

here is the log from the commit of package python-pytest-benchmark for 
openSUSE:Factory checked in at 2019-05-16 21:55:57

Comparing /work/SRC/openSUSE:Factory/python-pytest-benchmark (Old)
 and  /work/SRC/openSUSE:Factory/.python-pytest-benchmark.new.5148 (New)


Package is "python-pytest-benchmark"

Thu May 16 21:55:57 2019 rev:3 rq:701806 version:3.2.2

Changes:

--- 
/work/SRC/openSUSE:Factory/python-pytest-benchmark/python-pytest-benchmark.changes
  2019-03-29 20:38:48.790682606 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-benchmark.new.5148/python-pytest-benchmark.changes
2019-05-16 21:56:00.714889525 +0200
@@ -1,0 +2,6 @@
+Thu May  9 14:49:19 CEST 2019 - Matej Cepl 
+
+- Add fix-test-fast.patch to avoid failing
+  tests/test_normal.py::test_fast test on 32bit platform.
+
+---

New:

  fix-test-fast.patch



Other differences:
--
++ python-pytest-benchmark.spec ++
--- /var/tmp/diff_new_pack.lpYjPk/_old  2019-05-16 21:56:01.250889296 +0200
+++ /var/tmp/diff_new_pack.lpYjPk/_new  2019-05-16 21:56:01.254889294 +0200
@@ -25,6 +25,7 @@
 Group:  Development/Languages/Python
 URL:https://github.com/ionelmc/pytest-benchmark
 Source: 
https://files.pythonhosted.org/packages/source/p/pytest-benchmark/pytest-benchmark-%{version}.tar.gz
+Patch0: fix-test-fast.patch
 BuildRequires:  %{python_module aspectlib}
 BuildRequires:  %{python_module elasticsearch}
 BuildRequires:  %{python_module freezegun}
@@ -61,6 +62,7 @@
 
 %prep
 %setup -q -n pytest-benchmark-%{version}
+%autopatch -p1
 # skip cli tests as we use update-alternatives
 rm -f tests/test_cli.py
 

++ fix-test-fast.patch ++
--- a/tests/test_normal.py
+++ b/tests/test_normal.py
@@ -5,6 +5,7 @@ Just to make sure the plugin doesn't cho
 Yay, doctests!
 
 """
+import platform
 import sys  # noqa
 import time
 from functools import partial
@@ -20,7 +21,10 @@ def test_fast(benchmark):
 assert result is None
 
 if not benchmark.disabled:
-assert benchmark.stats.stats.min >= 0.01
+if '32' in platform.architecture()[0]:
+assert benchmark.stats.stats.min >= 0.001
+else:
+assert benchmark.stats.stats.min >= 0.01
 
 
 def test_slow(benchmark):



commit python-pytest-benchmark for openSUSE:Factory

2019-03-29 Thread root
Hello community,

here is the log from the commit of package python-pytest-benchmark for 
openSUSE:Factory checked in at 2019-03-29 20:38:46

Comparing /work/SRC/openSUSE:Factory/python-pytest-benchmark (Old)
 and  /work/SRC/openSUSE:Factory/.python-pytest-benchmark.new.25356 (New)


Package is "python-pytest-benchmark"

Fri Mar 29 20:38:46 2019 rev:2 rq:689353 version:3.2.2

Changes:

--- 
/work/SRC/openSUSE:Factory/python-pytest-benchmark/python-pytest-benchmark.changes
  2018-05-29 16:48:12.132809917 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-benchmark.new.25356/python-pytest-benchmark.changes
   2019-03-29 20:38:48.790682606 +0100
@@ -1,0 +2,34 @@
+Thu Mar 28 13:13:55 UTC 2019 - Tomáš Chvátal 
+
+- Try to avoid messing up bytecode of the installed pkg
+
+---
+Tue Mar 26 10:16:44 UTC 2019 - Tomáš Chvátal 
+
+- Add missing dependency on pygal and pygaljs
+
+---
+Mon Mar 25 11:00:57 UTC 2019 - Tomáš Chvátal 
+
+- Add missing dependency on aspectlib
+
+---
+Wed Feb 13 14:43:30 UTC 2019 - Tomáš Chvátal 
+
+- 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.
+
+---

Old:

  pytest-benchmark-3.1.1.tar.gz

New:

  pytest-benchmark-3.2.2.tar.gz



Other differences:
--
++ python-pytest-benchmark.spec ++
--- /var/tmp/diff_new_pack.tzPoXL/_old  2019-03-29 20:38:49.430682932 +0100
+++ /var/tmp/diff_new_pack.tzPoXL/_new  2019-03-29 20:38:49.430682932 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pytest-benchmark
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,49 +12,47 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_with test
 Name:   python-pytest-benchmark
-Version:3.1.1
+Version:3.2.2
 Release:0
-License:BSD-2-Clause
 Summary:A py.test fixture for benchmarking code
-Url:https://github.com/ionelmc/pytest-benchmark
+License:BSD-2-Clause
 Group:  Development/Languages/Python
+URL:https://github.com/ionelmc/pytest-benchmark
 Source: 
https://files.pythonhosted.org/packages/source/p/pytest-benchmark/pytest-benchmark-%{version}.tar.gz
-BuildRequires:  python-rpm-macros
-BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module setuptools}
-%if %{with test}
 BuildRequires:  %{python_module aspectlib}
 BuildRequires:  %{python_module elasticsearch}
 BuildRequires:  %{python_module freezegun}
 BuildRequires:  %{python_module py-cpuinfo}
-BuildRequires:  %{python_module pygal}
 BuildRequires:  %{python_module pygaljs}
-BuildRequires:  %{python_module pytest >= 2.8}
+BuildRequires:  %{python_module pygal}
+BuildRequires:  %{python_module pytest >= 3.8}