Hello community,
here is the log from the commit of package python-pytest-instafail for
openSUSE:Factory checked in at 2020-06-29 21:17:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-instafail (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-instafail.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-instafail"
Mon Jun 29 21:17:56 2020 rev:8 rq:817665 version:0.4.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-instafail/python-pytest-instafail.changes
2020-03-05 23:22:45.481326616 +0100
+++
/work/SRC/openSUSE:Factory/.python-pytest-instafail.new.3060/python-pytest-instafail.changes
2020-06-29 21:18:26.725798867 +0200
@@ -1,0 +2,10 @@
+Mon Jun 29 10:00:24 UTC 2020 - Marketa Calabkova <[email protected]>
+
+- Update to 0.4.2
+ * Fixed usage of deprecated pytest-xdist slave aliases (#20).
+ * Fixed failing tests on pytest 5
+ * Added support for pytest 2.6
+ * Fixed failing tests on pytest 2.6
+- Drop unneeded patch pytest5.patch
+
+-------------------------------------------------------------------
Old:
----
pytest-instafail-0.4.1.post0.tar.gz
pytest5.patch
New:
----
pytest-instafail-0.4.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-instafail.spec ++++++
--- /var/tmp/diff_new_pack.dqjlF8/_old 2020-06-29 21:18:27.237800451 +0200
+++ /var/tmp/diff_new_pack.dqjlF8/_new 2020-06-29 21:18:27.237800451 +0200
@@ -18,20 +18,19 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-instafail
-Version: 0.4.1.post0
+Version: 0.4.2
Release: 0
Summary: Pytest Plugin to Show Failures Instantly
License: BSD-2-Clause
URL: https://github.com/jpvanhal/pytest-instafail
Source:
https://files.pythonhosted.org/packages/source/p/pytest-instafail/pytest-instafail-%{version}.tar.gz
-Patch0: pytest5.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-pytest >= 2.9
+Requires: python-pytest >= 2.6
BuildArch: noarch
# SECTION test requirements
-BuildRequires: %{python_module pytest >= 2.9}
+BuildRequires: %{python_module pytest >= 2.6}
# /SECTION
%python_subpackages
@@ -42,7 +41,6 @@
%prep
%setup -q -n pytest-instafail-%{version}
-%patch0 -p1
%build
%python_build
++++++ pytest-instafail-0.4.1.post0.tar.gz -> pytest-instafail-0.4.2.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-instafail-0.4.1.post0/CHANGES.rst
new/pytest-instafail-0.4.2/CHANGES.rst
--- old/pytest-instafail-0.4.1.post0/CHANGES.rst 2019-11-10
18:52:01.000000000 +0100
+++ new/pytest-instafail-0.4.2/CHANGES.rst 2020-06-14 11:44:02.000000000
+0200
@@ -3,6 +3,12 @@
Here you can see the full list of changes between each pytest-instafail
release.
+0.4.2 (June 14, 2020)
+^^^^^^^^^^^^^^^^^^^^^
+
+- Fixed usage of deprecated pytest-xdist slave aliases (#20).
+- Fixed failing tests on pytest 5
+
0.4.1 (February 15, 2019)
^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -23,8 +29,8 @@
^^^^^^^^^^^^^^^^^^^^^^^
- Added support for Python 3.4
-- Added support for py.test 2.6
-- Fixed failing tests on py.test 2.6
+- Added support for pytest 2.6
+- Fixed failing tests on pytest 2.6
0.2.0 (March 6, 2014)
^^^^^^^^^^^^^^^^^^^^^
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-instafail-0.4.1.post0/PKG-INFO
new/pytest-instafail-0.4.2/PKG-INFO
--- old/pytest-instafail-0.4.1.post0/PKG-INFO 2019-11-10 19:02:01.083174000
+0100
+++ new/pytest-instafail-0.4.2/PKG-INFO 2020-06-14 11:47:29.130663600 +0200
@@ -1,7 +1,7 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
Name: pytest-instafail
-Version: 0.4.1.post0
-Summary: py.test plugin to show failures instantly
+Version: 0.4.2
+Summary: pytest plugin to show failures instantly
Home-page: https://github.com/pytest-dev/pytest-instafail
Author: Janne Vanhala
Author-email: [email protected]
@@ -11,11 +11,11 @@
|build status|_
- .. |build status| image::
https://secure.travis-ci.org/pytest-dev/pytest-instafail.png?branch=master
+ .. |build status| image::
https://travis-ci.org/pytest-dev/pytest-instafail.svg?branch=master
:alt: Build Status
- .. _build status: http://travis-ci.org/pytest-dev/pytest-instafail
+ .. _build status: https://travis-ci.org/pytest-dev/pytest-instafail
- pytest-instafail is a plugin for `py.test <http://pytest.org>`_ that
shows
+ 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
@@ -23,7 +23,7 @@
You will need the following prerequisites in order to use
pytest-instafail:
- - Python 2.7, 3.4, 3.5, 3.6, 3.7 or PyPy
+ - Python 2.7, 3.5+ or PyPy
- pytest 2.9 or newer
Installation
@@ -35,15 +35,15 @@
Then run your tests with::
- $ py.test --instafail
+ $ pytest --instafail
Resources
---------
- - `Issue Tracker
<http://github.com/pytest-dev/pytest-instafail/issues>`_
- - `Code <http://github.com/pytest-dev/pytest-instafail/>`_
+ - `Issue Tracker
<https://github.com/pytest-dev/pytest-instafail/issues>`_
+ - `Code <https://github.com/pytest-dev/pytest-instafail/>`_
- `Development Version
-
<http://github.com/pytest-dev/pytest-instafail/zipball/master#egg=pytest-instafail-dev>`_
+
<https://github.com/pytest-dev/pytest-instafail/zipball/master#egg=pytest-instafail-dev>`_
Platform: any
Classifier: Development Status :: 4 - Beta
@@ -58,8 +58,9 @@
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 :: 3.8
Classifier: Programming Language :: Python :: Implementation :: PyPy
+Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-instafail-0.4.1.post0/README.rst
new/pytest-instafail-0.4.2/README.rst
--- old/pytest-instafail-0.4.1.post0/README.rst 2019-11-10 18:52:01.000000000
+0100
+++ new/pytest-instafail-0.4.2/README.rst 2020-06-14 11:03:23.000000000
+0200
@@ -3,11 +3,11 @@
|build status|_
-.. |build status| image::
https://secure.travis-ci.org/pytest-dev/pytest-instafail.png?branch=master
+.. |build status| image::
https://travis-ci.org/pytest-dev/pytest-instafail.svg?branch=master
:alt: Build Status
-.. _build status: http://travis-ci.org/pytest-dev/pytest-instafail
+.. _build status: https://travis-ci.org/pytest-dev/pytest-instafail
-pytest-instafail is a plugin for `py.test <http://pytest.org>`_ that shows
+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
@@ -15,7 +15,7 @@
You will need the following prerequisites in order to use pytest-instafail:
-- Python 2.7, 3.4, 3.5, 3.6, 3.7 or PyPy
+- Python 2.7, 3.5+ or PyPy
- pytest 2.9 or newer
Installation
@@ -27,12 +27,12 @@
Then run your tests with::
- $ py.test --instafail
+ $ pytest --instafail
Resources
---------
-- `Issue Tracker <http://github.com/pytest-dev/pytest-instafail/issues>`_
-- `Code <http://github.com/pytest-dev/pytest-instafail/>`_
+- `Issue Tracker <https://github.com/pytest-dev/pytest-instafail/issues>`_
+- `Code <https://github.com/pytest-dev/pytest-instafail/>`_
- `Development Version
-
<http://github.com/pytest-dev/pytest-instafail/zipball/master#egg=pytest-instafail-dev>`_
+
<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.1.post0/pytest_instafail.egg-info/PKG-INFO
new/pytest-instafail-0.4.2/pytest_instafail.egg-info/PKG-INFO
--- old/pytest-instafail-0.4.1.post0/pytest_instafail.egg-info/PKG-INFO
2019-11-10 19:02:01.000000000 +0100
+++ new/pytest-instafail-0.4.2/pytest_instafail.egg-info/PKG-INFO
2020-06-14 11:47:29.000000000 +0200
@@ -1,7 +1,7 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
Name: pytest-instafail
-Version: 0.4.1.post0
-Summary: py.test plugin to show failures instantly
+Version: 0.4.2
+Summary: pytest plugin to show failures instantly
Home-page: https://github.com/pytest-dev/pytest-instafail
Author: Janne Vanhala
Author-email: [email protected]
@@ -11,11 +11,11 @@
|build status|_
- .. |build status| image::
https://secure.travis-ci.org/pytest-dev/pytest-instafail.png?branch=master
+ .. |build status| image::
https://travis-ci.org/pytest-dev/pytest-instafail.svg?branch=master
:alt: Build Status
- .. _build status: http://travis-ci.org/pytest-dev/pytest-instafail
+ .. _build status: https://travis-ci.org/pytest-dev/pytest-instafail
- pytest-instafail is a plugin for `py.test <http://pytest.org>`_ that
shows
+ 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
@@ -23,7 +23,7 @@
You will need the following prerequisites in order to use
pytest-instafail:
- - Python 2.7, 3.4, 3.5, 3.6, 3.7 or PyPy
+ - Python 2.7, 3.5+ or PyPy
- pytest 2.9 or newer
Installation
@@ -35,15 +35,15 @@
Then run your tests with::
- $ py.test --instafail
+ $ pytest --instafail
Resources
---------
- - `Issue Tracker
<http://github.com/pytest-dev/pytest-instafail/issues>`_
- - `Code <http://github.com/pytest-dev/pytest-instafail/>`_
+ - `Issue Tracker
<https://github.com/pytest-dev/pytest-instafail/issues>`_
+ - `Code <https://github.com/pytest-dev/pytest-instafail/>`_
- `Development Version
-
<http://github.com/pytest-dev/pytest-instafail/zipball/master#egg=pytest-instafail-dev>`_
+
<https://github.com/pytest-dev/pytest-instafail/zipball/master#egg=pytest-instafail-dev>`_
Platform: any
Classifier: Development Status :: 4 - Beta
@@ -58,8 +58,9 @@
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 :: 3.8
Classifier: Programming Language :: Python :: Implementation :: PyPy
+Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-instafail-0.4.1.post0/pytest_instafail.py
new/pytest-instafail-0.4.2/pytest_instafail.py
--- old/pytest-instafail-0.4.1.post0/pytest_instafail.py 2019-11-10
18:52:01.000000000 +0100
+++ new/pytest-instafail-0.4.2/pytest_instafail.py 2020-06-14
11:41:54.000000000 +0200
@@ -3,7 +3,7 @@
pytest_instafail
~~~~~~~~~~~~~~~~
-py.test plugin to show failures instantly.
+pytest plugin to show failures instantly.
:copyright: (c) 2013-2016 by Janne Vanhala.
:license: BSD, see LICENSE for more details.
@@ -25,8 +25,8 @@
@pytest.mark.trylast
def pytest_configure(config):
- if hasattr(config, 'slaveinput'):
- return # xdist slave, we are already active on the master
+ if hasattr(config, 'workerinput'):
+ return # xdist worker, we are already active on the master
if config.option.instafail and
config.pluginmanager.hasplugin('terminalreporter'):
# Get the standard terminal reporter plugin...
standard_reporter = config.pluginmanager.getplugin('terminalreporter')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-instafail-0.4.1.post0/setup.py
new/pytest-instafail-0.4.2/setup.py
--- old/pytest-instafail-0.4.1.post0/setup.py 2019-11-10 18:56:54.000000000
+0100
+++ new/pytest-instafail-0.4.2/setup.py 2020-06-14 11:44:12.000000000 +0200
@@ -2,9 +2,9 @@
setup(
name='pytest-instafail',
- description='py.test plugin to show failures instantly',
+ description='pytest plugin to show failures instantly',
long_description=open("README.rst").read(),
- version='0.4.1.post0',
+ version='0.4.2',
url='https://github.com/pytest-dev/pytest-instafail',
license='BSD',
author='Janne Vanhala',
@@ -15,6 +15,7 @@
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.*',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
@@ -28,10 +29,10 @@
'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 :: 3.7',
+ 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: PyPy',
]
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-instafail-0.4.1.post0/test_instafail.py
new/pytest-instafail-0.4.2/test_instafail.py
--- old/pytest-instafail-0.4.1.post0/test_instafail.py 2019-11-10
18:52:01.000000000 +0100
+++ new/pytest-instafail-0.4.2/test_instafail.py 2020-06-14
11:41:54.000000000 +0200
@@ -22,12 +22,12 @@
return l
[email protected](params=['normal', '1 slave', '2 slave'])
[email protected](params=['normal', '1 worker', '2 worker'])
def n(request):
return {
'normal': None,
- '1 slave': 1,
- '2 slave': 2,
+ '1 worker': 1,
+ '2 worker': 2,
}[request.param]
@@ -241,7 +241,7 @@
])
if not option.quiet:
result.stdout.fnmatch_lines([
- "collected 0 items / 1 errors",
+ "collected 0 items / 1 error*",
])
def test_print_stacktrace_once_with_pdb(self, testdir, request, option):