Hello community,

here is the log from the commit of package python-pytest-faulthandler for 
openSUSE:Leap:15.2 checked in at 2020-05-01 15:07:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-pytest-faulthandler (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-pytest-faulthandler.new.2738 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-faulthandler"

Fri May  1 15:07:01 2020 rev:4 rq:777020 version:1.6.0

Changes:
--------
--- 
/work/SRC/openSUSE:Leap:15.2/python-pytest-faulthandler/python-pytest-faulthandler.changes
  2020-01-15 15:52:16.811557901 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-pytest-faulthandler.new.2738/python-pytest-faulthandler.changes
        2020-05-01 15:07:04.086534528 +0200
@@ -1,0 +2,13 @@
+Thu Aug 22 08:53:34 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Do not pull in pytest 5 as it is integral part of that
+  (yet we need it on py3 for pytest3 and pytest4)
+
+-------------------------------------------------------------------
+Mon Jun  3 09:20:30 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 1.6.0:
+  * The warning about fault-handler timeout not being supported in some 
platforms has been moved to the section header (#32).
+  * pytest 4.0+ is now required.
+
+-------------------------------------------------------------------

Old:
----
  pytest-faulthandler-1.5.0.tar.gz

New:
----
  pytest-faulthandler-1.6.0.tar.gz

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

Other differences:
------------------
++++++ python-pytest-faulthandler.spec ++++++
--- /var/tmp/diff_new_pack.Il8N2V/_old  2020-05-01 15:07:04.446535310 +0200
+++ /var/tmp/diff_new_pack.Il8N2V/_new  2020-05-01 15:07:04.450535319 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pytest-faulthandler
-Version:        1.5.0
+Version:        1.6.0
 Release:        0
 Summary:        PyTest plugin that activates the fault handler module for tests
 License:        MIT
@@ -30,12 +30,12 @@
 BuildRequires:  fdupes
 BuildRequires:  python-faulthandler
 BuildRequires:  python-rpm-macros
+Requires:       python-pytest < 5
+BuildArch:      noarch
 # SECTION test requirements
-BuildRequires:  %{python_module pytest >= 2.6}
+BuildRequires:  %{python_module pytest < 5}
 BuildRequires:  %{python_module pytest-mock >= 0.6}
 # /SECTION
-Requires:       python-pytest >= 2.6
-BuildArch:      noarch
 %ifpython2
 Requires:       python-faulthandler
 %endif
@@ -59,7 +59,7 @@
 
 %check
 export PYTHONDONTWRITEBYTECODE=1
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
py.test-%{$python_bin_suffix} test_pytest_faulthandler.py
+%pytest test_pytest_faulthandler.py
 
 %files %{python_files}
 %doc README.rst CHANGELOG.rst

++++++ pytest-faulthandler-1.5.0.tar.gz -> pytest-faulthandler-1.6.0.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-faulthandler-1.5.0/.gitignore 
new/pytest-faulthandler-1.6.0/.gitignore
--- old/pytest-faulthandler-1.5.0/.gitignore    2018-03-26 13:58:45.000000000 
+0200
+++ new/pytest-faulthandler-1.6.0/.gitignore    2019-05-31 02:55:44.000000000 
+0200
@@ -20,7 +20,7 @@
 var/
 *.egg-info/
 .installed.cfg
-*.egg
+*.eggs
 
 # PyInstaller
 #  Usually these files are written by a python script from a template
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-faulthandler-1.5.0/.travis.yml 
new/pytest-faulthandler-1.6.0/.travis.yml
--- old/pytest-faulthandler-1.5.0/.travis.yml   2018-03-26 13:58:45.000000000 
+0200
+++ new/pytest-faulthandler-1.6.0/.travis.yml   2019-05-31 02:55:44.000000000 
+0200
@@ -1,16 +1,26 @@
 language: python
+dist: xenial
 python:
-  - 2.7
-  - 3.4
-  - 3.5
-  - 3.6
-  - nightly
-  - pypy2.7-5.10.0
-  - pypy3.5-5.10.1
+  - '2.7'
+  - '3.4'
+  - '3.5'
+  - '3.6'
+  - '3.7'
+  - 'pypy'
+  - 'pypy3'
+  - '3.8-dev'
 install:
+  - pip install --upgrade pip
   - pip install tox-travis
 script:
   - tox
+
+stages:
+- name: test
+  if: repo = pytest-dev/pytest-faulthandler AND tag IS NOT present
+- name: deploy
+  if: repo = pytest-dev/pytest-faulthandler AND tag IS present
+
 jobs:
   include:
     - stage: test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-faulthandler-1.5.0/CHANGELOG.rst 
new/pytest-faulthandler-1.6.0/CHANGELOG.rst
--- old/pytest-faulthandler-1.5.0/CHANGELOG.rst 2018-03-26 13:58:45.000000000 
+0200
+++ new/pytest-faulthandler-1.6.0/CHANGELOG.rst 2019-05-31 02:55:44.000000000 
+0200
@@ -1,3 +1,13 @@
+1.6.0
+-----
+
+* The warning about fault-handler timeout not being supported in some platforms
+  has been moved to the section header (`#32`_).
+
+* pytest 4.0+ is now required.
+
+.. _#32: https://github.com/pytest-dev/pytest-faulthandler/issues/32
+
 1.5.0
 -----
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-faulthandler-1.5.0/PKG-INFO 
new/pytest-faulthandler-1.6.0/PKG-INFO
--- old/pytest-faulthandler-1.5.0/PKG-INFO      2018-03-26 13:59:26.000000000 
+0200
+++ new/pytest-faulthandler-1.6.0/PKG-INFO      2019-05-31 02:56:00.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: pytest-faulthandler
-Version: 1.5.0
+Version: 1.6.0
 Summary: py.test plugin that activates the fault handler module for tests
 Home-page: https://github.com/pytest-dev/pytest-faulthandler
 Author: Bruno Oliveira
@@ -51,7 +51,7 @@
         
         * Python 2.7+, Python 3.4+
         * pytest
-        * faulthandler
+        * faulthandler (Python 2.7)
         
         
         Install
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-faulthandler-1.5.0/README.rst 
new/pytest-faulthandler-1.6.0/README.rst
--- old/pytest-faulthandler-1.5.0/README.rst    2018-03-26 13:58:45.000000000 
+0200
+++ new/pytest-faulthandler-1.6.0/README.rst    2019-05-31 02:55:44.000000000 
+0200
@@ -43,7 +43,7 @@
 
 * Python 2.7+, Python 3.4+
 * pytest
-* faulthandler
+* faulthandler (Python 2.7)
 
 
 Install
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-faulthandler-1.5.0/appveyor.yml 
new/pytest-faulthandler-1.6.0/appveyor.yml
--- old/pytest-faulthandler-1.5.0/appveyor.yml  2018-03-26 13:58:45.000000000 
+0200
+++ new/pytest-faulthandler-1.6.0/appveyor.yml  2019-05-31 02:55:44.000000000 
+0200
@@ -1,5 +1,6 @@
 install:
-  - C:\Python36\python -m pip install tox
+  - C:\Python36\python -m pip install --upgrade pip
+  - C:\Python36\python -m pip install --upgrade tox virtualenv
 
 build: false  # Not a C# project
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-faulthandler-1.5.0/pytest_faulthandler.egg-info/PKG-INFO 
new/pytest-faulthandler-1.6.0/pytest_faulthandler.egg-info/PKG-INFO
--- old/pytest-faulthandler-1.5.0/pytest_faulthandler.egg-info/PKG-INFO 
2018-03-26 13:59:26.000000000 +0200
+++ new/pytest-faulthandler-1.6.0/pytest_faulthandler.egg-info/PKG-INFO 
2019-05-31 02:56:00.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: pytest-faulthandler
-Version: 1.5.0
+Version: 1.6.0
 Summary: py.test plugin that activates the fault handler module for tests
 Home-page: https://github.com/pytest-dev/pytest-faulthandler
 Author: Bruno Oliveira
@@ -51,7 +51,7 @@
         
         * Python 2.7+, Python 3.4+
         * pytest
-        * faulthandler
+        * faulthandler (Python 2.7)
         
         
         Install
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-faulthandler-1.5.0/pytest_faulthandler.egg-info/requires.txt 
new/pytest-faulthandler-1.6.0/pytest_faulthandler.egg-info/requires.txt
--- old/pytest-faulthandler-1.5.0/pytest_faulthandler.egg-info/requires.txt     
2018-03-26 13:59:26.000000000 +0200
+++ new/pytest-faulthandler-1.6.0/pytest_faulthandler.egg-info/requires.txt     
2019-05-31 02:56:00.000000000 +0200
@@ -1,4 +1,4 @@
-pytest>=2.6
+pytest>=4.0
 
 [:python_version=="2.7" and platform_python_implementation != "PyPy"]
 faulthandler
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-faulthandler-1.5.0/pytest_faulthandler.py 
new/pytest-faulthandler-1.6.0/pytest_faulthandler.py
--- old/pytest-faulthandler-1.5.0/pytest_faulthandler.py        2018-03-26 
13:58:45.000000000 +0200
+++ new/pytest-faulthandler-1.6.0/pytest_faulthandler.py        2019-05-31 
02:55:44.000000000 +0200
@@ -1,7 +1,9 @@
-import sys
+import io
 import os
+import sys
+import warnings
+
 import pytest
-import io
 
 
 def pytest_addoption(parser):
@@ -32,12 +34,12 @@
         config.fault_handler_stderr = os.fdopen(stderr_fd_copy, 'w')
         faulthandler.enable(config.fault_handler_stderr)
         # we never disable faulthandler after it was enabled, see #3
-        
-        if config.getoption('fault_handler_timeout') > 0:
-            if not timeout_support_available():
-                message = 'faulthandler timeout support not available on ' \
-                          'this platform'
-                config.warn(code='C1', message=message)
+
+
+def pytest_report_header(config):
+    if config.getoption('fault_handler_timeout') > 0:
+        if not timeout_support_available():
+            return 'faulthandler: timeout support not available on this 
platform'
 
 
 def timeout_support_available():
@@ -49,7 +51,7 @@
         hasattr(faulthandler, 'cancel_dump_traceback_later')
 
 
[email protected]
[email protected](hookwrapper=True)
 def pytest_runtest_protocol(item):
     enabled = item.config.getoption('fault_handler')
     timeout = item.config.getoption('fault_handler_timeout')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-faulthandler-1.5.0/setup.py 
new/pytest-faulthandler-1.6.0/setup.py
--- old/pytest-faulthandler-1.5.0/setup.py      2018-03-26 13:58:45.000000000 
+0200
+++ new/pytest-faulthandler-1.6.0/setup.py      2019-05-31 02:55:44.000000000 
+0200
@@ -10,7 +10,7 @@
     py_modules=['pytest_faulthandler'],
     url='https://github.com/pytest-dev/pytest-faulthandler',
     license='MIT',
-    install_requires=['pytest>=2.6'],
+    install_requires=['pytest>=4.0'],
     test_requires=['pytest-mock>=0.6'],
     setup_requires=['setuptools_scm'],
     author='Bruno Oliveira',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-faulthandler-1.5.0/test_pytest_faulthandler.py 
new/pytest-faulthandler-1.6.0/test_pytest_faulthandler.py
--- old/pytest-faulthandler-1.5.0/test_pytest_faulthandler.py   2018-03-26 
13:58:45.000000000 +0200
+++ new/pytest-faulthandler-1.6.0/test_pytest_faulthandler.py   2019-05-31 
02:55:44.000000000 +0200
@@ -93,9 +93,7 @@
     ''')
     result = testdir.runpytest('--faulthandler-timeout=5', '-rw')
     result.stdout.fnmatch_lines([
-        '*warnings summary*',
-        "*faulthandler timeout support not available on this platform*",
-        '*= 1 passed, 1 warnings in *',
+        "faulthandler: timeout support not available on this platform",
     ])
     assert result.ret == 0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-faulthandler-1.5.0/tox.ini 
new/pytest-faulthandler-1.6.0/tox.ini
--- old/pytest-faulthandler-1.5.0/tox.ini       2018-03-26 13:58:45.000000000 
+0200
+++ new/pytest-faulthandler-1.6.0/tox.ini       2019-05-31 02:55:44.000000000 
+0200
@@ -1,5 +1,5 @@
 [tox]
-envlist = py{27,34,35,36},pypy,pypy3
+envlist = py{27,34,35,36,37},pypy,pypy3
 
 [testenv]
 commands = py.test test_pytest_faulthandler.py


Reply via email to