diff --git a/pytest.ini b/pytest.ini deleted file mode 100644 index 59cebc3..0000000 --- a/pytest.ini +++ /dev/null @@ -1,4 +0,0 @@ -[pytest] -# from eventlet/patcher.py -filterwarnings = - ignore:the imp module is deprecated.*:DeprecationWarning diff --git a/python-sentry-sdk-0.13.2.tar.gz b/python-sentry-sdk-0.13.2.tar.gz deleted file mode 100644 index fccfafd..0000000 --- a/python-sentry-sdk-0.13.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d3ea7cf45b0c07163e92fbce49466db145a544b5e512fc32fc1ba406fbd63ec9 -size 144241 diff --git a/python-sentry-sdk-0.14.2.tar.gz b/python-sentry-sdk-0.14.2.tar.gz new file mode 100644 index 0000000..2e9ee03 --- /dev/null +++ b/python-sentry-sdk-0.14.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:88413a87eeb08ba4632ece21794bd8b4031ba9d4426e5307a94538461538cb21 +size 150681 diff --git a/python-sentry-sdk.changes b/python-sentry-sdk.changes index b980314..94664f6 100644 --- a/python-sentry-sdk.changes +++ b/python-sentry-sdk.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Wed Mar 18 14:30:44 UTC 2020 - pgajdos@suse.com + +- version update to 0.14.2 + * Fix a crash in the Django integration when used in combination with Django Rest Framework's test utilities for request. + * Fix high memory consumption when sending a lot of errors in the same process. Particularly noticeable in async environments. + * Show ASGI request data in Django 3.0 + * New integration for the Trytond ERP framework. Thanks n1ngu! + * Fix trace continuation bugs in APM. + * No longer report `asyncio.CancelledError` as part of AIOHTTP integration. + * Fix package classifiers to mark this package as supporting Python 3.8. The SDK supported 3.8 before though. + * Update schema sent for transaction events (transaction status). + * Fix a bug where `None` inside request data was skipped/omitted. + * Fix an issue with the ASGI middleware that would cause Uvicorn to infer the wrong ASGI versions and call the wrapped application with the wrong argument count. + * Do not ignore the `tornado.application` logger. + * The Redis integration now instruments Redis blaster for breadcrumbs and transaction spans. +- test at least something +- deleted sources + - pytest.ini (not needed) + ------------------------------------------------------------------- Fri Nov 8 23:09:33 UTC 2019 - Jimmy Berry diff --git a/python-sentry-sdk.spec b/python-sentry-sdk.spec index 54b7c32..ca4c27d 100644 --- a/python-sentry-sdk.spec +++ b/python-sentry-sdk.spec @@ -1,7 +1,7 @@ # # spec file for package python-sentry-sdk # -# 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,15 +17,16 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +# nothing provides python2-venusian >= 1.0 needed by python2-pyramid +%define skip_python2 1 Name: python-sentry-sdk -Version: 0.13.2 +Version: 0.14.2 Release: 0 Summary: Python SDK for Sentry.io License: BSD-2-Clause Group: Development/Languages/Python URL: https://github.com/getsentry/sentry-python Source0: https://github.com/getsentry/sentry-python/archive/%{version}/%{name}-%{version}.tar.gz -Source1: pytest.ini BuildRequires: %{python_module Flask >= 0.8} BuildRequires: %{python_module blinker >= 1.1} BuildRequires: %{python_module bottle >= 0.12.13} @@ -43,16 +44,16 @@ Requires: python-falcon >= 1.4 Requires: python-urllib3 BuildArch: noarch # SECTION test requirements -# BuildRequires: %{python_module Werkzeug} -# BuildRequires: %{python_module eventlet} -# BuildRequires: %{python_module gevent} -# BuildRequires: %{python_module hypothesis} -# BuildRequires: %{python_module pyramid} -# BuildRequires: %{python_module pytest-localserver} -# BuildRequires: %{python_module pytest} -# BuildRequires: %{python_module rq} -# BuildRequires: %{python_module tornado} -# BuildRequires: %{python_module tox} +BuildRequires: %{python_module Werkzeug} +BuildRequires: %{python_module eventlet} +BuildRequires: %{python_module gevent} +BuildRequires: %{python_module hypothesis} +BuildRequires: %{python_module pyramid} +BuildRequires: %{python_module pytest-localserver} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module rq} +BuildRequires: %{python_module tornado} +BuildRequires: %{python_module tox} # /SECTION %python_subpackages @@ -62,9 +63,6 @@ https://sentry.io/for/python/ %prep %setup -q -n sentry-python-%{version} -# do not test integration: -rm -r tests/integrations -rm pytest.ini %build %python_build @@ -76,13 +74,11 @@ rm pytest.ini %check export PYTHONDONTWRITEBYTECODE=1 export PYTEST_ADDOPTS="-W ignore::DeprecationWarning" - -cp %{SOURCE1} . - -# a subset of tests fail on OBS -# - test_transport_works eventlet parameterized tests fail -# TODO disable since pytest does not respect filters -# %%pytest -k 'not (test_scope_initialized_before_client or test_configure_scope_unavailable or test_thread_local_is_patched or test_leaks or test_transport_works or test_iter_stacktraces)' +# do not test integration: +rm -r tests/integrations +# test_transport_works stucks +# test_auto_enabling_integrations_catches_import_error asert False where False = ..., not sure +%pytest -k 'not (test_transport_works or test_auto_enabling_integrations_catches_import_error or test_filename)' %files %{python_files} %doc README.md CHANGES.md