Hello community, here is the log from the commit of package python-pytest-tldr for openSUSE:Factory checked in at 2020-08-28 21:21:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pytest-tldr (Old) and /work/SRC/openSUSE:Factory/.python-pytest-tldr.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-tldr" Fri Aug 28 21:21:31 2020 rev:5 rq:829111 version:0.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pytest-tldr/python-pytest-tldr.changes 2019-09-09 23:51:16.241293528 +0200 +++ /work/SRC/openSUSE:Factory/.python-pytest-tldr.new.3399/python-pytest-tldr.changes 2020-08-28 21:22:27.728356265 +0200 @@ -1,0 +2,6 @@ +Tue Aug 25 07:50:24 UTC 2020 - Marketa Calabkova <mcalabk...@suse.com> + +- Update to 0.2.2 + * Added Pytest 6 support. (#26) + +------------------------------------------------------------------- Old: ---- pytest-tldr-0.2.1.tar.gz New: ---- pytest-tldr-0.2.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytest-tldr.spec ++++++ --- /var/tmp/diff_new_pack.pqtNhX/_old 2020-08-28 21:22:28.200356494 +0200 +++ /var/tmp/diff_new_pack.pqtNhX/_new 2020-08-28 21:22:28.204356496 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pytest-tldr # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 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.1 +Version: 0.2.2 Release: 0 Summary: A pytest plugin that limits the output to just the things you need License: BSD-3-Clause ++++++ pytest-tldr-0.2.1.tar.gz -> pytest-tldr-0.2.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-tldr-0.2.1/CHANGELOG.rst new/pytest-tldr-0.2.2/CHANGELOG.rst --- old/pytest-tldr-0.2.1/CHANGELOG.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/pytest-tldr-0.2.2/CHANGELOG.rst 2020-08-08 02:59:42.000000000 +0200 @@ -0,0 +1,66 @@ +============= +Release notes +============= + +.. towncrier release notes start + +0.2.2 (2020-08-08) +------------------ + +Bugfixes +^^^^^^^^ + +* Added Pytest 6 support. (#26) + +0.2.1 (2019-08-18) +------------------ + +Bugfixes +^^^^^^^^ + +* Added a flag to identify TerminalReporter. + +0.2.0 (2019-07-03) +------------------ + +Bugfixes +^^^^^^^^ + +* Added Pytest 5 compatibility + +0.1.5 +----- + +* (#9) Restored compatibility with more pytest plugins that have output + (e.g., pytest-json) + +0.1.4 +----- + +* (#6) Restored compatibility with pytest plugins that produce summary output + (e.g., coverage reports from pytest-cov). +* Increased the verbosity needed to see stdout for passed tests. +* Included stdout for Unexpected Success results. + +0.1.3 +----- + +* (#5) Improved reporting when the test suite contains an error and cannot be + imported. + +0.1.2 +----- + +* (#4) Fixed support for Python 2.7 +* (#2) Ensure tldr works when xdist isn't installed + +0.1.1 +----- + +* Ensure tldr doesn't overwrite the `Cricket + <http://github.com/beeware/cricket>`_ terminal reporter. + +0.1.0 +----- + +Initial release. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-tldr-0.2.1/MANIFEST.in new/pytest-tldr-0.2.2/MANIFEST.in --- old/pytest-tldr-0.2.1/MANIFEST.in 2018-06-17 04:11:57.000000000 +0200 +++ new/pytest-tldr-0.2.2/MANIFEST.in 2020-08-08 02:59:42.000000000 +0200 @@ -1,6 +1,9 @@ -include beekeeper.yml +include CHANGELOG.rst include LICENSE include README.rst +include tox.ini +include pyproject.toml +recursive-include changes *.rst recursive-include tests *.py recursive-exclude * __pycache__ recursive-exclude * *.py[co] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-tldr-0.2.1/PKG-INFO new/pytest-tldr-0.2.2/PKG-INFO --- old/pytest-tldr-0.2.1/PKG-INFO 2019-08-18 06:11:42.000000000 +0200 +++ new/pytest-tldr-0.2.2/PKG-INFO 2020-08-08 03:00:01.667696200 +0200 @@ -1,13 +1,16 @@ Metadata-Version: 2.1 Name: pytest-tldr -Version: 0.2.1 +Version: 0.2.2 Summary: A pytest plugin that limits the output to just the things you need. -Home-page: https://github.com/freakboy3742/pytest-tldr +Home-page: UNKNOWN Author: Russell Keith-Magee Author-email: russ...@keith-magee.com Maintainer: Russell Keith-Magee Maintainer-email: russ...@keith-magee.com License: BSD-3 +Project-URL: Funding, https://beeware.org/contributing/membership/ +Project-URL: Tracker, https://github.com/freakboy3742/pytest-tldr/issues +Project-URL: Source, https://github.com/freakboy3742/pytest-tldr Description: =========== pytest-tldr =========== @@ -24,9 +27,9 @@ :target: https://github.com/freakboy3742/pytest-tldr/blob/master/LICENSE :alt: License - .. 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 + .. image:: https://github.com/freakboy3742/pytest-tldr/workflows/CI/badge.svg?branch=master + :target: https://github.com/freakboy3742/pytest-tldr/actions + :alt: Build Status A `pytest`_ plugin that limits the output of pytest to just the things you need to see. @@ -161,15 +164,15 @@ Classifier: Intended Audience :: Developers Classifier: Topic :: Software Development :: Testing Classifier: Programming Language :: Python -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.7 +Classifier: Programming Language :: Python :: 3.8 +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: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.* +Requires-Python: !=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.2.1/README.rst new/pytest-tldr-0.2.2/README.rst --- old/pytest-tldr-0.2.1/README.rst 2019-06-02 05:44:54.000000000 +0200 +++ new/pytest-tldr-0.2.2/README.rst 2020-08-08 02:59:42.000000000 +0200 @@ -14,9 +14,9 @@ :target: https://github.com/freakboy3742/pytest-tldr/blob/master/LICENSE :alt: License -.. 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 +.. image:: https://github.com/freakboy3742/pytest-tldr/workflows/CI/badge.svg?branch=master + :target: https://github.com/freakboy3742/pytest-tldr/actions + :alt: Build 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.2.1/changes/template.rst new/pytest-tldr-0.2.2/changes/template.rst --- old/pytest-tldr-0.2.1/changes/template.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/pytest-tldr-0.2.2/changes/template.rst 2020-08-08 02:59:42.000000000 +0200 @@ -0,0 +1,28 @@ +{% for section, _ in sections.items() %} +{% set underline = underlines[0] %}{% if section %}{{section}} +{{ underline * section|length }}{% set underline = underlines[1] %} +{% endif %} +{% if sections[section] %} +{% for category, val in definitions.items() if category in sections[section]%} +{{ definitions[category]['name'] }} +{{ underline * definitions[category]['name']|length }} + +{% if definitions[category]['showcontent'] %} +{% for text, values in sections[section][category].items() %} +* {{ text }} ({{ values|join(', ') }}) + +{% endfor %} +{% else %} +* {{ sections[section][category]['']|join(', ') }} +{% endif %} +{% if sections[section][category]|length == 0 %} +No significant changes. + +{% else %} +{% endif %} +{% endfor %} +{% else %} +No significant changes. + +{% endif %} +{% endfor %} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-tldr-0.2.1/pyproject.toml new/pytest-tldr-0.2.2/pyproject.toml --- old/pytest-tldr-0.2.1/pyproject.toml 1970-01-01 01:00:00.000000000 +0100 +++ new/pytest-tldr-0.2.2/pyproject.toml 2020-08-08 02:59:42.000000000 +0200 @@ -0,0 +1,15 @@ +[build-system] +requires = [ + "setuptools >= 43.0.0", + "wheel >= 0.32.0", +] +build-backend = "setuptools.build_meta" + +[tool.towncrier] +directory = "changes" +package = "pytest_tldr" +filename = "CHANGELOG.rst" +title_format = "{version} ({project_date})" +issue_format = "`#{issue} <https://github.com/freakboy3742/pytest-tldr/issues/{issue}>`_" +template = "changes/template.rst" +underlines = ["-", "^", "\""] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-tldr-0.2.1/pytest_tldr.egg-info/PKG-INFO new/pytest-tldr-0.2.2/pytest_tldr.egg-info/PKG-INFO --- old/pytest-tldr-0.2.1/pytest_tldr.egg-info/PKG-INFO 2019-08-18 06:11:41.000000000 +0200 +++ new/pytest-tldr-0.2.2/pytest_tldr.egg-info/PKG-INFO 2020-08-08 03:00:01.000000000 +0200 @@ -1,13 +1,16 @@ Metadata-Version: 2.1 Name: pytest-tldr -Version: 0.2.1 +Version: 0.2.2 Summary: A pytest plugin that limits the output to just the things you need. -Home-page: https://github.com/freakboy3742/pytest-tldr +Home-page: UNKNOWN Author: Russell Keith-Magee Author-email: russ...@keith-magee.com Maintainer: Russell Keith-Magee Maintainer-email: russ...@keith-magee.com License: BSD-3 +Project-URL: Funding, https://beeware.org/contributing/membership/ +Project-URL: Tracker, https://github.com/freakboy3742/pytest-tldr/issues +Project-URL: Source, https://github.com/freakboy3742/pytest-tldr Description: =========== pytest-tldr =========== @@ -24,9 +27,9 @@ :target: https://github.com/freakboy3742/pytest-tldr/blob/master/LICENSE :alt: License - .. 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 + .. image:: https://github.com/freakboy3742/pytest-tldr/workflows/CI/badge.svg?branch=master + :target: https://github.com/freakboy3742/pytest-tldr/actions + :alt: Build Status A `pytest`_ plugin that limits the output of pytest to just the things you need to see. @@ -161,15 +164,15 @@ Classifier: Intended Audience :: Developers Classifier: Topic :: Software Development :: Testing Classifier: Programming Language :: Python -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.7 +Classifier: Programming Language :: Python :: 3.8 +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: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.* +Requires-Python: !=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.2.1/pytest_tldr.egg-info/SOURCES.txt new/pytest-tldr-0.2.2/pytest_tldr.egg-info/SOURCES.txt --- old/pytest-tldr-0.2.1/pytest_tldr.egg-info/SOURCES.txt 2019-08-18 06:11:41.000000000 +0200 +++ new/pytest-tldr-0.2.2/pytest_tldr.egg-info/SOURCES.txt 2020-08-08 03:00:01.000000000 +0200 @@ -1,9 +1,13 @@ +CHANGELOG.rst LICENSE MANIFEST.in README.rst +pyproject.toml pytest_tldr.py setup.cfg setup.py +tox.ini +changes/template.rst pytest_tldr.egg-info/PKG-INFO pytest_tldr.egg-info/SOURCES.txt pytest_tldr.egg-info/dependency_links.txt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-tldr-0.2.1/pytest_tldr.py new/pytest-tldr-0.2.2/pytest_tldr.py --- old/pytest-tldr-0.2.1/pytest_tldr.py 2019-08-18 06:10:46.000000000 +0200 +++ new/pytest-tldr-0.2.2/pytest_tldr.py 2020-08-08 02:59:42.000000000 +0200 @@ -8,7 +8,7 @@ import py import pytest try: - from _pytest.main import ExitCode + from pytest import ExitCode except ImportError: # PyTest <5 compatibibility from _pytest.main import ( @@ -21,7 +21,7 @@ TESTS_FAILED = EXIT_TESTSFAILED -__version__ = '0.2.1' +__version__ = '0.2.2' @pytest.hookimpl(trylast=True) @@ -134,7 +134,7 @@ self.print("=" * 78) self.print("CRITICAL: {}".format(report.nodeid)) self.print("-" * 78) - self.print(report.longrepr) + self.print(report.longreprtext) def pytest_sessionstart(self, session): self._starttime = time.time() @@ -244,17 +244,17 @@ self._n_tests += 1 if report.failed: - if report.longrepr == 'Unexpected success': + if report.longreprtext == 'Unexpected success': # pytest raw xfail # unittest @unexpectedSuccess, Python 3 self.report_unexpected_success(report) else: - if '\nAssertionError: ' in str(report.longrepr) \ - or '\nFailed: ' in str(report.longrepr): + if '\nAssertionError: ' in str(report.longreprtext) \ + or '\nFailed: ' in str(report.longreprtext): # pytest assertion # unittest self.assert() self.report_fail(report) - elif str(report.longrepr).startswith('[XPASS('): + elif str(report.longreprtext).startswith('[XPASS('): # pytest xfail(strict=True) self.report_unexpected_success(report) else: @@ -265,7 +265,7 @@ else: self.report_expected_failure(report) else: - if report.longrepr == 'Unexpected success': + if report.longreprtext == 'Unexpected success': # unittest @unexpectedSuccess, Py2.7 self.report_unexpected_success(report) else: @@ -290,7 +290,7 @@ self.print("-" * 78) if report.capstdout: self.print(report.capstdout) - self.print(report.longrepr) + self.print(report.longreprtext) self.print() failures = self.stats.get('F', []) @@ -300,7 +300,7 @@ self.print("-" * 78) if report.capstdout: self.print(report.capstdout) - self.print(report.longrepr) + self.print(report.longreprtext) self.print() if self.verbosity >= 3: @@ -318,7 +318,7 @@ self.print("UNEXPECTED SUCCESS: {}".format(report.nodeid)) if report.capstdout: self.print(report.capstdout) - self.print(report.longrepr) + self.print(report.longreprtext) self.print() self.print("-" * 78) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-tldr-0.2.1/setup.cfg new/pytest-tldr-0.2.2/setup.cfg --- old/pytest-tldr-0.2.1/setup.cfg 2019-08-18 06:11:42.000000000 +0200 +++ new/pytest-tldr-0.2.2/setup.cfg 2020-08-08 03:00:01.667696200 +0200 @@ -1,7 +1,10 @@ [metadata] name = pytest-tldr version = attr: pytest_tldr.__version__ -url = https://github.com/freakboy3742/pytest-tldr +project_urls = + Funding = https://beeware.org/contributing/membership/ + Tracker = https://github.com/freakboy3742/pytest-tldr/issues + Source = https://github.com/freakboy3742/pytest-tldr author = Russell Keith-Magee author_email = russ...@keith-magee.com maintainer = Russell Keith-Magee @@ -12,12 +15,12 @@ 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 :: 3.8 + Programming Language :: Python :: 3 :: Only Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: PyPy Operating System :: OS Independent @@ -36,14 +39,9 @@ [options] zip_safe = False -python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.* +python_requires = !=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 @@ -51,21 +49,18 @@ pytest11 = tldr = pytest_tldr -[aliases] -test = pytest - [flake8] -exclude = local/*,docs/*,src/django/node_modules/* +exclude = + build/*, + dist/*, + docs/*, + local/*, + .tox/*, + venv/* max-complexity = 10 max-line-length = 119 ignore = E121,E123,E126,E226,E24,E704,W503,W504,C901 -[bdist_wheel] -universal = 1 - -[tool:pytest] -addopts = --verbose --cov=. --cov-report xml - [egg_info] tag_build = tag_date = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-tldr-0.2.1/setup.py new/pytest-tldr-0.2.2/setup.py --- old/pytest-tldr-0.2.1/setup.py 2019-06-02 05:30:38.000000000 +0200 +++ new/pytest-tldr-0.2.2/setup.py 2020-08-08 02:59:42.000000000 +0200 @@ -1,5 +1,4 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- from setuptools import setup setup() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-tldr-0.2.1/tox.ini new/pytest-tldr-0.2.2/tox.ini --- old/pytest-tldr-0.2.1/tox.ini 1970-01-01 01:00:00.000000000 +0100 +++ new/pytest-tldr-0.2.2/tox.ini 2020-08-08 02:59:42.000000000 +0200 @@ -0,0 +1,62 @@ +# Tox (http://tox.testrun.org/) is a tool for running tests +# in multiple virtualenvs. This configuration file will run the +# test suite on all supported python versions. To use it, "pip install tox" +# and then run "tox" from this directory. + +[tox] +envlist = flake8,check-manifest,towncrier-check,package,py{35,36,37,38} +skip_missing_interpreters = true + +[testenv] +deps = + pytest + pytest-cov + pytest-tldr +commands = + pytest -vv + +[testenv:flake8] +skip_install = True +deps = + flake8 +commands = flake8 {posargs} + +[testenv:check-manifest] +skip_install = True +deps = + check_manifest +commands = + check-manifest -v + +[testenv:towncrier-check] +skip_install = True +deps = + towncrier >= 18.5.0 +commands = + python -m towncrier.check + +[testenv:towncrier] +skip_install = True +deps = + towncrier >= 18.5.0 +commands = + towncrier {posargs} + +[testenv:package] +deps = + wheel + twine +commands = + python setup.py sdist bdist_wheel + python -m twine check dist/* + +[testenv:publish] +skip_install = True +deps = + wheel + twine +passenv = + TWINE_USERNAME + TWINE_PASSWORD +commands = + python -m twine upload dist/*