Hello community,

here is the log from the commit of package python-pytest-tldr for 
openSUSE:Factory checked in at 2019-06-12 13:15:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-tldr (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-tldr.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-tldr"

Wed Jun 12 13:15:13 2019 rev:2 rq:708937 version:0.1.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest-tldr/python-pytest-tldr.changes    
2019-04-02 09:20:40.084619550 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-tldr.new.4811/python-pytest-tldr.changes
  2019-06-12 13:15:17.184754566 +0200
@@ -1,0 +2,6 @@
+Mon Jun 10 08:16:20 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Update to 0.1.6:
+  * No upstream changelog provided
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ python-pytest-tldr.spec ++++++
--- /var/tmp/diff_new_pack.Qo3Vys/_old  2019-06-12 13:15:17.684754042 +0200
+++ /var/tmp/diff_new_pack.Qo3Vys/_new  2019-06-12 13:15:17.688754037 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pytest-tldr
-Version:        0.1.5
+Version:        0.1.6
 Release:        0
 Summary:        A pytest plugin that limits the output to just the things you 
need
 License:        BSD-3-Clause
@@ -26,14 +26,13 @@
 URL:            https://github.com/freakboy3742/pytest-tldr
 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
 Requires:       python-pytest >= 3.5.0
 BuildArch:      noarch
-# SECTION test requirements
-BuildRequires:  %{python_module pytest-runner}
-# /SECTION
 %python_subpackages
 
 %description
@@ -51,7 +50,7 @@
 
 %check
 # test_coverage is failing
-%python_exec -m pytest -k 'not test_coverage'
+%pytest -k 'not test_coverage'
 
 %files %{python_files}
 %doc README.rst

++++++ pytest-tldr-0.1.5.tar.gz -> pytest-tldr-0.1.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-tldr-0.1.5/PKG-INFO 
new/pytest-tldr-0.1.6/PKG-INFO
--- old/pytest-tldr-0.1.5/PKG-INFO      2018-07-28 03:03:40.000000000 +0200
+++ new/pytest-tldr-0.1.6/PKG-INFO      2019-06-02 05:38:07.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.2
+Metadata-Version: 2.1
 Name: pytest-tldr
-Version: 0.1.5
+Version: 0.1.6
 Summary: A pytest plugin that limits the output to just the things you need.
 Home-page: https://github.com/freakboy3742/pytest-tldr
 Author: Russell Keith-Magee
@@ -24,10 +24,9 @@
             :target: https://github.com/pybee/briefcase/blob/master/LICENSE
             :alt: License
         
-        .. image:: 
https://beekeeper.herokuapp.com/projects/freakboy3742/pytest-tldr/shield
-            :target: 
https://beekeeper.herokuapp.com/projects/freakboy3742/pytest-tldr
-            :alt: Build status
-        
+        .. image:: 
https://dev.azure.com/beeware-project/pytest-tldr/_apis/build/status/freakboy3742.pytest-tldr?branchName=master
+           :target: 
https://dev.azure.com/beeware-project/pytest-tldr/_build/latest?definitionId=1&branchName=master
+           :alt: CI Status
         
         A `pytest`_ plugin that limits the output of pytest to just the things 
you
         need to see.
@@ -155,6 +154,7 @@
         .. _`pip`: https://pypi.org/project/pip/
         .. _`PyPI`: https://pypi.org/project
         
+Keywords: pytest
 Platform: UNKNOWN
 Classifier: Development Status :: 4 - Beta
 Classifier: Framework :: Pytest
@@ -164,11 +164,12 @@
 Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
 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: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
+Description-Content-Type: text/x-rst; charset=UTF-8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-tldr-0.1.5/README.rst 
new/pytest-tldr-0.1.6/README.rst
--- old/pytest-tldr-0.1.5/README.rst    2018-06-17 04:41:59.000000000 +0200
+++ new/pytest-tldr-0.1.6/README.rst    2019-06-02 05:33:37.000000000 +0200
@@ -14,10 +14,9 @@
     :target: https://github.com/pybee/briefcase/blob/master/LICENSE
     :alt: License
 
-.. image:: 
https://beekeeper.herokuapp.com/projects/freakboy3742/pytest-tldr/shield
-    :target: https://beekeeper.herokuapp.com/projects/freakboy3742/pytest-tldr
-    :alt: Build status
-
+.. image:: 
https://dev.azure.com/beeware-project/pytest-tldr/_apis/build/status/freakboy3742.pytest-tldr?branchName=master
+   :target: 
https://dev.azure.com/beeware-project/pytest-tldr/_build/latest?definitionId=1&branchName=master
+   :alt: CI Status
 
 A `pytest`_ plugin that limits the output of pytest to just the things you
 need to see.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-tldr-0.1.5/beekeeper.yml 
new/pytest-tldr-0.1.6/beekeeper.yml
--- old/pytest-tldr-0.1.5/beekeeper.yml 2018-06-17 04:07:36.000000000 +0200
+++ new/pytest-tldr-0.1.6/beekeeper.yml 1970-01-01 01:00:00.000000000 +0100
@@ -1,22 +0,0 @@
-pull_request:
-    - beefore:
-        name: Prebuild checks
-        subtasks:
-            - pycodestyle:
-                name: Python lint checks
-                task: beefore
-    - smoke-test:
-        task: py34
-        name: Smoke build (Python 3.4)
-    - full-test:
-        subtasks:
-            - py3.5:
-                name: Python 3.5 tests
-                task: py35
-            - py3.6:
-                name: Python 3.6 tests
-                task: py36
-push:
-    - smoke-test:
-        task: py34
-        name: Smoke build (Python 3.4)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-tldr-0.1.5/pytest_tldr.egg-info/PKG-INFO 
new/pytest-tldr-0.1.6/pytest_tldr.egg-info/PKG-INFO
--- old/pytest-tldr-0.1.5/pytest_tldr.egg-info/PKG-INFO 2018-07-28 
03:03:40.000000000 +0200
+++ new/pytest-tldr-0.1.6/pytest_tldr.egg-info/PKG-INFO 2019-06-02 
05:38:07.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.2
+Metadata-Version: 2.1
 Name: pytest-tldr
-Version: 0.1.5
+Version: 0.1.6
 Summary: A pytest plugin that limits the output to just the things you need.
 Home-page: https://github.com/freakboy3742/pytest-tldr
 Author: Russell Keith-Magee
@@ -24,10 +24,9 @@
             :target: https://github.com/pybee/briefcase/blob/master/LICENSE
             :alt: License
         
-        .. image:: 
https://beekeeper.herokuapp.com/projects/freakboy3742/pytest-tldr/shield
-            :target: 
https://beekeeper.herokuapp.com/projects/freakboy3742/pytest-tldr
-            :alt: Build status
-        
+        .. image:: 
https://dev.azure.com/beeware-project/pytest-tldr/_apis/build/status/freakboy3742.pytest-tldr?branchName=master
+           :target: 
https://dev.azure.com/beeware-project/pytest-tldr/_build/latest?definitionId=1&branchName=master
+           :alt: CI Status
         
         A `pytest`_ plugin that limits the output of pytest to just the things 
you
         need to see.
@@ -155,6 +154,7 @@
         .. _`pip`: https://pypi.org/project/pip/
         .. _`PyPI`: https://pypi.org/project
         
+Keywords: pytest
 Platform: UNKNOWN
 Classifier: Development Status :: 4 - Beta
 Classifier: Framework :: Pytest
@@ -164,11 +164,12 @@
 Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
 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: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
+Description-Content-Type: text/x-rst; charset=UTF-8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-tldr-0.1.5/pytest_tldr.egg-info/SOURCES.txt 
new/pytest-tldr-0.1.6/pytest_tldr.egg-info/SOURCES.txt
--- old/pytest-tldr-0.1.5/pytest_tldr.egg-info/SOURCES.txt      2018-07-28 
03:03:40.000000000 +0200
+++ new/pytest-tldr-0.1.6/pytest_tldr.egg-info/SOURCES.txt      2019-06-02 
05:38:07.000000000 +0200
@@ -1,7 +1,6 @@
 LICENSE
 MANIFEST.in
 README.rst
-beekeeper.yml
 pytest_tldr.py
 setup.cfg
 setup.py
@@ -9,6 +8,7 @@
 pytest_tldr.egg-info/SOURCES.txt
 pytest_tldr.egg-info/dependency_links.txt
 pytest_tldr.egg-info/entry_points.txt
+pytest_tldr.egg-info/not-zip-safe
 pytest_tldr.egg-info/requires.txt
 pytest_tldr.egg-info/top_level.txt
 tests/conftest.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-tldr-0.1.5/pytest_tldr.egg-info/not-zip-safe 
new/pytest-tldr-0.1.6/pytest_tldr.egg-info/not-zip-safe
--- old/pytest-tldr-0.1.5/pytest_tldr.egg-info/not-zip-safe     1970-01-01 
01:00:00.000000000 +0100
+++ new/pytest-tldr-0.1.6/pytest_tldr.egg-info/not-zip-safe     2019-06-02 
05:24:15.000000000 +0200
@@ -0,0 +1 @@
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-tldr-0.1.5/pytest_tldr.py 
new/pytest-tldr-0.1.6/pytest_tldr.py
--- old/pytest-tldr-0.1.5/pytest_tldr.py        2018-07-28 03:02:09.000000000 
+0200
+++ new/pytest-tldr-0.1.6/pytest_tldr.py        2019-06-02 05:34:14.000000000 
+0200
@@ -14,6 +14,9 @@
 )
 
 
+__version__ = '0.1.6'
+
+
 @pytest.hookimpl(trylast=True)
 def pytest_configure(config):
     if getattr(config.option, 'cricket_mode', 'off') == 'off':
@@ -59,11 +62,41 @@
         self._tw = _pytest.config.create_terminal_writer(config, file)
         self.reportchars = None
 
+    ######################################################################
+    # Plugin compatibility methods.
+    #
+    # TLDR overwrites TerminalReporter, but some plugins depend
+    # on the outout capabilities of TerminalReporter. Preserve them,
+    # to the extent possible.
+    ######################################################################
+
     def write(self, content, **markup):
-        """A method that exists for compatibility with the default 
terminalreporter"""
-        # Ignore all markup, just print the content.
         self.print(content)
 
+    def write_sep(self, sep, title=None, **markup):
+        self.print(sep * 80)
+        self.print(title)
+        self.print(sep * 80)
+
+    def ensure_newline(self):
+        print()
+
+    def write_line(self, line, **markup):
+        self.ensure_newline()
+        self.print(line)
+
+    def rewrite(self, line, **markup):
+        self.print('\r' + ' '*80 + '\r')
+        self.print(line)
+
+    def section(self, title, sep="=", **kw):
+        self.write_sep(sep, title, **kw)
+
+    def line(self, msg, **kw):
+        self._tw.line(msg, **kw)
+
+    ######################################################################
+
     def print(self, *args, **kwargs):
         if sys.version_info.major == 2:
             # Python 2.7 doesn't accept the flush kwarg.
@@ -81,9 +114,9 @@
 
     def pytest_collectreport(self, report):
         if report.failed:
-            
self.print("======================================================================")
+            self.print("=" * 78)
             self.print("CRITICAL: {}".format(report.nodeid))
-            
self.print("----------------------------------------------------------------------")
+            self.print("-" * 78)
             self.print(report.longrepr)
 
     def pytest_sessionstart(self, session):
@@ -129,7 +162,7 @@
         if not self._started:
             if self.verbosity:
                 self.print()
-                
self.print("----------------------------------------------------------------------")
+                self.print("-" * 78)
             self._started = True
 
         # If we're running in distributed mode, we can't
@@ -235,9 +268,9 @@
 
         errors = self.stats.get('E', [])
         for report in errors:
-            
self.print("======================================================================")
+            self.print("=" * 78)
             self.print("ERROR: {}".format(report.nodeid))
-            
self.print("----------------------------------------------------------------------")
+            self.print("-" * 78)
             if report.capstdout:
                 self.print(report.capstdout)
             self.print(report.longrepr)
@@ -245,9 +278,9 @@
 
         failures = self.stats.get('F', [])
         for report in failures:
-            
self.print("======================================================================")
+            self.print("=" * 78)
             self.print("FAIL: {}".format(report.nodeid))
-            
self.print("----------------------------------------------------------------------")
+            self.print("-" * 78)
             if report.capstdout:
                 self.print(report.capstdout)
             self.print(report.longrepr)
@@ -256,22 +289,22 @@
         if self.verbosity >= 3:
             for report in self.stats.get('.', []):
                 if report.capstdout:
-                    
self.print("======================================================================")
+                    self.print("=" * 78)
                     self.print("Pass: {}".format(report.nodeid))
-                    
self.print("----------------------------------------------------------------------")
+                    self.print("-" * 78)
                     self.print(report.capstdout)
                     self.print()
 
         upasses = self.stats.get('u', [])
         for report in upasses:
-            
self.print("======================================================================")
+            self.print("=" * 78)
             self.print("UNEXPECTED SUCCESS: {}".format(report.nodeid))
             if report.capstdout:
                 self.print(report.capstdout)
             self.print(report.longrepr)
             self.print()
 
-        
self.print("----------------------------------------------------------------------")
+        self.print("-" * 78)
         self.print("Ran {n_tests} tests in {duration:.2f}s".format(
                 n_tests=self._n_tests,
                 duration=duration,
@@ -279,7 +312,9 @@
 
         if exitstatus in {EXIT_OK, EXIT_TESTSFAILED}:
             self.config.hook.pytest_terminal_summary(
-                terminalreporter=self, exitstatus=exitstatus
+                config=self.config,
+                terminalreporter=self,
+                exitstatus=exitstatus,
             )
 
         xfails = self.stats.get('x', [])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-tldr-0.1.5/setup.cfg 
new/pytest-tldr-0.1.6/setup.cfg
--- old/pytest-tldr-0.1.5/setup.cfg     2018-07-28 03:03:40.000000000 +0200
+++ new/pytest-tldr-0.1.6/setup.cfg     2019-06-02 05:38:07.000000000 +0200
@@ -1,3 +1,56 @@
+[metadata]
+name = pytest-tldr
+version = attr: pytest_tldr.__version__
+url = https://github.com/freakboy3742/pytest-tldr
+author = Russell Keith-Magee
+author_email = russ...@keith-magee.com
+maintainer = Russell Keith-Magee
+maintainer_email = russ...@keith-magee.com
+classifiers = 
+       Development Status :: 4 - Beta
+       Framework :: Pytest
+       Intended Audience :: Developers
+       Topic :: Software Development :: Testing
+       Programming Language :: Python
+       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.7
+       Programming Language :: Python :: Implementation :: CPython
+       Programming Language :: Python :: Implementation :: PyPy
+       Operating System :: OS Independent
+       License :: OSI Approved :: BSD License
+license = BSD-3
+license_file = LICENSE
+description = A pytest plugin that limits the output to just the things you 
need.
+long_description = file: README.rst
+long_description_content_type = text/x-rst; charset=UTF-8
+keywords = pytest
+
+[project_urls]
+funding = https://beeware.org/contributing/membership/
+tracker = https://github.com/freakboy3742/pytest-tldr/issues
+source = https://github.com/freakboy3742/pytest-tldr
+
+[options]
+zip_safe = False
+python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
+install_requires = 
+       pytest >= 3.5.0
+setup_requires = 
+       pytest >= 3.5.0
+       pytest-runner
+tests_require = 
+       pytest-cov
+py_modules = 
+       pytest_tldr
+
+[options.entry_points]
+pytest11 = 
+       tldr = pytest_tldr
+
 [aliases]
 test = pytest
 
@@ -7,14 +60,11 @@
 max-line-length = 119
 ignore = E121,E123,E126,E226,E24,E704,W503,W504,C901
 
-[metadata]
-description-file = README.md
-
 [bdist_wheel]
 universal = 1
 
 [tool:pytest]
-addopts = --verbose
+addopts = --verbose --cov=. --cov-report xml
 
 [egg_info]
 tag_build = 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-tldr-0.1.5/setup.py 
new/pytest-tldr-0.1.6/setup.py
--- old/pytest-tldr-0.1.5/setup.py      2018-07-28 03:02:04.000000000 +0200
+++ new/pytest-tldr-0.1.6/setup.py      2019-06-02 05:30:38.000000000 +0200
@@ -1,52 +1,5 @@
 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
-
-import os
-import codecs
 from setuptools import setup
 
-
-def read(fname):
-    file_path = os.path.join(os.path.dirname(__file__), fname)
-    return codecs.open(file_path, encoding='utf-8').read()
-
-
-setup(
-    name='pytest-tldr',
-    version='0.1.5',
-    author='Russell Keith-Magee',
-    author_email='russ...@keith-magee.com',
-    maintainer='Russell Keith-Magee',
-    maintainer_email='russ...@keith-magee.com',
-    license='BSD-3',
-    url='https://github.com/freakboy3742/pytest-tldr',
-    description='A pytest plugin that limits the output to just the things you 
need.',
-    long_description=read('README.rst'),
-    py_modules=['pytest_tldr'],
-    python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
-    install_requires=['pytest>=3.5.0'],
-    setup_requires=['pytest-runner'],
-    tests_require=['pytest'],
-    classifiers=[
-        'Development Status :: 4 - Beta',
-        'Framework :: Pytest',
-        'Intended Audience :: Developers',
-        'Topic :: Software Development :: Testing',
-        'Programming Language :: Python',
-        'Programming Language :: Python :: 2',
-        'Programming Language :: Python :: 2.7',
-        'Programming Language :: Python :: 3',
-        'Programming Language :: Python :: 3.4',
-        'Programming Language :: Python :: 3.5',
-        'Programming Language :: Python :: 3.6',
-        'Programming Language :: Python :: Implementation :: CPython',
-        'Programming Language :: Python :: Implementation :: PyPy',
-        'Operating System :: OS Independent',
-        'License :: OSI Approved :: BSD License',
-    ],
-    entry_points={
-        'pytest11': [
-            'tldr = pytest_tldr',
-        ],
-    },
-)
+setup()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-tldr-0.1.5/tests/test_plugins.py 
new/pytest-tldr-0.1.6/tests/test_plugins.py
--- old/pytest-tldr-0.1.5/tests/test_plugins.py 2018-06-30 04:26:14.000000000 
+0200
+++ new/pytest-tldr-0.1.6/tests/test_plugins.py 2019-06-02 05:09:15.000000000 
+0200
@@ -8,7 +8,7 @@
     result = testdir.runpytest('-v', '--cov=.')
     result.stdout.fnmatch_lines([
         'test_coverage.py::test_coverage ... ok',
-        '---------- coverage: platform *',
+        '*----- coverage: platform *-----',
         'Name               Stmts   Miss  Cover',
         '--------------------------------------',
         'test_coverage.py       2      0   100%',


Reply via email to