commit python-raven for openSUSE:Factory

2020-09-04 Thread root
Hello community,

here is the log from the commit of package python-raven for openSUSE:Factory 
checked in at 2020-09-04 11:03:23

Comparing /work/SRC/openSUSE:Factory/python-raven (Old)
 and  /work/SRC/openSUSE:Factory/.python-raven.new.3399 (New)


Package is "python-raven"

Fri Sep  4 11:03:23 2020 rev:14 rq:831399 version:6.10.0

Changes:

--- /work/SRC/openSUSE:Factory/python-raven/python-raven.changes
2020-05-28 09:08:05.815838920 +0200
+++ /work/SRC/openSUSE:Factory/.python-raven.new.3399/python-raven.changes  
2020-09-04 11:04:37.494800567 +0200
@@ -1,0 +2,5 @@
+Tue Sep  1 15:37:52 UTC 2020 - Marketa Calabkova 
+
+- Add patch fix-tests.patch
+
+---

New:

  fix-tests.patch



Other differences:
--
++ python-raven.spec ++
--- /var/tmp/diff_new_pack.NBZ4KQ/_old  2020-09-04 11:04:39.058801404 +0200
+++ /var/tmp/diff_new_pack.NBZ4KQ/_new  2020-09-04 11:04:39.062801407 +0200
@@ -28,6 +28,7 @@
 # https://github.com/getsentry/raven-python/issues/1284
 Patch0: remove-unittest2.patch
 Patch1: pytest4.patch
+Patch2: fix-tests.patch
 BuildRequires:  %{python_module Django}
 BuildRequires:  %{python_module Flask >= 0.8}
 BuildRequires:  %{python_module Flask-Login >= 0.2.0}

++ fix-tests.patch ++
Index: raven-6.10.0/tests/contrib/django/views.py
===
--- raven-6.10.0.orig/tests/contrib/django/views.py
+++ raven-6.10.0/tests/contrib/django/views.py
@@ -1,7 +1,7 @@
 from __future__ import absolute_import
 
 from django.http import HttpResponse
-from django.shortcuts import get_object_or_404, render_to_response
+from django.shortcuts import get_object_or_404, render
 from raven.contrib.django.models import client
 
 import logging
@@ -41,7 +41,7 @@ def decorated_raise_exc(request):
 
 
 def template_exc(request):
-return render_to_response('error.html')
+return render(None, 'error.html')
 
 
 def logging_request_exc(request):
Index: raven-6.10.0/tests/contrib/test_celery.py
===
--- raven-6.10.0.orig/tests/contrib/test_celery.py
+++ raven-6.10.0/tests/contrib/test_celery.py
@@ -61,9 +61,7 @@ class CeleryLoggingHandlerTestCase(TestC
 # remove any existing handlers and restore
 # them when complete
 self.root = logging.getLogger()
-for handler in self.root.handlers:
-self.root.removeHandler(handler)
-self.addCleanup(self.root.addHandler, handler)
+self.root.handlers = [] # so uggly
 
 def test_handler_added(self):
 # Given: there are no handlers configured



commit python-raven for openSUSE:Factory

2020-05-28 Thread root
Hello community,

here is the log from the commit of package python-raven for openSUSE:Factory 
checked in at 2020-05-28 09:08:02

Comparing /work/SRC/openSUSE:Factory/python-raven (Old)
 and  /work/SRC/openSUSE:Factory/.python-raven.new.3606 (New)


Package is "python-raven"

Thu May 28 09:08:02 2020 rev:13 rq:807269 version:6.10.0

Changes:

--- /work/SRC/openSUSE:Factory/python-raven/python-raven.changes
2020-03-27 00:23:23.632198950 +0100
+++ /work/SRC/openSUSE:Factory/.python-raven.new.3606/python-raven.changes  
2020-05-28 09:08:05.815838920 +0200
@@ -1,0 +2,5 @@
+Tue May 19 09:27:39 UTC 2020 - Petr Gajdos 
+
+- %python3_only -> %python_alternative
+
+---



Other differences:
--
++ python-raven.spec ++
--- /var/tmp/diff_new_pack.b9rSfW/_old  2020-05-28 09:08:07.443843801 +0200
+++ /var/tmp/diff_new_pack.b9rSfW/_new  2020-05-28 09:08:07.443843801 +0200
@@ -54,6 +54,8 @@
 BuildRequires:  %{python_module vine}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Recommends: python-Flask >= 0.8
 Recommends: python-blinker >= 1.1
 BuildArch:  noarch
@@ -78,6 +80,7 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/raven
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %python_expand rm -rf %{buildroot}/%{$python_sitelib}/raven/data/cacert.pem
 
@@ -85,10 +88,16 @@
 export DJANGO_SETTINGS_MODULE=tests.contrib.django.settings
 %pytest -k 'not (TornadoAsyncClientTestCase or TornadoTransportTests)'
 
+%post
+%python_install_alternative raven
+
+%postun
+%python_uninstall_alternative raven
+
 %files %{python_files}
 %license LICENSE
 %doc README.rst
-%python3_only %{_bindir}/raven
+%python_alternative %{_bindir}/raven
 %{python_sitelib}/*
 
 %changelog




commit python-raven for openSUSE:Factory

2020-03-26 Thread root
Hello community,

here is the log from the commit of package python-raven for openSUSE:Factory 
checked in at 2020-03-27 00:23:19

Comparing /work/SRC/openSUSE:Factory/python-raven (Old)
 and  /work/SRC/openSUSE:Factory/.python-raven.new.3160 (New)


Package is "python-raven"

Fri Mar 27 00:23:19 2020 rev:12 rq:784793 version:6.10.0

Changes:

--- /work/SRC/openSUSE:Factory/python-raven/python-raven.changes
2019-11-08 15:22:53.982815388 +0100
+++ /work/SRC/openSUSE:Factory/.python-raven.new.3160/python-raven.changes  
2020-03-27 00:23:23.632198950 +0100
@@ -1,0 +2,5 @@
+Sat Mar 14 07:19:00 UTC 2020 - Tomáš Chvátal 
+
+- Fix build without python2
+
+---



Other differences:
--
++ python-raven.spec ++
--- /var/tmp/diff_new_pack.siRBU9/_old  2020-03-27 00:23:24.464199371 +0100
+++ /var/tmp/diff_new_pack.siRBU9/_new  2020-03-27 00:23:24.464199371 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-raven
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,12 +17,12 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
 Name:   python-raven
 Version:6.10.0
 Release:0
 Summary:A client for Sentry
 License:BSD-3-Clause
-Group:  Development/Languages/Python
 URL:https://github.com/getsentry/raven-python
 Source: 
https://files.pythonhosted.org/packages/source/r/raven/raven-%{version}.tar.gz
 # https://github.com/getsentry/raven-python/issues/1284
@@ -54,10 +54,12 @@
 BuildRequires:  %{python_module vine}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  python-web.py
 Recommends: python-Flask >= 0.8
 Recommends: python-blinker >= 1.1
 BuildArch:  noarch
+%if %{with python2}
+BuildRequires:  python-web.py
+%endif
 %python_subpackages
 
 %description




commit python-raven for openSUSE:Factory

2019-11-08 Thread root
Hello community,

here is the log from the commit of package python-raven for openSUSE:Factory 
checked in at 2019-11-08 15:22:51

Comparing /work/SRC/openSUSE:Factory/python-raven (Old)
 and  /work/SRC/openSUSE:Factory/.python-raven.new.2990 (New)


Package is "python-raven"

Fri Nov  8 15:22:51 2019 rev:11 rq:745213 version:6.10.0

Changes:

--- /work/SRC/openSUSE:Factory/python-raven/python-raven.changes
2019-09-30 15:56:16.04171 +0200
+++ /work/SRC/openSUSE:Factory/.python-raven.new.2990/python-raven.changes  
2019-11-08 15:22:53.982815388 +0100
@@ -1,0 +2,5 @@
+Mon Nov  4 14:32:37 UTC 2019 - Matej Cepl 
+
+- Add pytest4.patch allowing the test suite to pass with pytest 4
+
+---

New:

  pytest4.patch



Other differences:
--
++ python-raven.spec ++
--- /var/tmp/diff_new_pack.WnfQ7m/_old  2019-11-08 15:22:54.874816332 +0100
+++ /var/tmp/diff_new_pack.WnfQ7m/_new  2019-11-08 15:22:54.874816332 +0100
@@ -27,6 +27,7 @@
 Source: 
https://files.pythonhosted.org/packages/source/r/raven/raven-%{version}.tar.gz
 # https://github.com/getsentry/raven-python/issues/1284
 Patch0: remove-unittest2.patch
+Patch1: pytest4.patch
 BuildRequires:  %{python_module Django}
 BuildRequires:  %{python_module Flask >= 0.8}
 BuildRequires:  %{python_module Flask-Login >= 0.2.0}
@@ -42,10 +43,10 @@
 BuildRequires:  %{python_module exam >= 0.5.2}
 BuildRequires:  %{python_module kombu}
 BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module pytest < 4}
 BuildRequires:  %{python_module pytest-django}
 BuildRequires:  %{python_module pytest-pythonpath}
 BuildRequires:  %{python_module pytest-timeout >= 0.4}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pytz}
 BuildRequires:  %{python_module requests}
 BuildRequires:  %{python_module setuptools}
@@ -67,6 +68,7 @@
 %prep
 %setup -q -n raven-%{version}
 %autopatch -p1
+
 rm -f setup.cfg tox.ini pytest.ini
 
 %build

++ pytest4.patch ++
--- a/conftest.py
+++ b/conftest.py
@@ -74,6 +74,6 @@ def user_instance(request, admin_user):
 
 @pytest.fixture(autouse=True)
 def has_git_requirements(request, project_root):
-if request.node.get_marker('has_git_requirements'):
+if request.node.get_closest_marker('has_git_requirements'):
 if not os.path.exists(os.path.join(project_root, '.git', 'refs', 
'heads', 'master')):
 pytest.skip('skipped test as project is not a git repo')



commit python-raven for openSUSE:Factory

2019-09-30 Thread root
Hello community,

here is the log from the commit of package python-raven for openSUSE:Factory 
checked in at 2019-09-30 15:56:04

Comparing /work/SRC/openSUSE:Factory/python-raven (Old)
 and  /work/SRC/openSUSE:Factory/.python-raven.new.2352 (New)


Package is "python-raven"

Mon Sep 30 15:56:04 2019 rev:10 rq:732924 version:6.10.0

Changes:

--- /work/SRC/openSUSE:Factory/python-raven/python-raven.changes
2019-09-02 12:44:15.993758967 +0200
+++ /work/SRC/openSUSE:Factory/.python-raven.new.2352/python-raven.changes  
2019-09-30 15:56:16.04171 +0200
@@ -1,0 +2,7 @@
+Mon Sep 23 16:56:47 UTC 2019 - John Vandenberg 
+
+- Undo tornado version change causing package to break
+- Re-enable test suite
+- Remove unnecessary build dependencies on dev tools
+
+---



Other differences:
--
++ python-raven.spec ++
--- /var/tmp/diff_new_pack.X3yQmH/_old  2019-09-30 15:56:17.917711673 +0200
+++ /var/tmp/diff_new_pack.X3yQmH/_new  2019-09-30 15:56:17.921711663 +0200
@@ -27,6 +27,7 @@
 Source: 
https://files.pythonhosted.org/packages/source/r/raven/raven-%{version}.tar.gz
 # https://github.com/getsentry/raven-python/issues/1284
 Patch0: remove-unittest2.patch
+BuildRequires:  %{python_module Django}
 BuildRequires:  %{python_module Flask >= 0.8}
 BuildRequires:  %{python_module Flask-Login >= 0.2.0}
 BuildRequires:  %{python_module Logbook}
@@ -39,22 +40,16 @@
 BuildRequires:  %{python_module bottle}
 BuildRequires:  %{python_module celery >= 2.5}
 BuildRequires:  %{python_module exam >= 0.5.2}
-BuildRequires:  %{python_module flake8 >= 2.6}
 BuildRequires:  %{python_module kombu}
 BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module nose}
-BuildRequires:  %{python_module pycodestyle}
-BuildRequires:  %{python_module pytest >= 3.0.0}
-BuildRequires:  %{python_module pytest-cov}
-BuildRequires:  %{python_module pytest-flake8}
+BuildRequires:  %{python_module pytest < 4}
+BuildRequires:  %{python_module pytest-django}
 BuildRequires:  %{python_module pytest-pythonpath}
 BuildRequires:  %{python_module pytest-timeout >= 0.4}
-BuildRequires:  %{python_module pytest-xdist}
 BuildRequires:  %{python_module pytz}
 BuildRequires:  %{python_module requests}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module tornado >= 4.1}
-BuildConflicts: %{python_module tornado >= 5}
 BuildRequires:  %{python_module vine}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -72,6 +67,7 @@
 %prep
 %setup -q -n raven-%{version}
 %autopatch -p1
+rm -f setup.cfg tox.ini pytest.ini
 
 %build
 %python_build
@@ -81,11 +77,9 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %python_expand rm -rf %{buildroot}/%{$python_sitelib}/raven/data/cacert.pem
 
-# Tests are completely broken 
https://github.com/getsentry/raven-python/issues/1283
-# %%check
-# %%{python_expand export PYTHONPATH=%{buildroot}%%{$python_sitelib}
-# py.test-%%{$python_bin_suffix} -k 'not (TornadoAsyncClientTestCase or 
TornadoTransportTests)'
-# }
+%check
+export DJANGO_SETTINGS_MODULE=tests.contrib.django.settings
+%pytest -k 'not (TornadoAsyncClientTestCase or TornadoTransportTests)'
 
 %files %{python_files}
 %license LICENSE




commit python-raven for openSUSE:Factory

2019-09-02 Thread root
Hello community,

here is the log from the commit of package python-raven for openSUSE:Factory 
checked in at 2019-09-02 12:44:13

Comparing /work/SRC/openSUSE:Factory/python-raven (Old)
 and  /work/SRC/openSUSE:Factory/.python-raven.new.7948 (New)


Package is "python-raven"

Mon Sep  2 12:44:13 2019 rev:9 rq:726226 version:6.10.0

Changes:

--- /work/SRC/openSUSE:Factory/python-raven/python-raven.changes
2019-07-30 13:02:26.682425905 +0200
+++ /work/SRC/openSUSE:Factory/.python-raven.new.7948/python-raven.changes  
2019-09-02 12:44:15.993758967 +0200
@@ -1,0 +2,5 @@
+Mon Aug 26 16:57:00 UTC 2019 - Todd R 
+
+- Use better way to handle tornado version compatibility.
+
+---



Other differences:
--
++ python-raven.spec ++
--- /var/tmp/diff_new_pack.deK93z/_old  2019-09-02 12:44:16.569758863 +0200
+++ /var/tmp/diff_new_pack.deK93z/_new  2019-09-02 12:44:16.569758863 +0200
@@ -54,6 +54,7 @@
 BuildRequires:  %{python_module requests}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module tornado >= 4.1}
+BuildConflicts: %{python_module tornado >= 5}
 BuildRequires:  %{python_module vine}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros




commit python-raven for openSUSE:Factory

2019-07-30 Thread root
Hello community,

here is the log from the commit of package python-raven for openSUSE:Factory 
checked in at 2019-07-30 13:02:23

Comparing /work/SRC/openSUSE:Factory/python-raven (Old)
 and  /work/SRC/openSUSE:Factory/.python-raven.new.4126 (New)


Package is "python-raven"

Tue Jul 30 13:02:23 2019 rev:8 rq:717021 version:6.10.0

Changes:

--- /work/SRC/openSUSE:Factory/python-raven/python-raven.changes
2019-06-18 14:44:55.701738171 +0200
+++ /work/SRC/openSUSE:Factory/.python-raven.new.4126/python-raven.changes  
2019-07-30 13:02:26.682425905 +0200
@@ -1,0 +2,5 @@
+Fri Jul 19 10:44:43 UTC 2019 - Tomáš Chvátal 
+
+- Do not depend on pytest-sugar, it is just pretty-formatter
+
+---



Other differences:
--
++ python-raven.spec ++
--- /var/tmp/diff_new_pack.EhXD4b/_old  2019-07-30 13:02:28.218425595 +0200
+++ /var/tmp/diff_new_pack.EhXD4b/_new  2019-07-30 13:02:28.222425595 +0200
@@ -48,7 +48,6 @@
 BuildRequires:  %{python_module pytest-cov}
 BuildRequires:  %{python_module pytest-flake8}
 BuildRequires:  %{python_module pytest-pythonpath}
-BuildRequires:  %{python_module pytest-sugar}
 BuildRequires:  %{python_module pytest-timeout >= 0.4}
 BuildRequires:  %{python_module pytest-xdist}
 BuildRequires:  %{python_module pytz}




commit python-raven for openSUSE:Factory

2019-06-18 Thread root
Hello community,

here is the log from the commit of package python-raven for openSUSE:Factory 
checked in at 2019-06-18 14:44:54

Comparing /work/SRC/openSUSE:Factory/python-raven (Old)
 and  /work/SRC/openSUSE:Factory/.python-raven.new.4811 (New)


Package is "python-raven"

Tue Jun 18 14:44:54 2019 rev:7 rq:707053 version:6.10.0

Changes:

--- /work/SRC/openSUSE:Factory/python-raven/python-raven.changes
2019-05-16 21:59:37.610792096 +0200
+++ /work/SRC/openSUSE:Factory/.python-raven.new.4811/python-raven.changes  
2019-06-18 14:44:55.701738171 +0200
@@ -1,0 +2,6 @@
+Sun Jun  2 21:18:53 UTC 2019 - Jan Engelhardt 
+
+- Avoid name repetition in summary.
+- Ensure neutrality of descriptions.
+
+---



Other differences:
--
++ python-raven.spec ++
--- /var/tmp/diff_new_pack.MeA7gi/_old  2019-06-18 14:44:56.141738126 +0200
+++ /var/tmp/diff_new_pack.MeA7gi/_new  2019-06-18 14:44:56.153738125 +0200
@@ -20,7 +20,7 @@
 Name:   python-raven
 Version:6.10.0
 Release:0
-Summary:Raven is a client for Sentry
+Summary:A client for Sentry
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 URL:https://github.com/getsentry/raven-python
@@ -65,11 +65,9 @@
 %python_subpackages
 
 %description
-Raven is a Python client for Sentry_. It provides full out-of-the-box
-support for many of the popular frameworks, including Django, Flask,
-and Pylons. Raven also includes drop-in support for any
-WSGI-compatible web application.
-
+Raven is a Python client for Sentry. It supports many frameworks,
+including Django, Flask, and Pylons. Raven also includes drop-in
+support for any WSGI-compatible web application.
 
 %prep
 %setup -q -n raven-%{version}




commit python-raven for openSUSE:Factory

2019-05-16 Thread root
Hello community,

here is the log from the commit of package python-raven for openSUSE:Factory 
checked in at 2019-05-16 21:59:30

Comparing /work/SRC/openSUSE:Factory/python-raven (Old)
 and  /work/SRC/openSUSE:Factory/.python-raven.new.5148 (New)


Package is "python-raven"

Thu May 16 21:59:30 2019 rev:6 rq:702933 version:6.10.0

Changes:

--- /work/SRC/openSUSE:Factory/python-raven/python-raven.changes
2018-12-24 11:43:01.589365172 +0100
+++ /work/SRC/openSUSE:Factory/.python-raven.new.5148/python-raven.changes  
2019-05-16 21:59:37.610792096 +0200
@@ -1,0 +2,9 @@
+Tue May 14 18:01:06 UTC 2019 - John Jolly 
+
+- Update to 6.10.0:
+  + [Core] Fixed stackframes in some situations being in inverse order.
+  + [Flask] Fix wrong exception handling logic (accidentally relied on Flask 
internals).
+  + [Core] No longer send NaN local vars as non-standard JSON.
+- Refresh patch remove-unittest2.patch
+
+---

Old:

  raven-6.9.0.tar.gz

New:

  raven-6.10.0.tar.gz



Other differences:
--
++ python-raven.spec ++
--- /var/tmp/diff_new_pack.bFIFa6/_old  2019-05-16 21:59:40.162790648 +0200
+++ /var/tmp/diff_new_pack.bFIFa6/_new  2019-05-16 21:59:40.166790645 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-raven
 #
-# 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
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-raven
-Version:6.9.0
+Version:6.10.0
 Release:0
 Summary:Raven is a client for Sentry
 License:BSD-3-Clause

++ raven-6.9.0.tar.gz -> raven-6.10.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/raven-6.9.0/PKG-INFO new/raven-6.10.0/PKG-INFO
--- old/raven-6.9.0/PKG-INFO2018-05-30 22:30:56.0 +0200
+++ new/raven-6.10.0/PKG-INFO   2018-12-19 12:00:58.0 +0100
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: raven
-Version: 6.9.0
+Version: 6.10.0
 Summary: Raven is a client for Sentry (https://getsentry.com)
 Home-page: https://github.com/getsentry/raven-python
 Author: Sentry
@@ -31,3 +31,5 @@
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python
 Classifier: Topic :: Software Development
+Provides-Extra: flask
+Provides-Extra: tests
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/raven-6.9.0/README.rst new/raven-6.10.0/README.rst
--- old/raven-6.9.0/README.rst  2017-11-29 01:38:50.0 +0100
+++ new/raven-6.10.0/README.rst 2018-10-25 20:00:09.0 +0200
@@ -1,15 +1,10 @@
 .. raw:: html
 
 
-
-.. image:: docs/_static/logo.png
-:target: https://sentry.io
-:align: center
-:width: 116
-:alt: Sentry website
-
-.. raw:: html
-
+  https://sentry.io; target="_blank" align="center">
+https://sentry-brand.storage.googleapis.com/sentry-logo-black.png; 
width="280">
+  
+  
 
 
 Raven - Sentry for Python
@@ -35,9 +30,11 @@
:alt: Code Climate
 
 
-Raven is the official Python client for `Sentry`_, officially supports
+Raven is the official legacy Python client for `Sentry`_, officially supports
 Python 2.6–2.7 & 3.3–3.7, and runs on PyPy and Google App Engine.
 
+**This SDK is being phased out for** `Sentry-Python 
`_.
+
 It tracks errors and exceptions that happen during the
 execution of your application and provides instant notification with detailed
 information needed to prioritize, identify, reproduce and fix each issue.
@@ -91,7 +88,8 @@
 Contributing
 
 
-Raven is under active development and contributions are more than welcome!
+Raven will continue to be maintained for bugfixes and contributions are more 
than welcome!  New features should only go into the new sentry-python SDK.
+
 There are many ways to contribute:
 
 * Join in on discussions on our `Mailing List`_ or in our `IRC Channel`_.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/raven-6.9.0/conftest.py new/raven-6.10.0/conftest.py
--- old/raven-6.9.0/conftest.py 2018-04-18 09:33:25.0 +0200
+++ new/raven-6.10.0/conftest.py2018-12-15 20:00:21.0 +0100
@@ -44,7 +44,7 @@
 use_djcelery = True
 try:
 import djcelery  # NOQA
-#INSTALLED_APPS.append('djcelery')
+# INSTALLED_APPS.append('djcelery')
 except ImportError:
 

commit python-raven for openSUSE:Factory

2018-12-24 Thread root
Hello community,

here is the log from the commit of package python-raven for openSUSE:Factory 
checked in at 2018-12-24 11:43:00

Comparing /work/SRC/openSUSE:Factory/python-raven (Old)
 and  /work/SRC/openSUSE:Factory/.python-raven.new.28833 (New)


Package is "python-raven"

Mon Dec 24 11:43:00 2018 rev:5 rq:659634 version:6.9.0

Changes:

--- /work/SRC/openSUSE:Factory/python-raven/python-raven.changes
2018-08-12 20:55:09.925441967 +0200
+++ /work/SRC/openSUSE:Factory/.python-raven.new.28833/python-raven.changes 
2018-12-24 11:43:01.589365172 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:53:33 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-raven.spec ++
--- /var/tmp/diff_new_pack.DbCjxe/_old  2018-12-24 11:43:02.041364771 +0100
+++ /var/tmp/diff_new_pack.DbCjxe/_new  2018-12-24 11:43:02.045364768 +0100
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -38,7 +38,6 @@
 BuildRequires:  %{python_module blinker >= 1.1}
 BuildRequires:  %{python_module bottle}
 BuildRequires:  %{python_module celery >= 2.5}
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module exam >= 0.5.2}
 BuildRequires:  %{python_module flake8 >= 2.6}
 BuildRequires:  %{python_module kombu}




commit python-raven for openSUSE:Factory

2018-08-12 Thread root
Hello community,

here is the log from the commit of package python-raven for openSUSE:Factory 
checked in at 2018-08-12 20:55:08

Comparing /work/SRC/openSUSE:Factory/python-raven (Old)
 and  /work/SRC/openSUSE:Factory/.python-raven.new (New)


Package is "python-raven"

Sun Aug 12 20:55:08 2018 rev:4 rq:628648 version:6.9.0

Changes:

--- /work/SRC/openSUSE:Factory/python-raven/python-raven.changes
2018-08-02 14:57:35.204221315 +0200
+++ /work/SRC/openSUSE:Factory/.python-raven.new/python-raven.changes   
2018-08-12 20:55:09.925441967 +0200
@@ -1,0 +2,6 @@
+Fri Aug 10 14:42:53 UTC 2018 - mc...@suse.com
+
+- Remove unnecessary dependency on unittest2 and contextlib2 modules.
+  Add remove-unittest2.patch fixing the code.
+
+---

New:

  remove-unittest2.patch



Other differences:
--
++ python-raven.spec ++
--- /var/tmp/diff_new_pack.UaP9UE/_old  2018-08-12 20:55:13.001448214 +0200
+++ /var/tmp/diff_new_pack.UaP9UE/_new  2018-08-12 20:55:13.005448222 +0200
@@ -25,6 +25,8 @@
 Group:  Development/Languages/Python
 URL:https://github.com/getsentry/raven-python
 Source: 
https://files.pythonhosted.org/packages/source/r/raven/raven-%{version}.tar.gz
+# https://github.com/getsentry/raven-python/issues/1284
+Patch0: remove-unittest2.patch
 BuildRequires:  %{python_module Flask >= 0.8}
 BuildRequires:  %{python_module Flask-Login >= 0.2.0}
 BuildRequires:  %{python_module Logbook}
@@ -57,14 +59,10 @@
 BuildRequires:  %{python_module vine}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  python-unittest2
 BuildRequires:  python-web.py
 Recommends: python-Flask >= 0.8
 Recommends: python-blinker >= 1.1
 BuildArch:  noarch
-%ifpython2
-BuildRequires:  python-contextlib2
-%endif
 %python_subpackages
 
 %description
@@ -76,6 +74,7 @@
 
 %prep
 %setup -q -n raven-%{version}
+%autopatch -p1
 
 %build
 %python_build
@@ -85,10 +84,11 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %python_expand rm -rf %{buildroot}/%{$python_sitelib}/raven/data/cacert.pem
 
-%check
-%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
-py.test-%{$python_bin_suffix} -k 'not (TornadoAsyncClientTestCase or 
TornadoTransportTests)'
-}
+# Tests are completely broken 
https://github.com/getsentry/raven-python/issues/1283
+# %%check
+# %%{python_expand export PYTHONPATH=%{buildroot}%%{$python_sitelib}
+# py.test-%%{$python_bin_suffix} -k 'not (TornadoAsyncClientTestCase or 
TornadoTransportTests)'
+# }
 
 %files %{python_files}
 %license LICENSE

++ remove-unittest2.patch ++
--- a/raven/utils/testutils.py
+++ b/raven/utils/testutils.py
@@ -11,10 +11,7 @@ import raven
 
 from exam import Exam
 
-try:
-from unittest2 import TestCase as BaseTestCase
-except ImportError:
-from unittest import TestCase as BaseTestCase  # NOQA
+from unittest import TestCase as BaseTestCase
 
 
 class TestCase(Exam, BaseTestCase):
--- a/setup.py
+++ b/setup.py
@@ -35,7 +35,6 @@ with open('raven/__init__.py', 'rb') as
 
 
 install_requires = []
-unittest2_requires = ['unittest2']
 
 flask_requires = [
 'Flask>=0.8',
@@ -54,9 +53,8 @@ webpy_tests_requires = [
 'web.py',
 ]
 
-# If it's python3, remove unittest2 & web.py.
+# If it's python3, remove web.py.
 if sys.version_info[0] == 3:
-unittest2_requires = []
 webpy_tests_requires = []
 
 # If it's Python 3.5+, add Sanic packages.
@@ -94,7 +92,7 @@ tests_require = [
 ] + (
 flask_requires + flask_tests_requires +
 sanic_requires + sanic_tests_requires +
-unittest2_requires + webpy_tests_requires
+webpy_tests_requires
 )
 
 
@@ -129,7 +127,6 @@ setup(
 extras_require={
 'flask': flask_requires,
 'tests': tests_require,
-':python_version<"3.2"': ['contextlib2'],
 },
 license='BSD',
 tests_require=tests_require,
--- a/raven/base.py
+++ b/raven/base.py
@@ -22,10 +22,7 @@ from random import Random
 from types import FunctionType
 from threading import local
 
-if sys.version_info >= (3, 2):
-import contextlib
-else:
-import contextlib2 as contextlib
+import contextlib
 
 try:
 from thread import get_ident as get_thread_ident



commit python-raven for openSUSE:Factory

2018-08-02 Thread root
Hello community,

here is the log from the commit of package python-raven for openSUSE:Factory 
checked in at 2018-08-02 14:57:31

Comparing /work/SRC/openSUSE:Factory/python-raven (Old)
 and  /work/SRC/openSUSE:Factory/.python-raven.new (New)


Package is "python-raven"

Thu Aug  2 14:57:31 2018 rev:3 rq:625456 version:6.9.0

Changes:

--- /work/SRC/openSUSE:Factory/python-raven/python-raven.changes
2018-01-16 09:42:06.206439333 +0100
+++ /work/SRC/openSUSE:Factory/.python-raven.new/python-raven.changes   
2018-08-02 14:57:35.204221315 +0200
@@ -1,0 +2,9 @@
+Thu Jul 19 16:24:55 UTC 2018 - mc...@suse.com
+
+- Upgrade to 6.9.0:
+too many changes to enlist here, complete list is at
+https://github.com/getsentry/raven-python/blob/master/CHANGELOG.md
+- Remove component.xml and kill_bad_test.patch (unnecessary for the
+  current version)
+
+---

Old:

  component.xml
  kill_bad_test.patch
  raven-6.4.0.tar.gz

New:

  raven-6.9.0.tar.gz



Other differences:
--
++ python-raven.spec ++
--- /var/tmp/diff_new_pack.AsG2qg/_old  2018-08-02 14:57:36.896224159 +0200
+++ /var/tmp/diff_new_pack.AsG2qg/_new  2018-08-02 14:57:36.900224165 +0200
@@ -17,26 +17,14 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without test
 Name:   python-raven
-Version:6.4.0
+Version:6.9.0
 Release:0
 Summary:Raven is a client for Sentry
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-Url:https://github.com/getsentry/raven-python
+URL:https://github.com/getsentry/raven-python
 Source: 
https://files.pythonhosted.org/packages/source/r/raven/raven-%{version}.tar.gz
-# missing file in 6.3.0 release
-Source1:component.xml
-Patch0: kill_bad_test.patch 
-BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module setuptools}
-BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
-Recommends: python-Flask >= 0.8
-Recommends: python-blinker >= 1.1
-BuildArch:  noarch
-%if %{with test}
 BuildRequires:  %{python_module Flask >= 0.8}
 BuildRequires:  %{python_module Flask-Login >= 0.2.0}
 BuildRequires:  %{python_module Logbook}
@@ -48,6 +36,7 @@
 BuildRequires:  %{python_module blinker >= 1.1}
 BuildRequires:  %{python_module bottle}
 BuildRequires:  %{python_module celery >= 2.5}
+BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module exam >= 0.5.2}
 BuildRequires:  %{python_module flake8 >= 2.6}
 BuildRequires:  %{python_module kombu}
@@ -63,21 +52,19 @@
 BuildRequires:  %{python_module pytest-xdist}
 BuildRequires:  %{python_module pytz}
 BuildRequires:  %{python_module requests}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module tornado >= 4.1}
 BuildRequires:  %{python_module vine}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildRequires:  python-unittest2
 BuildRequires:  python-web.py
+Recommends: python-Flask >= 0.8
+Recommends: python-blinker >= 1.1
+BuildArch:  noarch
 %ifpython2
 BuildRequires:  python-contextlib2
 %endif
-%endif
-%ifpython3
-%if %{python3_version_nodots} < 32
-Requires:   python-contextlib2
-%endif
-%else
-Requires:   python-contextlib2
-%endif
 %python_subpackages
 
 %description
@@ -86,10 +73,9 @@
 and Pylons. Raven also includes drop-in support for any
 WSGI-compatible web application.
 
+
 %prep
 %setup -q -n raven-%{version}
-%patch0 -p1
-cp %{SOURCE1} raven/contrib/zconfig/
 
 %build
 %python_build
@@ -99,15 +85,14 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %python_expand rm -rf %{buildroot}/%{$python_sitelib}/raven/data/cacert.pem
 
-%if %{with test}
 %check
 %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
-py.test-%{$python_bin_suffix}
+py.test-%{$python_bin_suffix} -k 'not (TornadoAsyncClientTestCase or 
TornadoTransportTests)'
 }
-%endif
 
 %files %{python_files}
-%doc LICENSE README.rst
+%license LICENSE
+%doc README.rst
 %python3_only %{_bindir}/raven
 %{python_sitelib}/*
 

++ raven-6.4.0.tar.gz -> raven-6.9.0.tar.gz ++
 2226 lines of diff (skipped)




commit python-raven for openSUSE:Factory

2018-01-16 Thread root
Hello community,

here is the log from the commit of package python-raven for openSUSE:Factory 
checked in at 2018-01-16 09:42:04

Comparing /work/SRC/openSUSE:Factory/python-raven (Old)
 and  /work/SRC/openSUSE:Factory/.python-raven.new (New)


Package is "python-raven"

Tue Jan 16 09:42:04 2018 rev:2 rq:563571 version:6.4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-raven/python-raven.changes
2017-09-12 19:56:23.458673844 +0200
+++ /work/SRC/openSUSE:Factory/.python-raven.new/python-raven.changes   
2018-01-16 09:42:06.206439333 +0100
@@ -1,0 +2,34 @@
+Thu Jan 11 11:40:43 UTC 2018 - mimi...@gmail.com
+
+- update to 6.4.0
+- added kill_bad_test.patch
+- dropped zconfig_tests.patch
+* [Core] Support for defining sanitized_keys on the client
+* [Django] Support for Django 2.0 Urlresolver
+* [Docs] Several fixes and improvements
+
+
+---
+Wed Nov 15 13:47:01 UTC 2017 - mimi...@gmail.com
+
+- update to 6.3.0
+- add zconfig_tests.patch and component.xml fixing zconfig support
+* [Core] Changed default timeout on http calls to 5 seconds
+* [Core] Fixed relative paths for traces generated on Windows
+* [Django] Fixed import issues for Django projects < 1.7
+* [Django] Fixed django management command data option
+* [Django/DRF] Added application/octet-stream to non-cacheable types in 
middleware
+* [Django] Added parsing X-Forwarded-For for user.ip_address
+* [Flask] Added request.remote_addr as fallback for ip addresses
+* [Lambda] Added initial AWS Lambda support with contrib.awslambda.LambdaClient
+* [Core] get_frame_locals properly using max_var_size
+* [Core] Fixed raven initialization when logging._srcfile is None
+* [Core] Fixed import locking to avoid recursion
+* [Django] Fixed several issues for Django 1.11 and Django 2.0
+* [Django/DRF] Fixed issue with unavailable request data
+* [Flask] Added app.logger instrumentation
+* [Flask] Added signal on setup_logging
+* [ZConfig] Added standalone ZConfig support
+* [Celery] Fixed several issues related to Celery* 
+
+---

Old:

  raven-6.1.0.tar.gz

New:

  component.xml
  kill_bad_test.patch
  raven-6.4.0.tar.gz



Other differences:
--
++ python-raven.spec ++
--- /var/tmp/diff_new_pack.9fmE3j/_old  2018-01-16 09:42:07.174394025 +0100
+++ /var/tmp/diff_new_pack.9fmE3j/_new  2018-01-16 09:42:07.174394025 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-raven
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -13,22 +13,29 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without test
 Name:   python-raven
-Version:6.1.0
+Version:6.4.0
 Release:0
-License:BSD-3-Clause
 Summary:Raven is a client for Sentry
-Url:https://github.com/getsentry/raven-python
+License:BSD-3-Clause
 Group:  Development/Languages/Python
+Url:https://github.com/getsentry/raven-python
 Source: 
https://files.pythonhosted.org/packages/source/r/raven/raven-%{version}.tar.gz
-BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
+# missing file in 6.3.0 release
+Source1:component.xml
+Patch0: kill_bad_test.patch 
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+Recommends: python-Flask >= 0.8
+Recommends: python-blinker >= 1.1
+BuildArch:  noarch
 %if %{with test}
 BuildRequires:  %{python_module Flask >= 0.8}
 BuildRequires:  %{python_module Flask-Login >= 0.2.0}
@@ -36,6 +43,7 @@
 BuildRequires:  %{python_module Paste}
 BuildRequires:  %{python_module WebOb}
 BuildRequires:  %{python_module WebTest}
+BuildRequires:  %{python_module ZConfig}
 BuildRequires:  %{python_module anyjson}
 BuildRequires:  %{python_module blinker >= 1.1}
 BuildRequires:  %{python_module bottle}
@@ -47,26 +55,29 @@
 BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module pycodestyle}
 BuildRequires:  %{python_module pytest >= 3.0.0}
+BuildRequires:  %{python_module pytest-cov}
+BuildRequires:  %{python_module pytest-flake8}
+BuildRequires:  %{python_module pytest-pythonpath}
+BuildRequires:  %{python_module pytest-sugar}
 BuildRequires:  %{python_module pytest-timeout >= 0.4}
+BuildRequires: