Hello community,
here is the log from the commit of package python-pytest-sugar for
openSUSE:Factory checked in at 2018-02-19 13:03:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-sugar (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-sugar.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-sugar"
Mon Feb 19 13:03:06 2018 rev:3 rq:577891 version:0.9.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest-sugar/python-pytest-sugar.changes
2018-01-10 23:35:41.482549952 +0100
+++
/work/SRC/openSUSE:Factory/.python-pytest-sugar.new/python-pytest-sugar.changes
2018-02-19 13:03:31.212554298 +0100
@@ -1,0 +2,6 @@
+Sun Feb 18 21:47:34 UTC 2018 - [email protected]
+
+- update to 0.9.1
+ + Fix incompatibility with pytest 3.4
+
+-------------------------------------------------------------------
Old:
----
pytest-sugar-0.9.0.tar.gz
New:
----
pytest-sugar-0.9.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-sugar.spec ++++++
--- /var/tmp/diff_new_pack.HvuhRS/_old 2018-02-19 13:03:33.064487509 +0100
+++ /var/tmp/diff_new_pack.HvuhRS/_new 2018-02-19 13:03:33.068487365 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-sugar
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-sugar
-Version: 0.9.0
+Version: 0.9.1
Release: 0
Summary: Pretty printer for pytest progress
License: BSD-3-Clause
++++++ pytest-sugar-0.9.0.tar.gz -> pytest-sugar-0.9.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-sugar-0.9.0/CHANGES.rst
new/pytest-sugar-0.9.1/CHANGES.rst
--- old/pytest-sugar-0.9.0/CHANGES.rst 2017-08-14 18:19:56.000000000 +0200
+++ new/pytest-sugar-0.9.1/CHANGES.rst 2018-02-06 14:31:18.000000000 +0100
@@ -3,6 +3,11 @@
A list of changes between each release.
+0.9.1 (2017-8-4)
+^^^^^^^^^^^^^^^^^^^
+
+- Fix incompatibility with pytest 3.4 (thanks @nicoddemus)
+
0.9.0 (2017-8-4)
^^^^^^^^^^^^^^^^^^^
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-sugar-0.9.0/PKG-INFO
new/pytest-sugar-0.9.1/PKG-INFO
--- old/pytest-sugar-0.9.0/PKG-INFO 2017-08-15 09:45:04.000000000 +0200
+++ new/pytest-sugar-0.9.1/PKG-INFO 2018-02-06 14:32:15.000000000 +0100
@@ -1,14 +1,15 @@
Metadata-Version: 1.1
Name: pytest-sugar
-Version: 0.9.0
+Version: 0.9.1
Summary: py.test is a plugin for py.test that changes the default look and
feel of py.test (e.g. progressbar, show tests that fail instantly).
Home-page: http://pivotfinland.com/pytest-sugar/
Author: Teemu, Janne Vanhala and others
Author-email: [email protected], [email protected]
License: BSD
+Description-Content-Type: UNKNOWN
Description: # pytest-sugar
-
[](https://travis-ci.org/Frozenball/pytest-sugar)

+
[](https://travis-ci.org/Frozenball/pytest-sugar)

pytest-sugar is a plugin for [py.test](http://pytest.org) that shows
failures and errors instantly and shows a progress bar.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-sugar-0.9.0/README.md
new/pytest-sugar-0.9.1/README.md
--- old/pytest-sugar-0.9.0/README.md 2017-08-14 18:17:44.000000000 +0200
+++ new/pytest-sugar-0.9.1/README.md 2018-02-06 14:31:18.000000000 +0100
@@ -1,6 +1,6 @@
# pytest-sugar
-[](https://travis-ci.org/Frozenball/pytest-sugar)

+[](https://travis-ci.org/Frozenball/pytest-sugar)

pytest-sugar is a plugin for [py.test](http://pytest.org) that shows
failures and errors instantly and shows a progress bar.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-sugar-0.9.0/pytest_sugar.egg-info/PKG-INFO
new/pytest-sugar-0.9.1/pytest_sugar.egg-info/PKG-INFO
--- old/pytest-sugar-0.9.0/pytest_sugar.egg-info/PKG-INFO 2017-08-15
09:45:04.000000000 +0200
+++ new/pytest-sugar-0.9.1/pytest_sugar.egg-info/PKG-INFO 2018-02-06
14:32:15.000000000 +0100
@@ -1,14 +1,15 @@
Metadata-Version: 1.1
Name: pytest-sugar
-Version: 0.9.0
+Version: 0.9.1
Summary: py.test is a plugin for py.test that changes the default look and
feel of py.test (e.g. progressbar, show tests that fail instantly).
Home-page: http://pivotfinland.com/pytest-sugar/
Author: Teemu, Janne Vanhala and others
Author-email: [email protected], [email protected]
License: BSD
+Description-Content-Type: UNKNOWN
Description: # pytest-sugar
-
[](https://travis-ci.org/Frozenball/pytest-sugar)

+
[](https://travis-ci.org/Frozenball/pytest-sugar)

pytest-sugar is a plugin for [py.test](http://pytest.org) that shows
failures and errors instantly and shows a progress bar.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-sugar-0.9.0/pytest_sugar.py
new/pytest-sugar-0.9.1/pytest_sugar.py
--- old/pytest-sugar-0.9.0/pytest_sugar.py 2017-08-15 09:39:26.000000000
+0200
+++ new/pytest-sugar-0.9.1/pytest_sugar.py 2018-02-06 14:31:18.000000000
+0100
@@ -27,7 +27,7 @@
from _pytest.terminal import TerminalReporter
-__version__ = '0.9.0'
+__version__ = '0.9.1'
LEN_RIGHT_MARGIN = 0
LEN_PROGRESS_PERCENTAGE = 5
@@ -390,6 +390,13 @@
# show the module_name & in verbose mode the test name.
pass
+ if pytest.__version__ >= '3.4':
+
+ def pytest_runtest_logfinish(self):
+ # prevent the default implementation to try to show
+ # pytest's default progress
+ pass
+
def report_key(self, report):
"""Returns a key to identify which line the report should write to."""
return report.location if self.showlongtestinfo else report.fspath
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-sugar-0.9.0/tox.ini
new/pytest-sugar-0.9.1/tox.ini
--- old/pytest-sugar-0.9.0/tox.ini 2017-08-14 18:17:44.000000000 +0200
+++ new/pytest-sugar-0.9.1/tox.ini 2018-02-06 14:31:18.000000000 +0100
@@ -7,6 +7,7 @@
envlist = py{27,34,35,36,py}-pytest30-supported-xdist,
py{27,35}-pytest30-unsupported-xdist,
py{27,34,py}-pytest31-supported-xdist
+ py{27,34,py}-pytest34-supported-xdist
[testenv]
passenv = CI TRAVIS_BUILD_ID TRAVIS TRAVIS_BRANCH TRAVIS_JOB_NUMBER
TRAVIS_PULL_REQUEST TRAVIS_JOB_ID TRAVIS_REPO_SLUG TRAVIS_COMMIT
@@ -15,6 +16,7 @@
pytest-cov
pytest30: pytest>=3.0,<3.1
pytest31: pytest>=3.1,<3.2
+ pytest34: pytest>=3.4,<3.5
termcolor>=1.1.0
supported-xdist: pytest-xdist>=1.14
unsupported-xdist: pytest-xdist<1.14