Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pytest-tldr for 
openSUSE:Factory checked in at 2021-12-09 19:45:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-tldr (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-tldr.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-tldr"

Thu Dec  9 19:45:37 2021 rev:6 rq:937345 version:0.2.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest-tldr/python-pytest-tldr.changes    
2020-08-28 21:22:27.728356265 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-tldr.new.2520/python-pytest-tldr.changes
  2021-12-09 19:46:10.249149474 +0100
@@ -1,0 +2,8 @@
+Wed Dec  8 09:32:17 UTC 2021 - pgaj...@suse.com
+
+- version update to 0.2.4
+  * Restored compatibility with pytest < 6. (`#32 
<https://github.com/freakboy3742/pytest-tldr/issues/32>`_)
+  * Corrected output stream flush handling. This prevented long-running test 
results
+    from being displayed until the end of the test suite. (`#28 
<https://github.com/freakboy3742/pytest-tldr/issues/28>`_)
+
+-------------------------------------------------------------------

Old:
----
  pytest-tldr-0.2.2.tar.gz

New:
----
  pytest-tldr-0.2.4.tar.gz

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

Other differences:
------------------
++++++ python-pytest-tldr.spec ++++++
--- /var/tmp/diff_new_pack.3zlNJB/_old  2021-12-09 19:46:10.893149784 +0100
+++ /var/tmp/diff_new_pack.3zlNJB/_new  2021-12-09 19:46:10.897149786 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pytest-tldr
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # 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-tldr
-Version:        0.2.2
+Version:        0.2.4
 Release:        0
 Summary:        A pytest plugin that limits the output to just the things you 
need
 License:        BSD-3-Clause
@@ -27,7 +27,6 @@
 Source:         
https://files.pythonhosted.org/packages/source/p/pytest-tldr/pytest-tldr-%{version}.tar.gz
 BuildRequires:  %{python_module pytest >= 3.5.0}
 BuildRequires:  %{python_module pytest-cov}
-BuildRequires:  %{python_module pytest-runner}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -49,8 +48,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# test_coverage is failing
-%pytest -k 'not test_coverage'
+%pytest
 
 %files %{python_files}
 %doc README.rst

++++++ pytest-tldr-0.2.2.tar.gz -> pytest-tldr-0.2.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-tldr-0.2.2/CHANGELOG.rst 
new/pytest-tldr-0.2.4/CHANGELOG.rst
--- old/pytest-tldr-0.2.2/CHANGELOG.rst 2020-08-08 02:59:42.000000000 +0200
+++ new/pytest-tldr-0.2.4/CHANGELOG.rst 2021-03-12 03:19:10.000000000 +0100
@@ -4,6 +4,25 @@
 
 .. towncrier release notes start
 
+0.2.4 (2021-03-12)
+------------------
+
+Bugfixes
+^^^^^^^^
+
+* Restored compatibility with pytest < 6. (`#32 
<https://github.com/freakboy3742/pytest-tldr/issues/32>`_)
+
+
+0.2.3 (2021-03-10)
+------------------
+
+Bugfixes
+^^^^^^^^
+
+* Corrected output stream flush handling. This prevented long-running test 
results
+  from being displayed until the end of the test suite. (`#28 
<https://github.com/freakboy3742/pytest-tldr/issues/28>`_)
+
+
 0.2.2 (2020-08-08)
 ------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-tldr-0.2.2/PKG-INFO 
new/pytest-tldr-0.2.4/PKG-INFO
--- old/pytest-tldr-0.2.2/PKG-INFO      2020-08-08 03:00:01.667696200 +0200
+++ new/pytest-tldr-0.2.4/PKG-INFO      2021-03-12 03:19:35.720042500 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: pytest-tldr
-Version: 0.2.2
+Version: 0.2.4
 Summary: A pytest plugin that limits the output to just the things you need.
 Home-page: UNKNOWN
 Author: Russell Keith-Magee
@@ -165,14 +165,14 @@
 Classifier: Topic :: Software Development :: Testing
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3 :: Only
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Operating System :: OS Independent
 Classifier: License :: OSI Approved :: BSD License
-Requires-Python: !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*
+Requires-Python: >=3.6
 Description-Content-Type: text/x-rst; charset=UTF-8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-tldr-0.2.2/pytest_tldr.egg-info/PKG-INFO 
new/pytest-tldr-0.2.4/pytest_tldr.egg-info/PKG-INFO
--- old/pytest-tldr-0.2.2/pytest_tldr.egg-info/PKG-INFO 2020-08-08 
03:00:01.000000000 +0200
+++ new/pytest-tldr-0.2.4/pytest_tldr.egg-info/PKG-INFO 2021-03-12 
03:19:35.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: pytest-tldr
-Version: 0.2.2
+Version: 0.2.4
 Summary: A pytest plugin that limits the output to just the things you need.
 Home-page: UNKNOWN
 Author: Russell Keith-Magee
@@ -165,14 +165,14 @@
 Classifier: Topic :: Software Development :: Testing
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3 :: Only
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Operating System :: OS Independent
 Classifier: License :: OSI Approved :: BSD License
-Requires-Python: !=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*
+Requires-Python: >=3.6
 Description-Content-Type: text/x-rst; charset=UTF-8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-tldr-0.2.2/pytest_tldr.py 
new/pytest-tldr-0.2.4/pytest_tldr.py
--- old/pytest-tldr-0.2.2/pytest_tldr.py        2020-08-08 02:59:42.000000000 
+0200
+++ new/pytest-tldr-0.2.4/pytest_tldr.py        2021-03-12 03:19:10.000000000 
+0100
@@ -21,7 +21,7 @@
         TESTS_FAILED = EXIT_TESTSFAILED
 
 
-__version__ = '0.2.2'
+__version__ = '0.2.4'
 
 
 @pytest.hookimpl(trylast=True)
@@ -114,15 +114,18 @@
 
     def print(self, text='', **kwargs):
         end = kwargs.pop('end', '\n')
-        if sys.version_info.major == 2:
-            # Python 2.7 doesn't accept the flush kwarg.
-            flush = kwargs.pop('flush', False)
-            self._tw.write(text)
-            if flush:
-                self.file.flush()
-        else:
-            self._tw.write(text)
+
+        self._tw.write(text)
         self._tw.write(end)
+        try:
+            if kwargs.pop('flush', False):
+                self._tw.flush()
+        except AttributeError:
+            # pytest 6 introduced a separate flush argument to
+            # TerminalWriter.write(), and a standalone TerminalWriter.flush()
+            # method. This argument/method didn't exist on pytest 5 and lower;
+            # the flush was made implicitly on every write.
+            pass
 
     def pytest_internalerror(self, excrepr):
         for line in str(excrepr).split("\n"):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-tldr-0.2.2/setup.cfg 
new/pytest-tldr-0.2.4/setup.cfg
--- old/pytest-tldr-0.2.2/setup.cfg     2020-08-08 03:00:01.667696200 +0200
+++ new/pytest-tldr-0.2.4/setup.cfg     2021-03-12 03:19:35.720042500 +0100
@@ -16,10 +16,10 @@
        Topic :: Software Development :: Testing
        Programming Language :: Python
        Programming Language :: Python :: 3
-       Programming Language :: Python :: 3.5
        Programming Language :: Python :: 3.6
        Programming Language :: Python :: 3.7
        Programming Language :: Python :: 3.8
+       Programming Language :: Python :: 3.9
        Programming Language :: Python :: 3 :: Only
        Programming Language :: Python :: Implementation :: CPython
        Programming Language :: Python :: Implementation :: PyPy
@@ -39,7 +39,7 @@
 
 [options]
 zip_safe = False
-python_requires = !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
+python_requires = >= 3.6
 install_requires = 
        pytest >= 3.5.0
 py_modules = 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-tldr-0.2.2/tox.ini 
new/pytest-tldr-0.2.4/tox.ini
--- old/pytest-tldr-0.2.2/tox.ini       2020-08-08 02:59:42.000000000 +0200
+++ new/pytest-tldr-0.2.4/tox.ini       2021-03-12 03:19:10.000000000 +0100
@@ -4,12 +4,15 @@
 # and then run "tox" from this directory.
 
 [tox]
-envlist = flake8,check-manifest,towncrier-check,package,py{35,36,37,38}
+envlist = 
flake8,check-manifest,towncrier-check,package,py{36,37,38,39}-pytest{3,4,5,6}
 skip_missing_interpreters = true
 
 [testenv]
 deps =
-    pytest
+    pytest3: pytest < 4
+    pytest4: pytest < 5
+    pytest5: pytest < 6
+    pytest6: pytest >= 6.0.0
     pytest-cov
     pytest-tldr
 commands =

Reply via email to