forked from pool/python-sentry-sdk
Accepting request 786199 from home:pgajdos:python
- 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) OBS-URL: https://build.opensuse.org/request/show/786199 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=21
This commit is contained in:
parent
af2a7e4c32
commit
abe881a66b
@ -1,4 +0,0 @@
|
|||||||
[pytest]
|
|
||||||
# from eventlet/patcher.py
|
|
||||||
filterwarnings =
|
|
||||||
ignore:the imp module is deprecated.*:DeprecationWarning
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d3ea7cf45b0c07163e92fbce49466db145a544b5e512fc32fc1ba406fbd63ec9
|
|
||||||
size 144241
|
|
3
python-sentry-sdk-0.14.2.tar.gz
Normal file
3
python-sentry-sdk-0.14.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:88413a87eeb08ba4632ece21794bd8b4031ba9d4426e5307a94538461538cb21
|
||||||
|
size 150681
|
@ -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 <jberry@suse.com>
|
Fri Nov 8 23:09:33 UTC 2019 - Jimmy Berry <jberry@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-sentry-sdk
|
# 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
|
# 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
|
||||||
@ -17,15 +17,16 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!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
|
Name: python-sentry-sdk
|
||||||
Version: 0.13.2
|
Version: 0.14.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python SDK for Sentry.io
|
Summary: Python SDK for Sentry.io
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/getsentry/sentry-python
|
URL: https://github.com/getsentry/sentry-python
|
||||||
Source0: https://github.com/getsentry/sentry-python/archive/%{version}/%{name}-%{version}.tar.gz
|
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 Flask >= 0.8}
|
||||||
BuildRequires: %{python_module blinker >= 1.1}
|
BuildRequires: %{python_module blinker >= 1.1}
|
||||||
BuildRequires: %{python_module bottle >= 0.12.13}
|
BuildRequires: %{python_module bottle >= 0.12.13}
|
||||||
@ -43,16 +44,16 @@ Requires: python-falcon >= 1.4
|
|||||||
Requires: python-urllib3
|
Requires: python-urllib3
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
# BuildRequires: %{python_module Werkzeug}
|
BuildRequires: %{python_module Werkzeug}
|
||||||
# BuildRequires: %{python_module eventlet}
|
BuildRequires: %{python_module eventlet}
|
||||||
# BuildRequires: %{python_module gevent}
|
BuildRequires: %{python_module gevent}
|
||||||
# BuildRequires: %{python_module hypothesis}
|
BuildRequires: %{python_module hypothesis}
|
||||||
# BuildRequires: %{python_module pyramid}
|
BuildRequires: %{python_module pyramid}
|
||||||
# BuildRequires: %{python_module pytest-localserver}
|
BuildRequires: %{python_module pytest-localserver}
|
||||||
# BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
# BuildRequires: %{python_module rq}
|
BuildRequires: %{python_module rq}
|
||||||
# BuildRequires: %{python_module tornado}
|
BuildRequires: %{python_module tornado}
|
||||||
# BuildRequires: %{python_module tox}
|
BuildRequires: %{python_module tox}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -62,9 +63,6 @@ https://sentry.io/for/python/
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n sentry-python-%{version}
|
%setup -q -n sentry-python-%{version}
|
||||||
# do not test integration:
|
|
||||||
rm -r tests/integrations
|
|
||||||
rm pytest.ini
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@ -76,13 +74,11 @@ rm pytest.ini
|
|||||||
%check
|
%check
|
||||||
export PYTHONDONTWRITEBYTECODE=1
|
export PYTHONDONTWRITEBYTECODE=1
|
||||||
export PYTEST_ADDOPTS="-W ignore::DeprecationWarning"
|
export PYTEST_ADDOPTS="-W ignore::DeprecationWarning"
|
||||||
|
# do not test integration:
|
||||||
cp %{SOURCE1} .
|
rm -r tests/integrations
|
||||||
|
# test_transport_works stucks
|
||||||
# a subset of tests fail on OBS
|
# test_auto_enabling_integrations_catches_import_error asert False where False = ..., not sure
|
||||||
# - test_transport_works eventlet parameterized tests fail
|
%pytest -k 'not (test_transport_works or test_auto_enabling_integrations_catches_import_error or test_filename)'
|
||||||
# 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)'
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md CHANGES.md
|
%doc README.md CHANGES.md
|
||||||
|
Loading…
Reference in New Issue
Block a user