Hello community,
here is the log from the commit of package python-pytest-timeout for
openSUSE:Factory checked in at 2018-09-20 11:42:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-timeout (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-timeout.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-timeout"
Thu Sep 20 11:42:23 2018 rev:5 rq:636615 version:1.3.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-timeout/python-pytest-timeout.changes
2018-07-18 22:56:17.602492615 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-timeout.new/python-pytest-timeout.changes
2018-09-20 11:42:26.556821956 +0200
@@ -1,0 +2,7 @@
+Wed Sep 19 09:59:42 UTC 2018 - Ondřej Súkup <[email protected]>
+
+- version update to 1.3.2
+ * Fix deprecation warning on Python 3.6.
+ * Fix pytest 3.7.3 compatibility.
+
+-------------------------------------------------------------------
Old:
----
pytest-timeout-1.3.0.tar.gz
New:
----
pytest-timeout-1.3.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-timeout.spec ++++++
--- /var/tmp/diff_new_pack.rHFUFH/_old 2018-09-20 11:42:26.948821726 +0200
+++ /var/tmp/diff_new_pack.rHFUFH/_new 2018-09-20 11:42:26.948821726 +0200
@@ -12,14 +12,14 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-pytest-timeout
-Version: 1.3.0
+Version: 1.3.2
Release: 0
Summary: Pytest plugin to abort hanging tests
License: MIT
++++++ pytest-timeout-1.3.0.tar.gz -> pytest-timeout-1.3.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-timeout-1.3.0/PKG-INFO
new/pytest-timeout-1.3.2/PKG-INFO
--- old/pytest-timeout-1.3.0/PKG-INFO 2018-06-13 23:10:37.000000000 +0200
+++ new/pytest-timeout-1.3.2/PKG-INFO 2018-08-27 23:27:02.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pytest-timeout
-Version: 1.3.0
+Version: 1.3.2
Summary: py.test plugin to abort hanging tests
Home-page: http://bitbucket.org/pytest-dev/pytest-timeout/
Author: Floris Bruynooghe
@@ -185,6 +185,13 @@
Changelog
=========
+ 1.3.1
+ -----
+
+ - Fix deprecation warning on Python 3.6. Thanks Mickaël Schoentgen
+ - Create a valid tag for the release. Somehow this didn't happen for
+ 1.3.0, that tag points to a non-existing commit.
+
1.3.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-timeout-1.3.0/README
new/pytest-timeout-1.3.2/README
--- old/pytest-timeout-1.3.0/README 2018-06-13 21:56:21.000000000 +0200
+++ new/pytest-timeout-1.3.2/README 2018-07-23 22:27:18.000000000 +0200
@@ -177,6 +177,13 @@
Changelog
=========
+1.3.1
+-----
+
+- Fix deprecation warning on Python 3.6. Thanks Mickaël Schoentgen
+- Create a valid tag for the release. Somehow this didn't happen for
+ 1.3.0, that tag points to a non-existing commit.
+
1.3.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-timeout-1.3.0/pytest_timeout.egg-info/PKG-INFO
new/pytest-timeout-1.3.2/pytest_timeout.egg-info/PKG-INFO
--- old/pytest-timeout-1.3.0/pytest_timeout.egg-info/PKG-INFO 2018-06-13
23:10:37.000000000 +0200
+++ new/pytest-timeout-1.3.2/pytest_timeout.egg-info/PKG-INFO 2018-08-27
23:27:02.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pytest-timeout
-Version: 1.3.0
+Version: 1.3.2
Summary: py.test plugin to abort hanging tests
Home-page: http://bitbucket.org/pytest-dev/pytest-timeout/
Author: Floris Bruynooghe
@@ -185,6 +185,13 @@
Changelog
=========
+ 1.3.1
+ -----
+
+ - Fix deprecation warning on Python 3.6. Thanks Mickaël Schoentgen
+ - Create a valid tag for the release. Somehow this didn't happen for
+ 1.3.0, that tag points to a non-existing commit.
+
1.3.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-timeout-1.3.0/pytest_timeout.py
new/pytest-timeout-1.3.2/pytest_timeout.py
--- old/pytest-timeout-1.3.0/pytest_timeout.py 2018-06-13 23:10:18.000000000
+0200
+++ new/pytest-timeout-1.3.2/pytest_timeout.py 2018-08-27 21:44:15.000000000
+0200
@@ -51,13 +51,11 @@
type=float,
help=TIMEOUT_DESC)
group.addoption('--timeout_method',
- type='choice',
action='store',
choices=['signal', 'thread'],
help='Deprecated, use --timeout-method')
group.addoption('--timeout-method',
dest='timeout_method',
- type='choice',
action='store',
choices=['signal', 'thread'],
help=METHOD_DESC)
@@ -325,7 +323,10 @@
try:
capman = item.config.pluginmanager.getplugin('capturemanager')
if capman:
- if pytest.__version__ >= '3.3':
+ if pytest.__version__ >= '3.7.3':
+ capman.suspend_global_capture(item)
+ stdout, stderr = capman.read_global_capture()
+ elif pytest.__version__ >= '3.3':
stdout, stderr = capman.suspend_global_capture(item)
else:
stdout, stderr = capman.suspendcapture(item)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-timeout-1.3.0/setup.py
new/pytest-timeout-1.3.2/setup.py
--- old/pytest-timeout-1.3.0/setup.py 2018-06-13 20:36:29.000000000 +0200
+++ new/pytest-timeout-1.3.2/setup.py 2018-08-27 23:26:57.000000000 +0200
@@ -1,11 +1,13 @@
+import io
+
from setuptools import setup
setup(
name='pytest-timeout',
description='py.test plugin to abort hanging tests',
- long_description=open("README").read(),
- version='1.3.0',
+ long_description=io.open('README', encoding='utf-8').read(),
+ version='1.3.2',
author='Floris Bruynooghe',
author_email='[email protected]',
url='http://bitbucket.org/pytest-dev/pytest-timeout/',