Hello community,

here is the log from the commit of package python-pytest-instafail for 
openSUSE:Factory checked in at 2019-02-28 21:44:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-instafail (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-instafail.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-instafail"

Thu Feb 28 21:44:04 2019 rev:4 rq:679828 version:0.4.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pytest-instafail/python-pytest-instafail.changes
  2019-02-25 17:51:31.378747710 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-instafail.new.28833/python-pytest-instafail.changes
       2019-02-28 21:44:05.417507500 +0100
@@ -1,0 +2,7 @@
+Wed Feb 27 13:51:04 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 0.4.1:
+  * Fixed compatibility with pytest 4.2.0. Thanks @blueyed for the PR.
+- Drop merged patch pytest42.patch
+
+-------------------------------------------------------------------

Old:
----
  pytest-instafail-0.4.0.tar.gz
  pytest42.patch

New:
----
  pytest-instafail-0.4.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pytest-instafail.spec ++++++
--- /var/tmp/diff_new_pack.hBy0Sy/_old  2019-02-28 21:44:05.917507287 +0100
+++ /var/tmp/diff_new_pack.hBy0Sy/_new  2019-02-28 21:44:05.917507287 +0100
@@ -18,14 +18,13 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pytest-instafail
-Version:        0.4.0
+Version:        0.4.1
 Release:        0
 Summary:        Pytest Plugin to Show Failures Instantly
 License:        BSD-2-Clause
 Group:          Development/Languages/Python
 URL:            https://github.com/jpvanhal/pytest-instafail
 Source:         
https://files.pythonhosted.org/packages/source/p/pytest-instafail/pytest-instafail-%{version}.tar.gz
-Patch0:         pytest42.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -43,7 +42,6 @@
 
 %prep
 %setup -q -n pytest-instafail-%{version}
-%patch0 -p1
 
 %build
 %python_build

++++++ pytest-instafail-0.4.0.tar.gz -> pytest-instafail-0.4.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-instafail-0.4.0/CHANGES.rst 
new/pytest-instafail-0.4.1/CHANGES.rst
--- old/pytest-instafail-0.4.0/CHANGES.rst      2018-05-19 13:39:31.000000000 
+0200
+++ new/pytest-instafail-0.4.1/CHANGES.rst      2019-02-15 14:45:52.000000000 
+0100
@@ -3,6 +3,11 @@
 
 Here you can see the full list of changes between each pytest-instafail 
release.
 
+0.4.1 (February 15, 2019)
+^^^^^^^^^^^^^^^^^^^^^^^^^
+
+- Fixed compatibility with pytest 4.2.0. Thanks @blueyed for the PR.
+
 0.4.0 (May 19, 2018)
 ^^^^^^^^^^^^^^^^^^^^
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-instafail-0.4.0/PKG-INFO 
new/pytest-instafail-0.4.1/PKG-INFO
--- old/pytest-instafail-0.4.0/PKG-INFO 2018-05-19 13:40:04.000000000 +0200
+++ new/pytest-instafail-0.4.1/PKG-INFO 2019-02-15 14:46:53.000000000 +0100
@@ -1,12 +1,11 @@
 Metadata-Version: 1.1
 Name: pytest-instafail
-Version: 0.4.0
+Version: 0.4.1
 Summary: py.test plugin to show failures instantly
 Home-page: https://github.com/pytest-dev/pytest-instafail
 Author: Janne Vanhala
 Author-email: [email protected]
 License: BSD
-Description-Content-Type: UNKNOWN
 Description: pytest-instafail
         ================
         
@@ -24,7 +23,7 @@
         
         You will need the following prerequisites in order to use 
pytest-instafail:
         
-        - Python 2.6, 2.7, 3.2, 3.3, 3.4, 3.5 or PyPy
+        - Python 2.7, 3.4, 3.5, 3.6, 3.7 or PyPy
         - pytest 2.9 or newer
         
         Installation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-instafail-0.4.0/README.rst 
new/pytest-instafail-0.4.1/README.rst
--- old/pytest-instafail-0.4.0/README.rst       2018-05-19 09:10:36.000000000 
+0200
+++ new/pytest-instafail-0.4.1/README.rst       2018-05-19 13:45:24.000000000 
+0200
@@ -15,7 +15,7 @@
 
 You will need the following prerequisites in order to use pytest-instafail:
 
-- Python 2.6, 2.7, 3.2, 3.3, 3.4, 3.5 or PyPy
+- Python 2.7, 3.4, 3.5, 3.6, 3.7 or PyPy
 - pytest 2.9 or newer
 
 Installation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-instafail-0.4.0/pytest_instafail.egg-info/PKG-INFO 
new/pytest-instafail-0.4.1/pytest_instafail.egg-info/PKG-INFO
--- old/pytest-instafail-0.4.0/pytest_instafail.egg-info/PKG-INFO       
2018-05-19 13:40:04.000000000 +0200
+++ new/pytest-instafail-0.4.1/pytest_instafail.egg-info/PKG-INFO       
2019-02-15 14:46:53.000000000 +0100
@@ -1,12 +1,11 @@
 Metadata-Version: 1.1
 Name: pytest-instafail
-Version: 0.4.0
+Version: 0.4.1
 Summary: py.test plugin to show failures instantly
 Home-page: https://github.com/pytest-dev/pytest-instafail
 Author: Janne Vanhala
 Author-email: [email protected]
 License: BSD
-Description-Content-Type: UNKNOWN
 Description: pytest-instafail
         ================
         
@@ -24,7 +23,7 @@
         
         You will need the following prerequisites in order to use 
pytest-instafail:
         
-        - Python 2.6, 2.7, 3.2, 3.3, 3.4, 3.5 or PyPy
+        - Python 2.7, 3.4, 3.5, 3.6, 3.7 or PyPy
         - pytest 2.9 or newer
         
         Installation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-instafail-0.4.0/pytest_instafail.py 
new/pytest-instafail-0.4.1/pytest_instafail.py
--- old/pytest-instafail-0.4.0/pytest_instafail.py      2018-05-19 
13:37:41.000000000 +0200
+++ new/pytest-instafail-0.4.1/pytest_instafail.py      2019-02-15 
14:44:05.000000000 +0100
@@ -76,11 +76,13 @@
                 self.write_line(line)
             else:
                 msg = self._getfailureheadline(report)
-                if not hasattr(report, 'when'):
+                # "when" was unset before pytest 4.2 for collection errors.
+                when = getattr(report, "when", "collect")
+                if when == "collect":
                     msg = "ERROR collecting " + msg
-                elif report.when == "setup":
+                elif when == "setup":
                     msg = "ERROR at setup of " + msg
-                elif report.when == "teardown":
+                elif when == "teardown":
                     msg = "ERROR at teardown of " + msg
                 self.write_sep("_", msg)
                 if not self.config.getvalue("usepdb"):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-instafail-0.4.0/setup.py 
new/pytest-instafail-0.4.1/setup.py
--- old/pytest-instafail-0.4.0/setup.py 2018-05-19 13:39:17.000000000 +0200
+++ new/pytest-instafail-0.4.1/setup.py 2019-02-15 14:44:26.000000000 +0100
@@ -4,7 +4,7 @@
     name='pytest-instafail',
     description='py.test plugin to show failures instantly',
     long_description=open("README.rst").read(),
-    version='0.4.0',
+    version='0.4.1',
     url='https://github.com/pytest-dev/pytest-instafail',
     license='BSD',
     author='Janne Vanhala',


Reply via email to