Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pytest-instafail for 
openSUSE:Factory checked in at 2023-05-05 15:58:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-instafail (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-instafail.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-instafail"

Fri May  5 15:58:28 2023 rev:9 rq:1084901 version:0.5.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pytest-instafail/python-pytest-instafail.changes
  2020-06-29 21:18:26.725798867 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-instafail.new.1533/python-pytest-instafail.changes
        2023-05-05 15:58:52.092629327 +0200
@@ -1,0 +2,9 @@
+Thu May  4 22:54:59 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- update to 0.5.0:
+  * Use ``pytest.hookimpl`` to configure hooks, avoiding a
+    deprecation warning in pytest 7.2.0.
+  * Dropped support for Python 3.6.
+  * Added support for Python 3.11.
+
+-------------------------------------------------------------------

Old:
----
  pytest-instafail-0.4.2.tar.gz

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

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

Other differences:
------------------
++++++ python-pytest-instafail.spec ++++++
--- /var/tmp/diff_new_pack.bzekiX/_old  2023-05-05 15:58:52.496631641 +0200
+++ /var/tmp/diff_new_pack.bzekiX/_new  2023-05-05 15:58:52.500631664 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pytest-instafail
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,9 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?sle15_python_module_pythons}
 Name:           python-pytest-instafail
-Version:        0.4.2
+Version:        0.5.0
 Release:        0
 Summary:        Pytest Plugin to Show Failures Instantly
 License:        BSD-2-Clause

++++++ pytest-instafail-0.4.2.tar.gz -> pytest-instafail-0.5.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-instafail-0.4.2/CHANGES.rst 
new/pytest-instafail-0.5.0/CHANGES.rst
--- old/pytest-instafail-0.4.2/CHANGES.rst      2020-06-14 11:44:02.000000000 
+0200
+++ new/pytest-instafail-0.5.0/CHANGES.rst      2023-03-31 19:07:33.000000000 
+0200
@@ -3,6 +3,14 @@
 
 Here you can see the full list of changes between each pytest-instafail 
release.
 
+0.5.0 (March 31, 2023)
+^^^^^^^^^^^^^^^^^^^^^^
+
+- Use ``pytest.hookimpl`` to configure hooks, avoiding a deprecation warning in
+  pytest 7.2.0.
+- Dropped support for Python 3.6.
+- Added support for Python 3.11.
+
 0.4.2 (June 14, 2020)
 ^^^^^^^^^^^^^^^^^^^^^
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-instafail-0.4.2/PKG-INFO 
new/pytest-instafail-0.5.0/PKG-INFO
--- old/pytest-instafail-0.4.2/PKG-INFO 2020-06-14 11:47:29.130663600 +0200
+++ new/pytest-instafail-0.5.0/PKG-INFO 2023-03-31 19:15:35.078453300 +0200
@@ -1,50 +1,11 @@
-Metadata-Version: 1.2
+Metadata-Version: 2.1
 Name: pytest-instafail
-Version: 0.4.2
+Version: 0.5.0
 Summary: pytest plugin to show failures instantly
 Home-page: https://github.com/pytest-dev/pytest-instafail
 Author: Janne Vanhala
 Author-email: janne.vanh...@gmail.com
 License: BSD
-Description: pytest-instafail
-        ================
-        
-        |build status|_
-        
-        .. |build status| image:: 
https://travis-ci.org/pytest-dev/pytest-instafail.svg?branch=master
-           :alt: Build Status
-        .. _build status: https://travis-ci.org/pytest-dev/pytest-instafail
-        
-        pytest-instafail is a plugin for `pytest <https://pytest.org>`_ that 
shows
-        failures and errors instantly instead of waiting until the end of test 
session.
-        
-        Requirements
-        ------------
-        
-        You will need the following prerequisites in order to use 
pytest-instafail:
-        
-        - Python 2.7, 3.5+ or PyPy
-        - pytest 2.9 or newer
-        
-        Installation
-        ------------
-        
-        To install pytest-instafail::
-        
-            $ pip install pytest-instafail
-        
-        Then run your tests with::
-        
-            $ pytest --instafail
-        
-        Resources
-        ---------
-        
-        - `Issue Tracker 
<https://github.com/pytest-dev/pytest-instafail/issues>`_
-        - `Code <https://github.com/pytest-dev/pytest-instafail/>`_
-        - `Development Version
-          
<https://github.com/pytest-dev/pytest-instafail/zipball/master#egg=pytest-instafail-dev>`_
-        
 Platform: any
 Classifier: Development Status :: 4 - Beta
 Classifier: Intended Audience :: Developers
@@ -55,12 +16,52 @@
 Classifier: Topic :: Software Development :: Testing
 Classifier: Topic :: Software Development :: Libraries
 Classifier: Topic :: Utilities
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.5
-Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3 :: Only
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
 Classifier: Programming Language :: Python :: Implementation :: PyPy
-Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
+Requires-Python: >=3.7
+License-File: LICENSE
+
+pytest-instafail
+================
+
+|build status|_
+
+.. |build status| image:: 
https://github.com/pytest-dev/pytest-instafail/actions/workflows/test.yml/badge.svg
+   :alt: Build Status
+.. _build status: 
https://github.com/pytest-dev/pytest-instafail/actions/workflows/test.yml
+
+pytest-instafail is a plugin for `pytest <https://pytest.org>`_ that shows
+failures and errors instantly instead of waiting until the end of test session.
+
+Requirements
+------------
+
+You will need the following prerequisites in order to use pytest-instafail:
+
+- Python 3.7+ or PyPy3
+- pytest 5 or newer
+
+Installation
+------------
+
+To install pytest-instafail::
+
+    $ pip install pytest-instafail
+
+Then run your tests with::
+
+    $ pytest --instafail
+
+Resources
+---------
+
+- `Issue Tracker <https://github.com/pytest-dev/pytest-instafail/issues>`_
+- `Code <https://github.com/pytest-dev/pytest-instafail/>`_
+- `Development Version
+  
<https://github.com/pytest-dev/pytest-instafail/zipball/master#egg=pytest-instafail-dev>`_
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-instafail-0.4.2/README.rst 
new/pytest-instafail-0.5.0/README.rst
--- old/pytest-instafail-0.4.2/README.rst       2020-06-14 11:03:23.000000000 
+0200
+++ new/pytest-instafail-0.5.0/README.rst       2023-03-31 19:04:45.000000000 
+0200
@@ -3,9 +3,9 @@
 
 |build status|_
 
-.. |build status| image:: 
https://travis-ci.org/pytest-dev/pytest-instafail.svg?branch=master
+.. |build status| image:: 
https://github.com/pytest-dev/pytest-instafail/actions/workflows/test.yml/badge.svg
    :alt: Build Status
-.. _build status: https://travis-ci.org/pytest-dev/pytest-instafail
+.. _build status: 
https://github.com/pytest-dev/pytest-instafail/actions/workflows/test.yml
 
 pytest-instafail is a plugin for `pytest <https://pytest.org>`_ that shows
 failures and errors instantly instead of waiting until the end of test session.
@@ -15,8 +15,8 @@
 
 You will need the following prerequisites in order to use pytest-instafail:
 
-- Python 2.7, 3.5+ or PyPy
-- pytest 2.9 or newer
+- Python 3.7+ or PyPy3
+- pytest 5 or newer
 
 Installation
 ------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-instafail-0.4.2/pytest_instafail.egg-info/PKG-INFO 
new/pytest-instafail-0.5.0/pytest_instafail.egg-info/PKG-INFO
--- old/pytest-instafail-0.4.2/pytest_instafail.egg-info/PKG-INFO       
2020-06-14 11:47:29.000000000 +0200
+++ new/pytest-instafail-0.5.0/pytest_instafail.egg-info/PKG-INFO       
2023-03-31 19:15:35.000000000 +0200
@@ -1,50 +1,11 @@
-Metadata-Version: 1.2
+Metadata-Version: 2.1
 Name: pytest-instafail
-Version: 0.4.2
+Version: 0.5.0
 Summary: pytest plugin to show failures instantly
 Home-page: https://github.com/pytest-dev/pytest-instafail
 Author: Janne Vanhala
 Author-email: janne.vanh...@gmail.com
 License: BSD
-Description: pytest-instafail
-        ================
-        
-        |build status|_
-        
-        .. |build status| image:: 
https://travis-ci.org/pytest-dev/pytest-instafail.svg?branch=master
-           :alt: Build Status
-        .. _build status: https://travis-ci.org/pytest-dev/pytest-instafail
-        
-        pytest-instafail is a plugin for `pytest <https://pytest.org>`_ that 
shows
-        failures and errors instantly instead of waiting until the end of test 
session.
-        
-        Requirements
-        ------------
-        
-        You will need the following prerequisites in order to use 
pytest-instafail:
-        
-        - Python 2.7, 3.5+ or PyPy
-        - pytest 2.9 or newer
-        
-        Installation
-        ------------
-        
-        To install pytest-instafail::
-        
-            $ pip install pytest-instafail
-        
-        Then run your tests with::
-        
-            $ pytest --instafail
-        
-        Resources
-        ---------
-        
-        - `Issue Tracker 
<https://github.com/pytest-dev/pytest-instafail/issues>`_
-        - `Code <https://github.com/pytest-dev/pytest-instafail/>`_
-        - `Development Version
-          
<https://github.com/pytest-dev/pytest-instafail/zipball/master#egg=pytest-instafail-dev>`_
-        
 Platform: any
 Classifier: Development Status :: 4 - Beta
 Classifier: Intended Audience :: Developers
@@ -55,12 +16,52 @@
 Classifier: Topic :: Software Development :: Testing
 Classifier: Topic :: Software Development :: Libraries
 Classifier: Topic :: Utilities
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.5
-Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3 :: Only
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
 Classifier: Programming Language :: Python :: Implementation :: PyPy
-Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
+Requires-Python: >=3.7
+License-File: LICENSE
+
+pytest-instafail
+================
+
+|build status|_
+
+.. |build status| image:: 
https://github.com/pytest-dev/pytest-instafail/actions/workflows/test.yml/badge.svg
+   :alt: Build Status
+.. _build status: 
https://github.com/pytest-dev/pytest-instafail/actions/workflows/test.yml
+
+pytest-instafail is a plugin for `pytest <https://pytest.org>`_ that shows
+failures and errors instantly instead of waiting until the end of test session.
+
+Requirements
+------------
+
+You will need the following prerequisites in order to use pytest-instafail:
+
+- Python 3.7+ or PyPy3
+- pytest 5 or newer
+
+Installation
+------------
+
+To install pytest-instafail::
+
+    $ pip install pytest-instafail
+
+Then run your tests with::
+
+    $ pytest --instafail
+
+Resources
+---------
+
+- `Issue Tracker <https://github.com/pytest-dev/pytest-instafail/issues>`_
+- `Code <https://github.com/pytest-dev/pytest-instafail/>`_
+- `Development Version
+  
<https://github.com/pytest-dev/pytest-instafail/zipball/master#egg=pytest-instafail-dev>`_
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-instafail-0.4.2/pytest_instafail.egg-info/entry_points.txt 
new/pytest-instafail-0.5.0/pytest_instafail.egg-info/entry_points.txt
--- old/pytest-instafail-0.4.2/pytest_instafail.egg-info/entry_points.txt       
2020-06-14 11:47:29.000000000 +0200
+++ new/pytest-instafail-0.5.0/pytest_instafail.egg-info/entry_points.txt       
2023-03-31 19:15:35.000000000 +0200
@@ -1,3 +1,2 @@
 [pytest11]
 instafail = pytest_instafail
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-instafail-0.4.2/pytest_instafail.egg-info/requires.txt 
new/pytest-instafail-0.5.0/pytest_instafail.egg-info/requires.txt
--- old/pytest-instafail-0.4.2/pytest_instafail.egg-info/requires.txt   
2020-06-14 11:47:29.000000000 +0200
+++ new/pytest-instafail-0.5.0/pytest_instafail.egg-info/requires.txt   
2023-03-31 19:15:35.000000000 +0200
@@ -1 +1 @@
-pytest>=2.9
+pytest>=5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-instafail-0.4.2/pytest_instafail.py 
new/pytest-instafail-0.5.0/pytest_instafail.py
--- old/pytest-instafail-0.4.2/pytest_instafail.py      2020-06-14 
11:41:54.000000000 +0200
+++ new/pytest-instafail-0.5.0/pytest_instafail.py      2023-03-31 
19:04:45.000000000 +0200
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
 """
 pytest_instafail
 ~~~~~~~~~~~~~~~~
@@ -23,7 +22,7 @@
     )
 
 
-@pytest.mark.trylast
+@pytest.hookimpl(trylast=True)
 def pytest_configure(config):
     if hasattr(config, 'workerinput'):
         return  # xdist worker, we are already active on the master
@@ -51,7 +50,7 @@
             self.print_failure(report)
 
     def pytest_runtest_logreport(self, report):
-        # Show failures and errors occuring during running a test
+        # Show failures and errors occurring during running a test
         # instantly.
         TerminalReporter.pytest_runtest_logreport(self, report)
         if report.failed and not hasattr(report, 'wasxfail'):
@@ -61,12 +60,12 @@
 
     def summary_failures(self):
         # Prevent failure summary from being shown since we already
-        # show the failure instantly after failure has occured.
+        # show the failure instantly after failure has occurred.
         pass
 
     def summary_errors(self):
         # Prevent error summary from being shown since we already
-        # show the error instantly after error has occured.
+        # show the error instantly after error has occurred.
         pass
 
     def print_failure(self, report):
@@ -76,13 +75,11 @@
                 self.write_line(line)
             else:
                 msg = self._getfailureheadline(report)
-                # "when" was unset before pytest 4.2 for collection errors.
-                when = getattr(report, "when", "collect")
-                if when == "collect":
+                if report.when == "collect":
                     msg = "ERROR collecting " + msg
-                elif when == "setup":
+                elif report.when == "setup":
                     msg = "ERROR at setup of " + msg
-                elif when == "teardown":
+                elif report.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.2/setup.cfg 
new/pytest-instafail-0.5.0/setup.cfg
--- old/pytest-instafail-0.4.2/setup.cfg        2020-06-14 11:47:29.131243000 
+0200
+++ new/pytest-instafail-0.5.0/setup.cfg        2023-03-31 19:15:35.078684300 
+0200
@@ -1,5 +1,5 @@
-[bdist_wheel]
-universal = 1
+[tool:pytest]
+addopts = --color=yes
 
 [egg_info]
 tag_build = 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-instafail-0.4.2/setup.py 
new/pytest-instafail-0.5.0/setup.py
--- old/pytest-instafail-0.4.2/setup.py 2020-06-14 11:44:12.000000000 +0200
+++ new/pytest-instafail-0.5.0/setup.py 2023-03-31 19:06:51.000000000 +0200
@@ -4,7 +4,7 @@
     name='pytest-instafail',
     description='pytest plugin to show failures instantly',
     long_description=open("README.rst").read(),
-    version='0.4.2',
+    version='0.5.0',
     url='https://github.com/pytest-dev/pytest-instafail',
     license='BSD',
     author='Janne Vanhala',
@@ -14,8 +14,8 @@
     zip_safe=False,
     include_package_data=True,
     platforms='any',
-    install_requires=['pytest>=2.9'],
-    python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
+    install_requires=['pytest>=5'],
+    python_requires='>=3.7',
     classifiers=[
         'Development Status :: 4 - Beta',
         'Intended Audience :: Developers',
@@ -26,13 +26,13 @@
         'Topic :: Software Development :: Testing',
         'Topic :: Software Development :: Libraries',
         'Topic :: Utilities',
-        'Programming Language :: Python :: 2',
-        'Programming Language :: Python :: 2.7',
         'Programming Language :: Python :: 3',
-        'Programming Language :: Python :: 3.5',
-        'Programming Language :: Python :: 3.6',
+        'Programming Language :: Python :: 3 :: Only',
         'Programming Language :: Python :: 3.7',
         'Programming Language :: Python :: 3.8',
+        'Programming Language :: Python :: 3.9',
+        'Programming Language :: Python :: 3.10',
+        'Programming Language :: Python :: 3.11',
         'Programming Language :: Python :: Implementation :: PyPy',
     ]
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-instafail-0.4.2/test_instafail.py 
new/pytest-instafail-0.5.0/test_instafail.py
--- old/pytest-instafail-0.4.2/test_instafail.py        2020-06-14 
11:41:54.000000000 +0200
+++ new/pytest-instafail-0.5.0/test_instafail.py        2023-03-31 
19:04:45.000000000 +0200
@@ -1,10 +1,8 @@
-# -*- coding: utf-8 -*-
-
 pytest_plugins = "pytester"
 import pytest
 
 
-class Option(object):
+class Option:
     def __init__(self, verbose=False, quiet=False, n=None):
         self.verbose = verbose
         self.quiet = quiet
@@ -40,7 +38,7 @@
     }[request.param]
 
 
-class TestInstafailingTerminalReporter(object):
+class TestInstafailingTerminalReporter:
     def test_fail(self, testdir, option):
         testdir.makepyfile(
             """

Reply via email to