2019-08-12 16:18:35 +02:00
#
# spec file for package python-sentry-sdk
#
2020-03-18 18:39:57 +01:00
# Copyright (c) 2020 SUSE LLC
2019-08-12 16:18:35 +02:00
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
2019-08-12 17:33:07 +02:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2019-08-12 16:18:35 +02:00
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
2020-03-18 18:39:57 +01:00
# nothing provides python2-venusian >= 1.0 needed by python2-pyramid
%define skip_python2 1
2019-08-12 16:18:35 +02:00
Name : python-sentry-sdk
Accepting request 852439 from home:frispete:Tumbleweed
- Update to version 0.19.4
* Fix a bug that would make applications crash if an old version
of boto3 was installed.
- Update to version 0.19.3
* Automatically pass integration-relevant data to traces_sampler
for AWS, AIOHTTP, ASGI, Bottle, Celery, Django, Falcon, Flask,
GCP, Pyramid, Tryton, RQ, and WSGI integrations
* Fix a bug where the AWS integration would crash if event was
anything besides a dictionary
* Fix the Django integrations's ASGI handler for Channels 3.0.
Thanks Luke Pomfrey!
- Update to version 0.19.2
* Add traces_sampler option.
* The SDK now attempts to infer a default release from various
environment variables and the current git repo.
* Fix a crash with async views in Django 3.1.
* Fix a bug where complex URL patterns in Django would create
malformed transaction names.
* Add options for transaction styling in AIOHTTP.
* Add basic attachment support (documentation tbd).
* fix a crash in the pure_eval integration.
* Integration for creating spans from boto3.
- Update to version 0.19.1
* Fix dependency check for blinker fixes #858
* Fix incorrect timeout warnings in AWS Lambda and GCP
integrations #854
- Update to version 0.19.0
* Removed _experiments.auto_enabling_integrations in favor of
just auto_enabling_integrations which is now enabled by
default.
OBS-URL: https://build.opensuse.org/request/show/852439
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=27
2020-12-02 12:47:20 +01:00
Version : 0.19.4
2019-08-12 16:18:35 +02:00
Release : 0
Summary : Python SDK for Sentry.io
License : BSD-2-Clause
Group : Development/Languages/Python
2019-08-12 17:33:07 +02:00
URL : https://github.com/getsentry/sentry-python
Accepting request 852439 from home:frispete:Tumbleweed
- Update to version 0.19.4
* Fix a bug that would make applications crash if an old version
of boto3 was installed.
- Update to version 0.19.3
* Automatically pass integration-relevant data to traces_sampler
for AWS, AIOHTTP, ASGI, Bottle, Celery, Django, Falcon, Flask,
GCP, Pyramid, Tryton, RQ, and WSGI integrations
* Fix a bug where the AWS integration would crash if event was
anything besides a dictionary
* Fix the Django integrations's ASGI handler for Channels 3.0.
Thanks Luke Pomfrey!
- Update to version 0.19.2
* Add traces_sampler option.
* The SDK now attempts to infer a default release from various
environment variables and the current git repo.
* Fix a crash with async views in Django 3.1.
* Fix a bug where complex URL patterns in Django would create
malformed transaction names.
* Add options for transaction styling in AIOHTTP.
* Add basic attachment support (documentation tbd).
* fix a crash in the pure_eval integration.
* Integration for creating spans from boto3.
- Update to version 0.19.1
* Fix dependency check for blinker fixes #858
* Fix incorrect timeout warnings in AWS Lambda and GCP
integrations #854
- Update to version 0.19.0
* Removed _experiments.auto_enabling_integrations in favor of
just auto_enabling_integrations which is now enabled by
default.
OBS-URL: https://build.opensuse.org/request/show/852439
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=27
2020-12-02 12:47:20 +01:00
Source0 : https://github.com/getsentry/sentry-python/archive/%{version} /sentry-python-%{version} .tar.gz
2019-08-12 16:18:35 +02:00
BuildRequires : %{python_module Flask >= 0.8}
BuildRequires : %{python_module blinker >= 1.1}
BuildRequires : %{python_module bottle >= 0.12.13}
2019-08-12 17:33:07 +02:00
BuildRequires : %{python_module certifi}
Accepting request 852439 from home:frispete:Tumbleweed
- Update to version 0.19.4
* Fix a bug that would make applications crash if an old version
of boto3 was installed.
- Update to version 0.19.3
* Automatically pass integration-relevant data to traces_sampler
for AWS, AIOHTTP, ASGI, Bottle, Celery, Django, Falcon, Flask,
GCP, Pyramid, Tryton, RQ, and WSGI integrations
* Fix a bug where the AWS integration would crash if event was
anything besides a dictionary
* Fix the Django integrations's ASGI handler for Channels 3.0.
Thanks Luke Pomfrey!
- Update to version 0.19.2
* Add traces_sampler option.
* The SDK now attempts to infer a default release from various
environment variables and the current git repo.
* Fix a crash with async views in Django 3.1.
* Fix a bug where complex URL patterns in Django would create
malformed transaction names.
* Add options for transaction styling in AIOHTTP.
* Add basic attachment support (documentation tbd).
* fix a crash in the pure_eval integration.
* Integration for creating spans from boto3.
- Update to version 0.19.1
* Fix dependency check for blinker fixes #858
* Fix incorrect timeout warnings in AWS Lambda and GCP
integrations #854
- Update to version 0.19.0
* Removed _experiments.auto_enabling_integrations in favor of
just auto_enabling_integrations which is now enabled by
default.
OBS-URL: https://build.opensuse.org/request/show/852439
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=27
2020-12-02 12:47:20 +01:00
BuildRequires : %{python_module executing}
2019-08-12 16:18:35 +02:00
BuildRequires : %{python_module falcon >= 1.4}
Accepting request 852439 from home:frispete:Tumbleweed
- Update to version 0.19.4
* Fix a bug that would make applications crash if an old version
of boto3 was installed.
- Update to version 0.19.3
* Automatically pass integration-relevant data to traces_sampler
for AWS, AIOHTTP, ASGI, Bottle, Celery, Django, Falcon, Flask,
GCP, Pyramid, Tryton, RQ, and WSGI integrations
* Fix a bug where the AWS integration would crash if event was
anything besides a dictionary
* Fix the Django integrations's ASGI handler for Channels 3.0.
Thanks Luke Pomfrey!
- Update to version 0.19.2
* Add traces_sampler option.
* The SDK now attempts to infer a default release from various
environment variables and the current git repo.
* Fix a crash with async views in Django 3.1.
* Fix a bug where complex URL patterns in Django would create
malformed transaction names.
* Add options for transaction styling in AIOHTTP.
* Add basic attachment support (documentation tbd).
* fix a crash in the pure_eval integration.
* Integration for creating spans from boto3.
- Update to version 0.19.1
* Fix dependency check for blinker fixes #858
* Fix incorrect timeout warnings in AWS Lambda and GCP
integrations #854
- Update to version 0.19.0
* Removed _experiments.auto_enabling_integrations in favor of
just auto_enabling_integrations which is now enabled by
default.
OBS-URL: https://build.opensuse.org/request/show/852439
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=27
2020-12-02 12:47:20 +01:00
BuildRequires : %{python_module jsonschema}
2019-08-12 17:33:07 +02:00
BuildRequires : %{python_module setuptools}
BuildRequires : %{python_module urllib3}
BuildRequires : fdupes
BuildRequires : python-rpm-macros
Requires : python-Flask >= 0.8
Requires : python-blinker >= 1.1
Requires : python-bottle >= 0.12.13
Requires : python-certifi
Accepting request 852439 from home:frispete:Tumbleweed
- Update to version 0.19.4
* Fix a bug that would make applications crash if an old version
of boto3 was installed.
- Update to version 0.19.3
* Automatically pass integration-relevant data to traces_sampler
for AWS, AIOHTTP, ASGI, Bottle, Celery, Django, Falcon, Flask,
GCP, Pyramid, Tryton, RQ, and WSGI integrations
* Fix a bug where the AWS integration would crash if event was
anything besides a dictionary
* Fix the Django integrations's ASGI handler for Channels 3.0.
Thanks Luke Pomfrey!
- Update to version 0.19.2
* Add traces_sampler option.
* The SDK now attempts to infer a default release from various
environment variables and the current git repo.
* Fix a crash with async views in Django 3.1.
* Fix a bug where complex URL patterns in Django would create
malformed transaction names.
* Add options for transaction styling in AIOHTTP.
* Add basic attachment support (documentation tbd).
* fix a crash in the pure_eval integration.
* Integration for creating spans from boto3.
- Update to version 0.19.1
* Fix dependency check for blinker fixes #858
* Fix incorrect timeout warnings in AWS Lambda and GCP
integrations #854
- Update to version 0.19.0
* Removed _experiments.auto_enabling_integrations in favor of
just auto_enabling_integrations which is now enabled by
default.
OBS-URL: https://build.opensuse.org/request/show/852439
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=27
2020-12-02 12:47:20 +01:00
Requires : python-executing
2019-08-12 17:33:07 +02:00
Requires : python-falcon >= 1.4
Accepting request 852439 from home:frispete:Tumbleweed
- Update to version 0.19.4
* Fix a bug that would make applications crash if an old version
of boto3 was installed.
- Update to version 0.19.3
* Automatically pass integration-relevant data to traces_sampler
for AWS, AIOHTTP, ASGI, Bottle, Celery, Django, Falcon, Flask,
GCP, Pyramid, Tryton, RQ, and WSGI integrations
* Fix a bug where the AWS integration would crash if event was
anything besides a dictionary
* Fix the Django integrations's ASGI handler for Channels 3.0.
Thanks Luke Pomfrey!
- Update to version 0.19.2
* Add traces_sampler option.
* The SDK now attempts to infer a default release from various
environment variables and the current git repo.
* Fix a crash with async views in Django 3.1.
* Fix a bug where complex URL patterns in Django would create
malformed transaction names.
* Add options for transaction styling in AIOHTTP.
* Add basic attachment support (documentation tbd).
* fix a crash in the pure_eval integration.
* Integration for creating spans from boto3.
- Update to version 0.19.1
* Fix dependency check for blinker fixes #858
* Fix incorrect timeout warnings in AWS Lambda and GCP
integrations #854
- Update to version 0.19.0
* Removed _experiments.auto_enabling_integrations in favor of
just auto_enabling_integrations which is now enabled by
default.
OBS-URL: https://build.opensuse.org/request/show/852439
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=27
2020-12-02 12:47:20 +01:00
Requires : python-jsonschema
2019-08-12 17:33:07 +02:00
Requires : python-urllib3
BuildArch : noarch
2019-08-12 16:18:35 +02:00
# SECTION test requirements
2020-03-18 18:39:57 +01:00
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}
2019-08-12 16:18:35 +02:00
# /SECTION
%python_subpackages
%description
2019-08-24 09:40:20 +02:00
A Python SDK for Sentry.io.
2019-08-12 16:18:35 +02:00
https://sentry.io/for/python/
%prep
%setup -q -n sentry-python-%{version}
%build
%python_build
%install
%python_install
2019-08-12 17:33:07 +02:00
%python_expand %fdupes %{buildroot} %{$python_sitelib}
2019-08-12 16:18:35 +02:00
%check
2019-08-12 17:33:07 +02:00
export PYTHONDONTWRITEBYTECODE=1
2019-10-01 01:00:26 +02:00
export PYTEST_ADDOPTS=" - W i g n o r e : : D e p r e c a t i o n W a r n i n g "
2020-03-18 18:39:57 +01:00
# do not test integration:
rm -r tests/integrations
2020-06-19 08:32:54 +02:00
# test_transport_works / test_transport_infinite_loop / test_simple_rate_limits/ test_data_category_limits / test_complex_limits_without_data_category stucks
2020-03-18 18:39:57 +01:00
# test_auto_enabling_integrations_catches_import_error asert False where False = ..., not sure
2020-06-19 08:32:54 +02:00
%pytest -k 'not (test_transport_works or test_auto_enabling_integrations_catches_import_error or test_filename or test_transport_infinite_loop or test_simple_rate_limits or test_data_category_limits or test_complex_limits_without_data_category)'
2019-08-12 16:18:35 +02:00
%files %{python_files}
2019-08-12 17:33:07 +02:00
%doc README.md CHANGES.md
%license LICENSE
2019-08-12 16:18:35 +02:00
%{python_sitelib} /*
%changelog