commit python-rollbar for openSUSE:Factory

2020-08-06 Thread root
Hello community,

here is the log from the commit of package python-rollbar for openSUSE:Factory 
checked in at 2020-08-06 10:43:07

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


Package is "python-rollbar"

Thu Aug  6 10:43:07 2020 rev:7 rq:824631 version:0.15.0

Changes:

--- /work/SRC/openSUSE:Factory/python-rollbar/python-rollbar.changes
2020-07-18 21:03:49.455664446 +0200
+++ /work/SRC/openSUSE:Factory/.python-rollbar.new.3399/python-rollbar.changes  
2020-08-06 10:43:23.970158484 +0200
@@ -1,0 +2,9 @@
+Wed Aug  5 16:13:20 UTC 2020 - Matej Cepl 
+
+- Replace self.assertRegex with six.assertRegex in
+  python-rollbar-no-unittest2.patch to finally unrequire
+  unittest2 (gh#rollbar/pyrollbar#340).
+- Update the patch according to the pending pull request
+  gh#rollbar/pyrollbar#346.
+
+---



Other differences:
--
++ python-rollbar-no-unittest2.patch ++
--- /var/tmp/diff_new_pack.F0DJ5Q/_old  2020-08-06 10:43:24.402158700 +0200
+++ /var/tmp/diff_new_pack.F0DJ5Q/_new  2020-08-06 10:43:24.402158700 +0200
@@ -12,3 +12,195 @@
 -class BaseTest(unittest2.TestCase):
 +class BaseTest(unittest.TestCase):
  pass
+--- a/rollbar/test/test_lib.py
 b/rollbar/test/test_lib.py
+@@ -2,6 +2,8 @@ from rollbar.lib import dict_merge
+ 
+ from rollbar.test import BaseTest
+ 
++import six
++
+ class RollbarLibTest(BaseTest):
+ def test_dict_merge_not_dict(self):
+ a = {'a': {'b': 42}}
+@@ -56,4 +58,4 @@ class RollbarLibTest(BaseTest):
+ self.assertIn('b', result['a'])
+ self.assertEqual(42, result['a']['b'])
+ self.assertIn('y', result['a'])
+-self.assertRegex(result['a']['y'], r'Uncopyable obj')
++six.assertRegex(self, result['a']['y'], r'Uncopyable obj')
+--- a/rollbar/test/test_rollbar.py
 b/rollbar/test/test_rollbar.py
+@@ -17,6 +17,7 @@ try:
+ except ImportError:
+ from io import StringIO
+ import unittest
++import six
+ 
+ import rollbar
+ from rollbar.lib import python_major_version, string_types
+@@ -686,7 +687,7 @@ class RollbarTest(BaseTest):
+ varargs = payload['data']['body']['trace']['frames'][-1]['varargspec']
+ 
+ self.assertEqual(1, 
len(payload['data']['body']['trace']['frames'][-1]['locals'][varargs]))
+-
self.assertRegex(payload['data']['body']['trace']['frames'][-1]['locals'][varargs][0],
 r'\*+')
++six.assertRegex(self, 
payload['data']['body']['trace']['frames'][-1]['locals'][varargs][0], r'\*+')
+ 
+ @mock.patch('rollbar.send_payload')
+ def test_args_lambda_with_star_args_and_args(self, send_payload):
+@@ -713,8 +714,8 @@ class RollbarTest(BaseTest):
+ self.assertEqual('arg1-value', 
payload['data']['body']['trace']['frames'][-1]['locals']['arg1'])
+ 
+ self.assertEqual(2, 
len(payload['data']['body']['trace']['frames'][-1]['locals'][varargs]))
+-
self.assertRegex(payload['data']['body']['trace']['frames'][-1]['locals'][varargs][0],
 r'\*+')
+-
self.assertRegex(payload['data']['body']['trace']['frames'][-1]['locals'][varargs][1],
 r'\*+')
++six.assertRegex(self, 
payload['data']['body']['trace']['frames'][-1]['locals'][varargs][0], r'\*+')
++six.assertRegex(self, 
payload['data']['body']['trace']['frames'][-1]['locals'][varargs][1], r'\*+')
+ 
+ @mock.patch('rollbar.send_payload')
+ def test_args_lambda_with_kwargs(self, send_payload):
+@@ -877,7 +878,7 @@ class RollbarTest(BaseTest):
+ 
+ self.assertEqual(2, 
len(payload['data']['body']['trace']['frames'][-1]['argspec']))
+ self.assertEqual('password', 
payload['data']['body']['trace']['frames'][-1]['argspec'][0])
+-
self.assertRegex(payload['data']['body']['trace']['frames'][-1]['locals']['password'],
 r'\*+')
++six.assertRegex(self, 
payload['data']['body']['trace']['frames'][-1]['locals']['password'], r'\*+')
+ self.assertEqual('clear', 
payload['data']['body']['trace']['frames'][-1]['argspec'][1])
+ self.assertEqual('text', 
payload['data']['body']['trace']['frames'][-1]['locals']['clear'])
+ 
+@@ -931,7 +932,7 @@ class RollbarTest(BaseTest):
+ 
+ self.assertEqual(2, 
len(payload['data']['body']['trace']['frames'][-1]['locals'][keywords]))
+ self.assertIn('password', 
payload['data']['body']['trace']['frames'][-1]['locals'][keywords])
+-
self.assertRegex(payload['data']['body']['trace']['frames'][-1]['locals'][keywords]['password'],
 r'\*+')
++six.assertRegex(self, 
payload['data']['body']['trace']['frames'][-1]['locals'][keywords]['password'], 
r'\*+')
+ self.assertIn('clear', 
payload['data']['body']['trace'

commit python-rollbar for openSUSE:Factory

2020-07-18 Thread root
Hello community,

here is the log from the commit of package python-rollbar for openSUSE:Factory 
checked in at 2020-07-18 21:03:32

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


Package is "python-rollbar"

Sat Jul 18 21:03:32 2020 rev:6 rq:821667 version:0.15.0

Changes:

--- /work/SRC/openSUSE:Factory/python-rollbar/python-rollbar.changes
2020-06-03 20:36:06.465846880 +0200
+++ /work/SRC/openSUSE:Factory/.python-rollbar.new.3592/python-rollbar.changes  
2020-07-18 21:03:49.455664446 +0200
@@ -1,0 +2,7 @@
+Sat Jul 18 05:17:28 UTC 2020 - Matej Cepl 
+
+- Upstream doesn't care about unittest2 at all
+  (gh#rollbar/pyrollbar#340), we can just ignore it. Adjust
+  python-rollbar-no-unittest2.patch accordingly.
+
+---



Other differences:
--
++ python-rollbar-no-unittest2.patch ++
--- /var/tmp/diff_new_pack.6JL4dm/_old  2020-07-18 21:03:49.919664944 +0200
+++ /var/tmp/diff_new_pack.6JL4dm/_new  2020-07-18 21:03:49.923664949 +0200
@@ -1,13 +1,8 @@
-Index: pyrollbar-0.15.0/rollbar/test/__init__.py
-===
 pyrollbar-0.15.0.orig/rollbar/test/__init__.py 2020-04-04 
02:08:37.0 +0200
-+++ pyrollbar-0.15.0/rollbar/test/__init__.py  2020-06-03 10:51:15.137644743 
+0200
-@@ -1,9 +1,12 @@
+--- a/rollbar/test/__init__.py
 b/rollbar/test/__init__.py
+@@ -1,9 +1,9 @@
 -import unittest2
-+try:
-+import unittest2 as unittest
-+except ImportError:
-+import unittest
++import unittest
  
  
  SNOWMAN = b'\xe2\x98\x83'




commit python-rollbar for openSUSE:Factory

2020-06-03 Thread root
Hello community,

here is the log from the commit of package python-rollbar for openSUSE:Factory 
checked in at 2020-06-03 20:35:06

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


Package is "python-rollbar"

Wed Jun  3 20:35:06 2020 rev:5 rq:811061 version:0.15.0

Changes:

--- /work/SRC/openSUSE:Factory/python-rollbar/python-rollbar.changes
2020-05-19 14:57:55.469326197 +0200
+++ /work/SRC/openSUSE:Factory/.python-rollbar.new.3606/python-rollbar.changes  
2020-06-03 20:36:06.465846880 +0200
@@ -1,0 +2,9 @@
+Wed Jun  3 09:05:04 UTC 2020 - pgaj...@suse.com
+
+- use %pytest macro
+- remove dependency on unittest2 for python3
+- added patches
+  https://github.com/rollbar/pyrollbar/pull/340
+  + python-rollbar-no-unittest2.patch
+
+---

New:

  python-rollbar-no-unittest2.patch



Other differences:
--
++ python-rollbar.spec ++
--- /var/tmp/diff_new_pack.AHfi4D/_old  2020-06-03 20:36:07.481850065 +0200
+++ /var/tmp/diff_new_pack.AHfi4D/_new  2020-06-03 20:36:07.485850078 +0200
@@ -26,12 +26,14 @@
 Group:  Development/Languages/Python
 URL:https://github.com/rollbar/pyrollbar
 Source: https://github.com/rollbar/pyrollbar/archive/v%{version}.tar.gz
+# https://github.com/rollbar/pyrollbar/pull/340
+Patch0: python-rollbar-no-unittest2.patch
 BuildRequires:  %{python_module WebOb}
 BuildRequires:  %{python_module blinker}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module requests >= 0.12.1}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six >= 1.9.0}
-BuildRequires:  %{python_module unittest2}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-requests >= 0.12.1
@@ -43,6 +45,7 @@
 %if %{with python2}
 BuildRequires:  python2-enum34
 BuildRequires:  python2-mock
+BuildRequires:  python2-unittest2
 %endif
 %python_subpackages
 
@@ -51,6 +54,7 @@
 
 %prep
 %setup -q -n pyrollbar-%{version}
+%patch0 -p1
 
 %build
 %python_build
@@ -61,7 +65,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec setup.py test
+%pytest
 
 %post
 %python_install_alternative rollbar

++ python-rollbar-no-unittest2.patch ++
Index: pyrollbar-0.15.0/rollbar/test/__init__.py
===
--- pyrollbar-0.15.0.orig/rollbar/test/__init__.py  2020-04-04 
02:08:37.0 +0200
+++ pyrollbar-0.15.0/rollbar/test/__init__.py   2020-06-03 10:51:15.137644743 
+0200
@@ -1,9 +1,12 @@
-import unittest2
+try:
+import unittest2 as unittest
+except ImportError:
+import unittest
 
 
 SNOWMAN = b'\xe2\x98\x83'
 SNOWMAN_UNICODE = SNOWMAN.decode('utf8')
 
 
-class BaseTest(unittest2.TestCase):
+class BaseTest(unittest.TestCase):
 pass



commit python-rollbar for openSUSE:Factory

2020-05-19 Thread root
Hello community,

here is the log from the commit of package python-rollbar for openSUSE:Factory 
checked in at 2020-05-19 14:57:51

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


Package is "python-rollbar"

Tue May 19 14:57:51 2020 rev:4 rq:807280 version:0.15.0

Changes:

--- /work/SRC/openSUSE:Factory/python-rollbar/python-rollbar.changes
2020-04-16 23:04:24.743736680 +0200
+++ /work/SRC/openSUSE:Factory/.python-rollbar.new.2738/python-rollbar.changes  
2020-05-19 14:57:55.469326197 +0200
@@ -1,0 +2,5 @@
+Tue May 19 09:27:47 UTC 2020 - Petr Gajdos 
+
+- %python3_only -> %python_alternative
+
+---



Other differences:
--
++ python-rollbar.spec ++
--- /var/tmp/diff_new_pack.Ay1AQs/_old  2020-05-19 14:58:01.117338722 +0200
+++ /var/tmp/diff_new_pack.Ay1AQs/_new  2020-05-19 14:58:01.117338722 +0200
@@ -34,14 +34,16 @@
 BuildRequires:  %{python_module unittest2}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-%if %{with python2}
-BuildRequires:  python2-enum34
-BuildRequires:  python2-mock
-%endif
 Requires:   python-requests >= 0.12.1
 Requires:   python-setuptools
 Requires:   python-six >= 1.9.0
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:  noarch
+%if %{with python2}
+BuildRequires:  python2-enum34
+BuildRequires:  python2-mock
+%endif
 %python_subpackages
 
 %description
@@ -55,15 +57,22 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/rollbar
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %python_exec setup.py test
 
+%post
+%python_install_alternative rollbar
+
+%postun
+%python_uninstall_alternative rollbar
+
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%python3_only %{_bindir}/rollbar
+%python_alternative %{_bindir}/rollbar
 %{python_sitelib}/*
 
 %changelog




commit python-rollbar for openSUSE:Factory

2020-04-16 Thread root
Hello community,

here is the log from the commit of package python-rollbar for openSUSE:Factory 
checked in at 2020-04-16 23:04:22

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


Package is "python-rollbar"

Thu Apr 16 23:04:22 2020 rev:3 rq:794513 version:0.15.0

Changes:

--- /work/SRC/openSUSE:Factory/python-rollbar/python-rollbar.changes
2019-03-28 22:48:37.967055327 +0100
+++ /work/SRC/openSUSE:Factory/.python-rollbar.new.2738/python-rollbar.changes  
2020-04-16 23:04:24.743736680 +0200
@@ -1,0 +2,8 @@
+Wed Apr 15 16:06:40 UTC 2020 - Marketa Calabkova 
+
+- update to 0.15.0
+  * Prevent recursive re-raising
+  * Correctly apply logger formatting
+  * Fix deprecation warnings
+
+---

Old:

  v0.14.7.tar.gz

New:

  v0.15.0.tar.gz



Other differences:
--
++ python-rollbar.spec ++
--- /var/tmp/diff_new_pack.gJA47E/_old  2020-04-16 23:04:25.279737157 +0200
+++ /var/tmp/diff_new_pack.gJA47E/_new  2020-04-16 23:04:25.283737160 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-rollbar
 #
-# 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,24 +17,27 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
 Name:   python-rollbar
-Version:0.14.7
+Version:0.15.0
 Release:0
 Summary:Python notifier for reporting exceptions, errors, and log 
messages to Rollbar
 License:MIT
 Group:  Development/Languages/Python
-Url:https://github.com/rollbar/pyrollbar
+URL:https://github.com/rollbar/pyrollbar
 Source: https://github.com/rollbar/pyrollbar/archive/v%{version}.tar.gz
 BuildRequires:  %{python_module WebOb}
 BuildRequires:  %{python_module blinker}
-BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module requests >= 0.12.1}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six >= 1.9.0}
 BuildRequires:  %{python_module unittest2}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+%if %{with python2}
 BuildRequires:  python2-enum34
+BuildRequires:  python2-mock
+%endif
 Requires:   python-requests >= 0.12.1
 Requires:   python-setuptools
 Requires:   python-six >= 1.9.0

++ v0.14.7.tar.gz -> v0.15.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyrollbar-0.14.7/.gitignore 
new/pyrollbar-0.15.0/.gitignore
--- old/pyrollbar-0.14.7/.gitignore 2019-03-01 22:55:46.0 +0100
+++ new/pyrollbar-0.15.0/.gitignore 2020-04-04 02:08:37.0 +0200
@@ -10,3 +10,4 @@
 Pipfile
 Pipfile.lock
 .pytest_cache/
+.python-version
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyrollbar-0.14.7/.travis.yml 
new/pyrollbar-0.15.0/.travis.yml
--- old/pyrollbar-0.14.7/.travis.yml2019-03-01 22:55:46.0 +0100
+++ new/pyrollbar-0.15.0/.travis.yml2020-04-04 02:08:37.0 +0200
@@ -9,31 +9,45 @@
 - python: "2.7"
   env: FLASK_VERSION=0.11.1
 - python: "2.7"
-  env: FLASK_VERSION=0.12.2
+  env: FLASK_VERSION=0.12.4
+- python: "2.7"
+  env: FLASK_VERSION=1.0.2
 - python: "3.3"
+  dist: trusty
   env: FLASK_VERSION=0.10.1
 - python: "3.3"
+  dist: trusty
   env: FLASK_VERSION=0.11.1
 - python: "3.3"
-  env: FLASK_VERSION=0.12.2
+  dist: trusty
+  env: FLASK_VERSION=0.12.4
+- python: "3.3"
+  dist: trusty
+  env: FLASK_VERSION=1.0.2
 - python: "3.4"
   env: FLASK_VERSION=0.10.1
 - python: "3.4"
   env: FLASK_VERSION=0.11.1
 - python: "3.4"
-  env: FLASK_VERSION=0.12.2
+  env: FLASK_VERSION=0.12.4
+- python: "3.4"
+  env: FLASK_VERSION=1.0.2
 - python: "3.5"
   env: FLASK_VERSION=0.10.1
 - python: "3.5"
   env: FLASK_VERSION=0.11.1
-- python: "3.4"
-  env: FLASK_VERSION=0.12.2
+- python: "3.5"
+  env: FLASK_VERSION=0.12.4
+- python: "3.5"
+  env: FLASK_VERSION=1.0.2
 - python: "3.6"
   env: FLASK_VERSION=0.10.1
 - python: "3.6"
   env: FLASK_VERSION=0.11.1
 - python: "3.6"
-  env: FLASK_VERSION=0.12.2
+  env: FLASK_VERSION=0.12.4
+- python: "3.6"
+  env: FLASK_VERSION=1.0.2
 
 - python: "2.7"
   env: TWISTED_VERSION=15.5.0
@@ -57,46 +71,70 @@
 - python: "2.7"
   env: DJANGO_VERSION=1.7.11
 - python: "2.7"

commit python-rollbar for openSUSE:Factory

2019-03-28 Thread root
Hello community,

here is the log from the commit of package python-rollbar for openSUSE:Factory 
checked in at 2019-03-28 22:48:36

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


Package is "python-rollbar"

Thu Mar 28 22:48:36 2019 rev:2 rq:688745 version:0.14.7

Changes:

--- /work/SRC/openSUSE:Factory/python-rollbar/python-rollbar.changes
2017-12-14 11:03:24.014476469 +0100
+++ /work/SRC/openSUSE:Factory/.python-rollbar.new.25356/python-rollbar.changes 
2019-03-28 22:48:37.967055327 +0100
@@ -1,0 +2,17 @@
+Tue Mar 26 14:01:55 UTC 2019 - pgaj...@suse.com
+
+- require python-setuptools
+
+---
+Mon Mar 25 14:08:31 UTC 2019 - pgaj...@suse.com
+
+- version update to 0.14.7
+  * Create the configuration options, `capture_username`
+and `capture_email`. 
+  * Create the configuration option `capture_ip`.
+  * Fix `request.files_keys` for Flask
+  * If you call `init` multiple times we will update the settings
+at each call.
+  * see CHANGELOG.md for details
+
+---

Old:

  v0.13.17.tar.gz

New:

  v0.14.7.tar.gz



Other differences:
--
++ python-rollbar.spec ++
--- /var/tmp/diff_new_pack.K7eGgq/_old  2019-03-28 22:48:38.807055175 +0100
+++ /var/tmp/diff_new_pack.K7eGgq/_new  2019-03-28 22:48:38.811055174 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-rollbar
 #
-# Copyright (c) 2017 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,13 +12,13 @@
 # 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/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-rollbar
-Version:0.13.17
+Version:0.14.7
 Release:0
 Summary:Python notifier for reporting exceptions, errors, and log 
messages to Rollbar
 License:MIT
@@ -36,6 +36,7 @@
 BuildRequires:  python-rpm-macros
 BuildRequires:  python2-enum34
 Requires:   python-requests >= 0.12.1
+Requires:   python-setuptools
 Requires:   python-six >= 1.9.0
 BuildArch:  noarch
 %python_subpackages
@@ -57,7 +58,8 @@
 %python_exec setup.py test
 
 %files %{python_files}
-%doc README.rst LICENSE
+%doc README.rst
+%license LICENSE
 %python3_only %{_bindir}/rollbar
 %{python_sitelib}/*
 

++ v0.13.17.tar.gz -> v0.14.7.tar.gz ++
 3654 lines of diff (skipped)