forked from pool/python-rollbar
- Update to 0.16.3:
* Pinned Python 2 CI tests to legacy version of dependencies. See #408 * Add PyPI badge for supported Python versions. See #408 * Add Django 4.0+ compatibility. See #408 * Update PR template. See #408 * SC-95272: Remove support for Python 3.3. See #408 - Disable broken tests in python 3.11, test_encode_empty_tuple OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rollbar?expand=0&rev=25
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
Index: pyrollbar-0.16.2/rollbar/test/__init__.py
|
Index: pyrollbar-0.16.3/rollbar/test/__init__.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pyrollbar-0.16.2.orig/rollbar/test/__init__.py
|
--- pyrollbar-0.16.3.orig/rollbar/test/__init__.py
|
||||||
+++ pyrollbar-0.16.2/rollbar/test/__init__.py
|
+++ pyrollbar-0.16.3/rollbar/test/__init__.py
|
||||||
@@ -1,13 +1,13 @@
|
@@ -1,13 +1,13 @@
|
||||||
-import unittest2
|
-import unittest2
|
||||||
+import unittest
|
+import unittest
|
||||||
@@ -19,10 +19,10 @@ Index: pyrollbar-0.16.2/rollbar/test/__init__.py
|
|||||||
def discover():
|
def discover():
|
||||||
- return unittest2.defaultTestLoader.discover(__name__)
|
- return unittest2.defaultTestLoader.discover(__name__)
|
||||||
+ return unittest.defaultTestLoader.discover(__name__)
|
+ return unittest.defaultTestLoader.discover(__name__)
|
||||||
Index: pyrollbar-0.16.2/rollbar/test/test_lib.py
|
Index: pyrollbar-0.16.3/rollbar/test/test_lib.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pyrollbar-0.16.2.orig/rollbar/test/test_lib.py
|
--- pyrollbar-0.16.3.orig/rollbar/test/test_lib.py
|
||||||
+++ pyrollbar-0.16.2/rollbar/test/test_lib.py
|
+++ pyrollbar-0.16.3/rollbar/test/test_lib.py
|
||||||
@@ -2,6 +2,8 @@ from rollbar.lib import dict_merge
|
@@ -2,6 +2,8 @@ from rollbar.lib import dict_merge
|
||||||
|
|
||||||
from rollbar.test import BaseTest
|
from rollbar.test import BaseTest
|
||||||
@@ -38,10 +38,10 @@ Index: pyrollbar-0.16.2/rollbar/test/test_lib.py
|
|||||||
self.assertIn('y', result['a'])
|
self.assertIn('y', result['a'])
|
||||||
- self.assertRegex(result['a']['y'], r'Uncopyable obj')
|
- self.assertRegex(result['a']['y'], r'Uncopyable obj')
|
||||||
+ six.assertRegex(self, result['a']['y'], r'Uncopyable obj')
|
+ six.assertRegex(self, result['a']['y'], r'Uncopyable obj')
|
||||||
Index: pyrollbar-0.16.2/rollbar/test/test_rollbar.py
|
Index: pyrollbar-0.16.3/rollbar/test/test_rollbar.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pyrollbar-0.16.2.orig/rollbar/test/test_rollbar.py
|
--- pyrollbar-0.16.3.orig/rollbar/test/test_rollbar.py
|
||||||
+++ pyrollbar-0.16.2/rollbar/test/test_rollbar.py
|
+++ pyrollbar-0.16.3/rollbar/test/test_rollbar.py
|
||||||
@@ -17,6 +17,7 @@ except ImportError:
|
@@ -17,6 +17,7 @@ except ImportError:
|
||||||
import mock
|
import mock
|
||||||
|
|
||||||
@@ -116,10 +116,10 @@ Index: pyrollbar-0.16.2/rollbar/test/test_rollbar.py
|
|||||||
|
|
||||||
def test_filter_ip_no_user_ip(self):
|
def test_filter_ip_no_user_ip(self):
|
||||||
request_data = {'something': 'but no ip'}
|
request_data = {'something': 'but no ip'}
|
||||||
Index: pyrollbar-0.16.2/rollbar/test/test_scruburl_transform.py
|
Index: pyrollbar-0.16.3/rollbar/test/test_scruburl_transform.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pyrollbar-0.16.2.orig/rollbar/test/test_scruburl_transform.py
|
--- pyrollbar-0.16.3.orig/rollbar/test/test_scruburl_transform.py
|
||||||
+++ pyrollbar-0.16.2/rollbar/test/test_scruburl_transform.py
|
+++ pyrollbar-0.16.3/rollbar/test/test_scruburl_transform.py
|
||||||
@@ -1,4 +1,5 @@
|
@@ -1,4 +1,5 @@
|
||||||
import copy
|
import copy
|
||||||
+import six
|
+import six
|
||||||
@@ -134,10 +134,10 @@ Index: pyrollbar-0.16.2/rollbar/test/test_scruburl_transform.py
|
|||||||
- self.assertNotRegex(result['link'][0]['url'], r'^-+$')
|
- self.assertNotRegex(result['link'][0]['url'], r'^-+$')
|
||||||
+ six.assertNotRegex(self, result['url'][0]['link'], r'^-+$')
|
+ six.assertNotRegex(self, result['url'][0]['link'], r'^-+$')
|
||||||
+ six.assertNotRegex(self, result['link'][0]['url'], r'^-+$')
|
+ six.assertNotRegex(self, result['link'][0]['url'], r'^-+$')
|
||||||
Index: pyrollbar-0.16.2/rollbar/test/test_serializable_transform.py
|
Index: pyrollbar-0.16.3/rollbar/test/test_serializable_transform.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pyrollbar-0.16.2.orig/rollbar/test/test_serializable_transform.py
|
--- pyrollbar-0.16.3.orig/rollbar/test/test_serializable_transform.py
|
||||||
+++ pyrollbar-0.16.2/rollbar/test/test_serializable_transform.py
|
+++ pyrollbar-0.16.3/rollbar/test/test_serializable_transform.py
|
||||||
@@ -10,6 +10,8 @@ except ImportError:
|
@@ -10,6 +10,8 @@ except ImportError:
|
||||||
# Python 2.7
|
# Python 2.7
|
||||||
from collections import Mapping
|
from collections import Mapping
|
||||||
@@ -180,10 +180,10 @@ Index: pyrollbar-0.16.2/rollbar/test/test_serializable_transform.py
|
|||||||
result = transforms.transform(start, serializable)
|
result = transforms.transform(start, serializable)
|
||||||
- self.assertRegex(result['custom'], "<UnStringableException.*Exception.*str.*>")
|
- self.assertRegex(result['custom'], "<UnStringableException.*Exception.*str.*>")
|
||||||
+ six.assertRegex(self, result['custom'], "<UnStringableException.*Exception.*str.*>")
|
+ six.assertRegex(self, result['custom'], "<UnStringableException.*Exception.*str.*>")
|
||||||
Index: pyrollbar-0.16.2/setup.py
|
Index: pyrollbar-0.16.3/setup.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pyrollbar-0.16.2.orig/setup.py
|
--- pyrollbar-0.16.3.orig/setup.py
|
||||||
+++ pyrollbar-0.16.2/setup.py
|
+++ pyrollbar-0.16.3/setup.py
|
||||||
@@ -19,7 +19,6 @@ with open(INIT_PATH) as fd:
|
@@ -19,7 +19,6 @@ with open(INIT_PATH) as fd:
|
||||||
tests_require = [
|
tests_require = [
|
||||||
'webob',
|
'webob',
|
||||||
@@ -192,19 +192,19 @@ Index: pyrollbar-0.16.2/setup.py
|
|||||||
'mock<=3.0.5; python_version < "3.3"',
|
'mock<=3.0.5; python_version < "3.3"',
|
||||||
'enum34; python_version < "3.4"',
|
'enum34; python_version < "3.4"',
|
||||||
'httpx; python_version >= "3.6"',
|
'httpx; python_version >= "3.6"',
|
||||||
@@ -90,7 +89,7 @@ setup(
|
@@ -85,7 +84,7 @@ setup(
|
||||||
'requests<1.2,>=0.12.1; python_version == "3.2"',
|
'requests>=0.12.1; python_version >= "3.6"',
|
||||||
'requests<1.2,>=0.12.1; python_version == "3.1"',
|
'requests<2.26,>=0.12.1; python_version == "3.5"',
|
||||||
'requests<1.2,>=0.12.1; python_version == "3.0"',
|
'requests<2.22,>=0.12.1; python_version == "3.4"',
|
||||||
- 'six>=1.9.0'
|
- 'six>=1.9.0'
|
||||||
+ 'six>=1.14.0'
|
+ 'six>=1.14.0'
|
||||||
],
|
],
|
||||||
tests_require=tests_require,
|
tests_require=tests_require,
|
||||||
)
|
)
|
||||||
Index: pyrollbar-0.16.2/shell.nix
|
Index: pyrollbar-0.16.3/shell.nix
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pyrollbar-0.16.2.orig/shell.nix
|
--- pyrollbar-0.16.3.orig/shell.nix
|
||||||
+++ pyrollbar-0.16.2/shell.nix
|
+++ pyrollbar-0.16.3/shell.nix
|
||||||
@@ -20,7 +20,7 @@ python = let
|
@@ -20,7 +20,7 @@ python = let
|
||||||
};
|
};
|
||||||
in python36.override { inherit packageOverrides; };
|
in python36.override { inherit packageOverrides; };
|
||||||
@@ -214,10 +214,10 @@ Index: pyrollbar-0.16.2/shell.nix
|
|||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
Index: pyrollbar-0.16.2/rollbar/test/starlette_tests/__init__.py
|
Index: pyrollbar-0.16.3/rollbar/test/starlette_tests/__init__.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pyrollbar-0.16.2.orig/rollbar/test/starlette_tests/__init__.py
|
--- pyrollbar-0.16.3.orig/rollbar/test/starlette_tests/__init__.py
|
||||||
+++ pyrollbar-0.16.2/rollbar/test/starlette_tests/__init__.py
|
+++ pyrollbar-0.16.3/rollbar/test/starlette_tests/__init__.py
|
||||||
@@ -1,9 +1,9 @@
|
@@ -1,9 +1,9 @@
|
||||||
import sys
|
import sys
|
||||||
-import unittest2
|
-import unittest2
|
||||||
@@ -230,10 +230,10 @@ Index: pyrollbar-0.16.2/rollbar/test/starlette_tests/__init__.py
|
|||||||
|
|
||||||
|
|
||||||
if sys.version_info < (3, 6):
|
if sys.version_info < (3, 6):
|
||||||
Index: pyrollbar-0.16.2/rollbar/test/starlette_tests/test_middleware.py
|
Index: pyrollbar-0.16.3/rollbar/test/starlette_tests/test_middleware.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pyrollbar-0.16.2.orig/rollbar/test/starlette_tests/test_middleware.py
|
--- pyrollbar-0.16.3.orig/rollbar/test/starlette_tests/test_middleware.py
|
||||||
+++ pyrollbar-0.16.2/rollbar/test/starlette_tests/test_middleware.py
|
+++ pyrollbar-0.16.3/rollbar/test/starlette_tests/test_middleware.py
|
||||||
@@ -14,7 +14,7 @@ try:
|
@@ -14,7 +14,7 @@ try:
|
||||||
except ImportError:
|
except ImportError:
|
||||||
STARLETTE_INSTALLED = False
|
STARLETTE_INSTALLED = False
|
||||||
@@ -270,10 +270,10 @@ Index: pyrollbar-0.16.2/rollbar/test/starlette_tests/test_middleware.py
|
|||||||
sys.version_info >= (3, 6), 'Global request access is supported in Python 3.6+'
|
sys.version_info >= (3, 6), 'Global request access is supported in Python 3.6+'
|
||||||
)
|
)
|
||||||
def test_should_return_current_request(self):
|
def test_should_return_current_request(self):
|
||||||
Index: pyrollbar-0.16.2/rollbar/test/starlette_tests/test_requests.py
|
Index: pyrollbar-0.16.3/rollbar/test/starlette_tests/test_requests.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pyrollbar-0.16.2.orig/rollbar/test/starlette_tests/test_requests.py
|
--- pyrollbar-0.16.3.orig/rollbar/test/starlette_tests/test_requests.py
|
||||||
+++ pyrollbar-0.16.2/rollbar/test/starlette_tests/test_requests.py
|
+++ pyrollbar-0.16.3/rollbar/test/starlette_tests/test_requests.py
|
||||||
@@ -7,14 +7,14 @@ try:
|
@@ -7,14 +7,14 @@ try:
|
||||||
except ImportError:
|
except ImportError:
|
||||||
STARLETTE_INSTALLED = False
|
STARLETTE_INSTALLED = False
|
||||||
@@ -291,10 +291,10 @@ Index: pyrollbar-0.16.2/rollbar/test/starlette_tests/test_requests.py
|
|||||||
STARLETTE_INSTALLED and ALLOWED_PYTHON_VERSION,
|
STARLETTE_INSTALLED and ALLOWED_PYTHON_VERSION,
|
||||||
'Global request access requires Python3.6+',
|
'Global request access requires Python3.6+',
|
||||||
)
|
)
|
||||||
Index: pyrollbar-0.16.2/rollbar/test/starlette_tests/test_logger.py
|
Index: pyrollbar-0.16.3/rollbar/test/starlette_tests/test_logger.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pyrollbar-0.16.2.orig/rollbar/test/starlette_tests/test_logger.py
|
--- pyrollbar-0.16.3.orig/rollbar/test/starlette_tests/test_logger.py
|
||||||
+++ pyrollbar-0.16.2/rollbar/test/starlette_tests/test_logger.py
|
+++ pyrollbar-0.16.3/rollbar/test/starlette_tests/test_logger.py
|
||||||
@@ -13,7 +13,7 @@ try:
|
@@ -13,7 +13,7 @@ try:
|
||||||
except ImportError:
|
except ImportError:
|
||||||
STARLETTE_INSTALLED = False
|
STARLETTE_INSTALLED = False
|
||||||
@@ -313,10 +313,10 @@ Index: pyrollbar-0.16.2/rollbar/test/starlette_tests/test_logger.py
|
|||||||
STARLETTE_INSTALLED and ALLOWED_PYTHON_VERSION,
|
STARLETTE_INSTALLED and ALLOWED_PYTHON_VERSION,
|
||||||
'Starlette LoggerMiddleware requires Python3.6+',
|
'Starlette LoggerMiddleware requires Python3.6+',
|
||||||
)
|
)
|
||||||
Index: pyrollbar-0.16.2/rollbar/test/fastapi_tests/__init__.py
|
Index: pyrollbar-0.16.3/rollbar/test/fastapi_tests/__init__.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pyrollbar-0.16.2.orig/rollbar/test/fastapi_tests/__init__.py
|
--- pyrollbar-0.16.3.orig/rollbar/test/fastapi_tests/__init__.py
|
||||||
+++ pyrollbar-0.16.2/rollbar/test/fastapi_tests/__init__.py
|
+++ pyrollbar-0.16.3/rollbar/test/fastapi_tests/__init__.py
|
||||||
@@ -1,9 +1,9 @@
|
@@ -1,9 +1,9 @@
|
||||||
import sys
|
import sys
|
||||||
-import unittest2
|
-import unittest2
|
||||||
@@ -329,10 +329,10 @@ Index: pyrollbar-0.16.2/rollbar/test/fastapi_tests/__init__.py
|
|||||||
|
|
||||||
|
|
||||||
if sys.version_info < (3, 6):
|
if sys.version_info < (3, 6):
|
||||||
Index: pyrollbar-0.16.2/rollbar/test/fastapi_tests/test_logger.py
|
Index: pyrollbar-0.16.3/rollbar/test/fastapi_tests/test_logger.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pyrollbar-0.16.2.orig/rollbar/test/fastapi_tests/test_logger.py
|
--- pyrollbar-0.16.3.orig/rollbar/test/fastapi_tests/test_logger.py
|
||||||
+++ pyrollbar-0.16.2/rollbar/test/fastapi_tests/test_logger.py
|
+++ pyrollbar-0.16.3/rollbar/test/fastapi_tests/test_logger.py
|
||||||
@@ -13,7 +13,7 @@ try:
|
@@ -13,7 +13,7 @@ try:
|
||||||
except ImportError:
|
except ImportError:
|
||||||
FASTAPI_INSTALLED = False
|
FASTAPI_INSTALLED = False
|
||||||
@@ -351,10 +351,10 @@ Index: pyrollbar-0.16.2/rollbar/test/fastapi_tests/test_logger.py
|
|||||||
FASTAPI_INSTALLED and ALLOWED_PYTHON_VERSION,
|
FASTAPI_INSTALLED and ALLOWED_PYTHON_VERSION,
|
||||||
'FastAPI LoggerMiddleware requires Python3.6+',
|
'FastAPI LoggerMiddleware requires Python3.6+',
|
||||||
)
|
)
|
||||||
Index: pyrollbar-0.16.2/rollbar/test/fastapi_tests/test_middleware.py
|
Index: pyrollbar-0.16.3/rollbar/test/fastapi_tests/test_middleware.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pyrollbar-0.16.2.orig/rollbar/test/fastapi_tests/test_middleware.py
|
--- pyrollbar-0.16.3.orig/rollbar/test/fastapi_tests/test_middleware.py
|
||||||
+++ pyrollbar-0.16.2/rollbar/test/fastapi_tests/test_middleware.py
|
+++ pyrollbar-0.16.3/rollbar/test/fastapi_tests/test_middleware.py
|
||||||
@@ -14,7 +14,7 @@ try:
|
@@ -14,7 +14,7 @@ try:
|
||||||
except ImportError:
|
except ImportError:
|
||||||
FASTAPI_INSTALLED = False
|
FASTAPI_INSTALLED = False
|
||||||
@@ -391,10 +391,10 @@ Index: pyrollbar-0.16.2/rollbar/test/fastapi_tests/test_middleware.py
|
|||||||
sys.version_info >= (3, 6), 'Global request access is supported in Python 3.6+'
|
sys.version_info >= (3, 6), 'Global request access is supported in Python 3.6+'
|
||||||
)
|
)
|
||||||
def test_should_return_current_request(self):
|
def test_should_return_current_request(self):
|
||||||
Index: pyrollbar-0.16.2/rollbar/test/fastapi_tests/test_routing.py
|
Index: pyrollbar-0.16.3/rollbar/test/fastapi_tests/test_routing.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pyrollbar-0.16.2.orig/rollbar/test/fastapi_tests/test_routing.py
|
--- pyrollbar-0.16.3.orig/rollbar/test/fastapi_tests/test_routing.py
|
||||||
+++ pyrollbar-0.16.2/rollbar/test/fastapi_tests/test_routing.py
|
+++ pyrollbar-0.16.3/rollbar/test/fastapi_tests/test_routing.py
|
||||||
@@ -17,7 +17,7 @@ except ImportError:
|
@@ -17,7 +17,7 @@ except ImportError:
|
||||||
FASTAPI_INSTALLED = False
|
FASTAPI_INSTALLED = False
|
||||||
ALLOWED_FASTAPI_VERSION = False
|
ALLOWED_FASTAPI_VERSION = False
|
||||||
@@ -444,10 +444,10 @@ Index: pyrollbar-0.16.2/rollbar/test/fastapi_tests/test_routing.py
|
|||||||
sys.version_info >= (3, 6), 'Global request access is supported in Python 3.6+'
|
sys.version_info >= (3, 6), 'Global request access is supported in Python 3.6+'
|
||||||
)
|
)
|
||||||
def test_should_return_current_request(self):
|
def test_should_return_current_request(self):
|
||||||
Index: pyrollbar-0.16.2/rollbar/test/fastapi_tests/test_utils.py
|
Index: pyrollbar-0.16.3/rollbar/test/fastapi_tests/test_utils.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pyrollbar-0.16.2.orig/rollbar/test/fastapi_tests/test_utils.py
|
--- pyrollbar-0.16.3.orig/rollbar/test/fastapi_tests/test_utils.py
|
||||||
+++ pyrollbar-0.16.2/rollbar/test/fastapi_tests/test_utils.py
|
+++ pyrollbar-0.16.3/rollbar/test/fastapi_tests/test_utils.py
|
||||||
@@ -7,14 +7,14 @@ try:
|
@@ -7,14 +7,14 @@ try:
|
||||||
except ImportError:
|
except ImportError:
|
||||||
FASTAPI_INSTALLED = False
|
FASTAPI_INSTALLED = False
|
||||||
@@ -474,10 +474,10 @@ Index: pyrollbar-0.16.2/rollbar/test/fastapi_tests/test_utils.py
|
|||||||
FASTAPI_INSTALLED and ALLOWED_PYTHON_VERSION, 'FastAPI requires Python3.6+'
|
FASTAPI_INSTALLED and ALLOWED_PYTHON_VERSION, 'FastAPI requires Python3.6+'
|
||||||
)
|
)
|
||||||
class UtilsBareRoutingTest(BaseTest):
|
class UtilsBareRoutingTest(BaseTest):
|
||||||
Index: pyrollbar-0.16.2/rollbar/test/asgi_tests/__init__.py
|
Index: pyrollbar-0.16.3/rollbar/test/asgi_tests/__init__.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pyrollbar-0.16.2.orig/rollbar/test/asgi_tests/__init__.py
|
--- pyrollbar-0.16.3.orig/rollbar/test/asgi_tests/__init__.py
|
||||||
+++ pyrollbar-0.16.2/rollbar/test/asgi_tests/__init__.py
|
+++ pyrollbar-0.16.3/rollbar/test/asgi_tests/__init__.py
|
||||||
@@ -1,9 +1,9 @@
|
@@ -1,9 +1,9 @@
|
||||||
import sys
|
import sys
|
||||||
-import unittest2
|
-import unittest2
|
||||||
@@ -490,10 +490,10 @@ Index: pyrollbar-0.16.2/rollbar/test/asgi_tests/__init__.py
|
|||||||
|
|
||||||
|
|
||||||
if sys.version_info < (3, 5):
|
if sys.version_info < (3, 5):
|
||||||
Index: pyrollbar-0.16.2/rollbar/test/asgi_tests/test_middleware.py
|
Index: pyrollbar-0.16.3/rollbar/test/asgi_tests/test_middleware.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pyrollbar-0.16.2.orig/rollbar/test/asgi_tests/test_middleware.py
|
--- pyrollbar-0.16.3.orig/rollbar/test/asgi_tests/test_middleware.py
|
||||||
+++ pyrollbar-0.16.2/rollbar/test/asgi_tests/test_middleware.py
|
+++ pyrollbar-0.16.3/rollbar/test/asgi_tests/test_middleware.py
|
||||||
@@ -7,7 +7,7 @@ try:
|
@@ -7,7 +7,7 @@ try:
|
||||||
except ImportError:
|
except ImportError:
|
||||||
import mock
|
import mock
|
||||||
@@ -539,10 +539,10 @@ Index: pyrollbar-0.16.2/rollbar/test/asgi_tests/test_middleware.py
|
|||||||
@mock.patch('logging.Logger.warning')
|
@mock.patch('logging.Logger.warning')
|
||||||
@mock.patch('rollbar.lib._async.report_exc_info', new_callable=AsyncMock)
|
@mock.patch('rollbar.lib._async.report_exc_info', new_callable=AsyncMock)
|
||||||
@mock.patch('rollbar.report_exc_info')
|
@mock.patch('rollbar.report_exc_info')
|
||||||
Index: pyrollbar-0.16.2/rollbar/test/asgi_tests/test_spec.py
|
Index: pyrollbar-0.16.3/rollbar/test/asgi_tests/test_spec.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pyrollbar-0.16.2.orig/rollbar/test/asgi_tests/test_spec.py
|
--- pyrollbar-0.16.3.orig/rollbar/test/asgi_tests/test_spec.py
|
||||||
+++ pyrollbar-0.16.2/rollbar/test/asgi_tests/test_spec.py
|
+++ pyrollbar-0.16.3/rollbar/test/asgi_tests/test_spec.py
|
||||||
@@ -1,14 +1,14 @@
|
@@ -1,14 +1,14 @@
|
||||||
import inspect
|
import inspect
|
||||||
import sys
|
import sys
|
||||||
@@ -560,10 +560,10 @@ Index: pyrollbar-0.16.2/rollbar/test/asgi_tests/test_spec.py
|
|||||||
class ASGISpecTest(BaseTest):
|
class ASGISpecTest(BaseTest):
|
||||||
def test_asgi_v3_middleware_is_single_callable_coroutine(self):
|
def test_asgi_v3_middleware_is_single_callable_coroutine(self):
|
||||||
from rollbar.contrib.asgi import ReporterMiddleware
|
from rollbar.contrib.asgi import ReporterMiddleware
|
||||||
Index: pyrollbar-0.16.2/rollbar/test/async_tests/__init__.py
|
Index: pyrollbar-0.16.3/rollbar/test/async_tests/__init__.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pyrollbar-0.16.2.orig/rollbar/test/async_tests/__init__.py
|
--- pyrollbar-0.16.3.orig/rollbar/test/async_tests/__init__.py
|
||||||
+++ pyrollbar-0.16.2/rollbar/test/async_tests/__init__.py
|
+++ pyrollbar-0.16.3/rollbar/test/async_tests/__init__.py
|
||||||
@@ -1,9 +1,9 @@
|
@@ -1,9 +1,9 @@
|
||||||
import sys
|
import sys
|
||||||
-import unittest2
|
-import unittest2
|
||||||
@@ -576,10 +576,10 @@ Index: pyrollbar-0.16.2/rollbar/test/async_tests/__init__.py
|
|||||||
|
|
||||||
|
|
||||||
if sys.version_info < (3, 6):
|
if sys.version_info < (3, 6):
|
||||||
Index: pyrollbar-0.16.2/rollbar/test/async_tests/test_async.py
|
Index: pyrollbar-0.16.3/rollbar/test/async_tests/test_async.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pyrollbar-0.16.2.orig/rollbar/test/async_tests/test_async.py
|
--- pyrollbar-0.16.3.orig/rollbar/test/async_tests/test_async.py
|
||||||
+++ pyrollbar-0.16.2/rollbar/test/async_tests/test_async.py
|
+++ pyrollbar-0.16.3/rollbar/test/async_tests/test_async.py
|
||||||
@@ -6,7 +6,7 @@ try:
|
@@ -6,7 +6,7 @@ try:
|
||||||
except ImportError:
|
except ImportError:
|
||||||
import mock
|
import mock
|
||||||
|
@@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 20 12:16:51 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.16.3:
|
||||||
|
* Pinned Python 2 CI tests to legacy version of dependencies. See #408
|
||||||
|
* Add PyPI badge for supported Python versions. See #408
|
||||||
|
* Add Django 4.0+ compatibility. See #408
|
||||||
|
* Update PR template. See #408
|
||||||
|
* SC-95272: Remove support for Python 3.3. See #408
|
||||||
|
- Disable broken tests in python 3.11, test_encode_empty_tuple
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 24 01:54:43 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
|
Mon Jan 24 01:54:43 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-rollbar
|
# spec file for package python-rollbar
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,10 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%bcond_without python2
|
%bcond_without python2
|
||||||
Name: python-rollbar
|
Name: python-rollbar
|
||||||
Version: 0.16.2
|
Version: 0.16.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Report exceptions, errors, and log messages to Rollbar
|
Summary: Report exceptions, errors, and log messages to Rollbar
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -64,7 +63,7 @@ Send messages and exceptions with arbitrary context, get back aggregates, and de
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest -k 'not test_shorten_array'
|
%pytest -k 'not (test_shorten_array or test_encode_empty_tuple)'
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative rollbar
|
%python_install_alternative rollbar
|
||||||
@@ -76,6 +75,7 @@ Send messages and exceptions with arbitrary context, get back aggregates, and de
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%python_alternative %{_bindir}/rollbar
|
%python_alternative %{_bindir}/rollbar
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/rollbar
|
||||||
|
%{python_sitelib}/rollbar-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:614d61148ac347771f471f6dee1d1ab1eb80e082c0be4b7bbc717769e04389ae
|
|
||||||
size 80103
|
|
3
v0.16.3.tar.gz
Normal file
3
v0.16.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:79635a2ca8c36b504fc8a3943154256c39b7369e67c01a79aabb283541330d35
|
||||||
|
size 80545
|
Reference in New Issue
Block a user