Hello community,

here is the log from the commit of package python3-raven for openSUSE:Factory 
checked in at 2016-03-29 10:00:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-raven (Old)
 and      /work/SRC/openSUSE:Factory/.python3-raven.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-raven"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-raven/python3-raven.changes      
2016-03-09 16:48:57.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python3-raven.new/python3-raven.changes 
2016-03-29 10:39:54.000000000 +0200
@@ -1,0 +2,7 @@
+Sun Mar 27 05:59:01 UTC 2016 - a...@gmx.de
+
+- update to version 5.11.2:
+  * Added a workaround for back traceback objects passed to raven.  In
+    these cases we now wobble further along to at least log something.
+
+-------------------------------------------------------------------

Old:
----
  raven-5.11.1.tar.gz

New:
----
  raven-5.11.2.tar.gz

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

Other differences:
------------------
++++++ python3-raven.spec ++++++
--- /var/tmp/diff_new_pack.3Xfr1o/_old  2016-03-29 10:39:55.000000000 +0200
+++ /var/tmp/diff_new_pack.3Xfr1o/_new  2016-03-29 10:39:55.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python3-raven
-Version:        5.11.1
+Version:        5.11.2
 Release:        0
 Url:            https://pypi.python.org/pypi/raven
 Summary:        A client for Sentry

++++++ raven-5.11.1.tar.gz -> raven-5.11.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/raven-5.11.1/PKG-INFO new/raven-5.11.2/PKG-INFO
--- old/raven-5.11.1/PKG-INFO   2016-03-07 21:08:11.000000000 +0100
+++ new/raven-5.11.2/PKG-INFO   2016-03-26 11:28:50.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: raven
-Version: 5.11.1
+Version: 5.11.2
 Summary: Raven is a client for Sentry (https://getsentry.com)
 Home-page: https://github.com/getsentry/raven-python
 Author: Sentry
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/raven-5.11.1/raven/base.py 
new/raven-5.11.2/raven/base.py
--- old/raven-5.11.1/raven/base.py      2016-03-07 21:04:28.000000000 +0100
+++ new/raven-5.11.2/raven/base.py      2016-03-25 22:18:47.000000000 +0100
@@ -273,12 +273,21 @@
         return '%s:%s' % (scheme, url)
 
     def _get_exception_key(self, exc_info):
+        # On certain celery versions the tb_frame attribute might
+        # not exist or be `None`.
+        code_id = 0
+        last_id = 0
+        try:
+            code_id = id(exc_info[2] and exc_info[2].tb_frame.f_code)
+            last_id = exc_info[2] and exc_info[2].tb_lasti or 0
+        except (AttributeError, IndexError):
+            pass
         return (
             exc_info[0],
             id(exc_info[1]),
-            id(exc_info[2] and exc_info[2].tb_frame.f_code),
+            code_id,
             id(exc_info[2]),
-            exc_info[2] and exc_info[2].tb_lasti,
+            last_id,
         )
 
     def skip_error_for_logging(self, exc_info):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/raven-5.11.1/raven/utils/stacks.py 
new/raven-5.11.2/raven/utils/stacks.py
--- old/raven-5.11.1/raven/utils/stacks.py      2016-01-13 17:52:15.000000000 
+0100
+++ new/raven-5.11.2/raven/utils/stacks.py      2016-03-25 22:20:21.000000000 
+0100
@@ -140,7 +140,9 @@
     frames that do not contain the ``__traceback_hide__``
     local variable.
     """
-    while tb:
+    # Some versions of celery have hacked traceback objects that might
+    # miss tb_frame.
+    while tb and hasattr(tb, 'tb_frame'):
         # support for __traceback_hide__ which is used by a few libraries
         # to hide internal frames.
         f_locals = getattr(tb.tb_frame, 'f_locals', {})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/raven-5.11.1/raven.egg-info/PKG-INFO 
new/raven-5.11.2/raven.egg-info/PKG-INFO
--- old/raven-5.11.1/raven.egg-info/PKG-INFO    2016-03-07 21:08:11.000000000 
+0100
+++ new/raven-5.11.2/raven.egg-info/PKG-INFO    2016-03-26 11:28:50.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: raven
-Version: 5.11.1
+Version: 5.11.2
 Summary: Raven is a client for Sentry (https://getsentry.com)
 Home-page: https://github.com/getsentry/raven-python
 Author: Sentry
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/raven-5.11.1/setup.py new/raven-5.11.2/setup.py
--- old/raven-5.11.1/setup.py   2016-03-07 21:07:54.000000000 +0100
+++ new/raven-5.11.2/setup.py   2016-03-25 22:21:37.000000000 +0100
@@ -97,7 +97,7 @@
 
 setup(
     name='raven',
-    version='5.11.1',
+    version='5.11.2',
     author='Sentry',
     author_email='he...@getsentry.com',
     url='https://github.com/getsentry/raven-python',


Reply via email to