Hello community,
here is the log from the commit of package python-pytest-timeout for openSUSE:Factory checked in at 2018-11-22 13:26:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-timeout (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-timeout.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-timeout"
Thu Nov 22 13:26:45 2018 rev:6 rq:650719 version:1.3.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest-timeout/python-pytest-timeout.changes 2018-09-20 11:42:26.556821956 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest-timeout.new.19453/python-pytest-timeout.changes 2018-11-22 13:26:58.813908795 +0100
@@ -1,0 +2,6 @@
+Wed Nov 21 14:20:15 UTC 2018 - Enno Gotthold
+
+- Version update to 1.3.3
+ * Fix support for pytest >= 3.10.
+
+-------------------------------------------------------------------
Old:
----
pytest-timeout-1.3.2.tar.gz
New:
----
pytest-timeout-1.3.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-timeout.spec ++++++
--- /var/tmp/diff_new_pack.zzfY0E/_old 2018-11-22 13:26:59.513908063 +0100
+++ /var/tmp/diff_new_pack.zzfY0E/_new 2018-11-22 13:26:59.517908059 +0100
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-pytest-timeout
-Version: 1.3.2
+Version: 1.3.3
Release: 0
Summary: Pytest plugin to abort hanging tests
License: MIT
++++++ pytest-timeout-1.3.2.tar.gz -> pytest-timeout-1.3.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-timeout-1.3.2/PKG-INFO new/pytest-timeout-1.3.3/PKG-INFO
--- old/pytest-timeout-1.3.2/PKG-INFO 2018-08-27 23:27:02.000000000 +0200
+++ new/pytest-timeout-1.3.3/PKG-INFO 2018-11-16 12:47:43.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pytest-timeout
-Version: 1.3.2
+Version: 1.3.3
Summary: py.test plugin to abort hanging tests
Home-page: http://bitbucket.org/pytest-dev/pytest-timeout/
Author: Floris Bruynooghe
@@ -185,6 +185,20 @@
Changelog
=========
+ 1.3.3
+ -----
+
+ - Fix support for pytest >= 3.10.
+
+ 1.3.2
+ -----
+
+ - This changelog was ommitted for the 1.3.2 release and was added
+ afterwards. Apologies for the confusion.
+ - Fix pytest 3.7.3 compatibility. The capture API had changed
+ slightly and this needed fixing. Thanks Bruno Oliveira for the
+ contribution.
+
1.3.1
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-timeout-1.3.2/README new/pytest-timeout-1.3.3/README
--- old/pytest-timeout-1.3.2/README 2018-07-23 22:27:18.000000000 +0200
+++ new/pytest-timeout-1.3.3/README 2018-11-16 12:42:54.000000000 +0100
@@ -177,6 +177,20 @@
Changelog
=========
+1.3.3
+-----
+
+- Fix support for pytest >= 3.10.
+
+1.3.2
+-----
+
+- This changelog was ommitted for the 1.3.2 release and was added
+ afterwards. Apologies for the confusion.
+- Fix pytest 3.7.3 compatibility. The capture API had changed
+ slightly and this needed fixing. Thanks Bruno Oliveira for the
+ contribution.
+
1.3.1
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-timeout-1.3.2/pytest_timeout.egg-info/PKG-INFO new/pytest-timeout-1.3.3/pytest_timeout.egg-info/PKG-INFO
--- old/pytest-timeout-1.3.2/pytest_timeout.egg-info/PKG-INFO 2018-08-27 23:27:02.000000000 +0200
+++ new/pytest-timeout-1.3.3/pytest_timeout.egg-info/PKG-INFO 2018-11-16 12:47:42.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pytest-timeout
-Version: 1.3.2
+Version: 1.3.3
Summary: py.test plugin to abort hanging tests
Home-page: http://bitbucket.org/pytest-dev/pytest-timeout/
Author: Floris Bruynooghe
@@ -185,6 +185,20 @@
Changelog
=========
+ 1.3.3
+ -----
+
+ - Fix support for pytest >= 3.10.
+
+ 1.3.2
+ -----
+
+ - This changelog was ommitted for the 1.3.2 release and was added
+ afterwards. Apologies for the confusion.
+ - Fix pytest 3.7.3 compatibility. The capture API had changed
+ slightly and this needed fixing. Thanks Bruno Oliveira for the
+ contribution.
+
1.3.1
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-timeout-1.3.2/pytest_timeout.py new/pytest-timeout-1.3.3/pytest_timeout.py
--- old/pytest-timeout-1.3.2/pytest_timeout.py 2018-08-27 21:44:15.000000000 +0200
+++ new/pytest-timeout-1.3.3/pytest_timeout.py 2018-11-16 12:41:33.000000000 +0100
@@ -13,6 +13,7 @@
import threading
import traceback
from collections import namedtuple
+from distutils.version import StrictVersion
import py
import pytest
@@ -323,13 +324,12 @@
try:
capman = item.config.pluginmanager.getplugin('capturemanager')
if capman:
- if pytest.__version__ >= '3.7.3':
+ pytest_version = StrictVersion(pytest.__version__)
+ if pytest_version >= StrictVersion('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)
+ stdout, stderr = capman.suspend_global_capture(item)
else:
stdout, stderr = None, None
write_title('Timeout', sep='+')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-timeout-1.3.2/setup.py new/pytest-timeout-1.3.3/setup.py
--- old/pytest-timeout-1.3.2/setup.py 2018-08-27 23:26:57.000000000 +0200
+++ new/pytest-timeout-1.3.3/setup.py 2018-11-16 12:42:12.000000000 +0100
@@ -7,7 +7,7 @@
name='pytest-timeout',
description='py.test plugin to abort hanging tests',
long_description=io.open('README', encoding='utf-8').read(),
- version='1.3.2',
+ version='1.3.3',
author='Floris Bruynooghe',
author_email='flub@devork.be',
url='http://bitbucket.org/pytest-dev/pytest-timeout/',