Hello community,

here is the log from the commit of package python-faulthandler for 
openSUSE:Factory checked in at 2019-03-28 22:48:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-faulthandler (Old)
 and      /work/SRC/openSUSE:Factory/.python-faulthandler.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-faulthandler"

Thu Mar 28 22:48:28 2019 rev:3 rq:688733 version:3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-faulthandler/python-faulthandler.changes  
2018-05-04 11:29:42.543305439 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-faulthandler.new.25356/python-faulthandler.changes
       2019-03-28 22:48:30.099056752 +0100
@@ -1,0 +2,23 @@
+Tue Mar 26 13:48:00 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Add patch to skip one test that fails in OBS:
+  * skip-test.patch
+
+-------------------------------------------------------------------
+Tue Mar 26 13:41:36 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Update to 3.1:
+  * Project moved from https://github.com/haypo/faulthandler to 
https://github.com/vstinner/faulthandler
+  * Fix tests: accept "python2" and "python2.7" thread name in tests
+  * Fix tests on Python 2.6.
+  * On Windows, faulthandler.register() now also installs an handler for 
Windows exceptions.
+  * Add support for the PYTHONFAULTHANDLER environment variable. Patch written 
by Ionel Cristian Mărieș.
+  * Issue #23433: Fix undefined behaviour in faulthandler._stack_overflow(): 
don't compare pointers, use the Py_uintptr_t type instead of void*. It fixes 
test_faulthandler on Fedora 22 which now uses GCC 5.
+  * The write() function used to write the traceback is now retried when it is 
interrupted by a signal.
+  * Issue #23566: enable(), register(), dump_traceback() and 
dump_traceback_later() functions now accept file descriptors. Patch by Wei Wu.
+  * Drop support and Python 2.5, 2.6, 3.1 and 3.2: only support Python 2.7. No 
Linux distribution use these versions anymore, so it becomes difficult to test 
these versions.
+  * Add tox.ini to run tests with tox: it creates a virtual environment, 
compile and install faulthandler, and run unit tests.
+  * Add Travis YAML configuration.
+- Run tests
+
+-------------------------------------------------------------------

Old:
----
  faulthandler-2.4.tar.gz

New:
----
  faulthandler-3.1.tar.gz
  skip-test.patch

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

Other differences:
------------------
++++++ python-faulthandler.spec ++++++
--- /var/tmp/diff_new_pack.XCyjMU/_old  2019-03-28 22:48:30.847056617 +0100
+++ /var/tmp/diff_new_pack.XCyjMU/_new  2019-03-28 22:48:30.847056617 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-faulthandler
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,19 +12,21 @@
 # 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/
 #
 
 
 Name:           python-faulthandler
-Version:        2.4
+Version:        3.1
 Release:        0
 Summary:        Display the Python traceback on a crash
 License:        BSD-2-Clause
 Group:          Development/Languages/Python
-URL:            https://github.com/haypo/faulthandler
+URL:            https://github.com/vstinner/faulthandler
 Source:         
https://files.pythonhosted.org/packages/source/f/faulthandler/faulthandler-%{version}.tar.gz
+Patch0:         skip-test.patch
 BuildRequires:  python-devel
+BuildRequires:  python-rpm-macros
 BuildRequires:  python-setuptools
 Provides:       python2-faulthandler = %{version}
 
@@ -38,20 +40,20 @@
 
 %prep
 %setup -q -n faulthandler-%{version}
+%patch0 -p1
 
 %build
-python setup.py build
+%python2_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python2_install
 
-#%%check
-#PYTHONPATH=$(echo $(pwd)/build/lib.*) python tests.py --verbose
+%check
+PYTHONPATH=%{buildroot}%{python_sitearch} python tests.py --verbose
 
 %files
 %license COPYING
-%doc AUTHORS README
-%{python_sitearch}/faulthandler.so
-%{python_sitearch}/faulthandler-%{version}-py*.egg-info
+%doc AUTHORS README.rst
+%{python_sitearch}/faulthandler*
 
 %changelog

++++++ faulthandler-2.4.tar.gz -> faulthandler-3.1.tar.gz ++++++
++++ 2694 lines of diff (skipped)

++++++ skip-test.patch ++++++
Index: faulthandler-3.1/tests.py
===================================================================
--- faulthandler-3.1.orig/tests.py
+++ faulthandler-3.1/tests.py
@@ -372,6 +372,7 @@ class FaultHandlerTests(unittest.TestCas
             'Segmentation fault',
             all_threads=False)
 
+    @unittest.skip("fails in buildroot")
     def test_enable_env_var(self):
         output, exitcode = self.get_output("""
             import faulthandler

Reply via email to