forked from pool/python-sentry-sdk
Eric Schirra
ae91ea1269
- Update to 1.21.0 - Better handling of redis span/breadcrumb data (#2033) - Add db.system to redis and SQLAlchemy db spans (#2037, #2038, #2039) (#2037) - Upgraded linting tooling (#2026) - Made code more resilient. (#2031) - Changes from 1.20.0 - Send all events to /envelope endpoint when tracing is enabled (#2009) - Note: If you’re self-hosting Sentry 9, you need to stay in the previous version of the SDK or update your self-hosted to at least 20.6.0 - Profiling: Remove profile context from SDK (#2013) - Profiling: Additionl performance improvements to the profiler (#1991) - Fix: Celery Beat monitoring without restarting the Beat process (#2001) - Fix: Using the Codecov uploader instead of deprecated python package (#2011) - Fix: Support for Quart (#2003)` (#2003) - Changes from 1.19.1 - Make auto monitoring beat update support Celery 4 and 5 (#1989) - Changes from 1.19.0 - New: Celery Beat auto monitoring (#1967) - New: gRPC integration (#1911) - New: socket integration (#1911) - Fix: Do not trim span descriptions. (#1983) - Changes from 1.18.0 - New: Implement EventScrubber (#1943) - New: Added new functions_to_trace option for central way of performance instrumentation (#1960) - Updated denylist to include other widely used cookies/headers (#1972) - Forward all sentry- baggage items (#1970) - Update OSS licensing (#1973) - Profiling: Handle non frame types in profiler (#1965) - Tests: Bad arq dependency in tests (#1966) - Better naming (#1962) - Changes from 1.17.0 - New: Monitor Celery Beat tasks with Sentry Cron Monitoring. - New: Add decorator for Sentry tracing (#1089) - Make Django signals tracing optional (#1929) - See the Django Guide to learn more. - Deprecated with_locals in favor of include_local_variables (#1924) - Added top level API to get current span (#1954) - Profiling: Add profiler options to init (#1947) - Profiling: Set active thread id for quart (#1830) - Fix: Update get_json function call for werkzeug 2.1.0+ (#1939) - Fix: Returning the tasks result. (#1931) - Fix: Rename MYPY to TYPE_CHECKING (#1934) - Fix: Fix type annotation for ignore_errors in sentry_sdk.init() (#1928) - Tests: Start a real http server instead of mocking libs (#1938) - Changes from 1.16.0 - New: Add arq Integration (#1872) - Update of Falcon Integration (#1733) - Adding Cloud Resource Context integration (#1882) - Profiling: Use the transaction timestamps to anchor the profile (#1898) - Profiling: Add debug logs to profiling (#1883) - Profiling: Start profiler thread lazily (#1903) - Fixed checks for structured http data (#1905) - Make set_measurement public api and remove experimental status (#1909) - Add trace_propagation_targets option (#1916) - Add enable_tracing to default traces_sample_rate to 1.0 (#1900) - Remove deprecated tracestate (#1907) - Sanitize URLs in Span description and breadcrumbs (#1876) - Mechanism should default to true unless set explicitly (#1889) - Better setting of in-app in stack frames (#1894) - Add workflow to test gevent (#1870) - Updated outdated HTTPX test matrix (#1917) - Switch to MIT license (#1908) OBS-URL: https://build.opensuse.org/request/show/1082874 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=47
141 lines
5.5 KiB
RPMSpec
141 lines
5.5 KiB
RPMSpec
#
|
|
# spec file for package python-sentry-sdk
|
|
#
|
|
# Copyright (c) 2023 SUSE LLC
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
# nothing provides python2-venusian >= 1.0 needed by python2-pyramid
|
|
%define skip_python2 1
|
|
%define skip_python36 1
|
|
Name: python-sentry-sdk
|
|
Version: 1.21.0
|
|
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}/sentry-python-%{version}.tar.gz
|
|
BuildRequires: %{python_module Django >= 1.8}
|
|
BuildRequires: %{python_module Flask >= 0.11}
|
|
BuildRequires: %{python_module SQLAlchemy >= 1.2}
|
|
BuildRequires: %{python_module aiohttp >= 3.5}
|
|
BuildRequires: %{python_module asttokens}
|
|
BuildRequires: %{python_module blinker >= 1.1}
|
|
BuildRequires: %{python_module bottle >= 0.12.13}
|
|
BuildRequires: %{python_module celery >= 3}
|
|
BuildRequires: %{python_module certifi}
|
|
BuildRequires: %{python_module executing}
|
|
BuildRequires: %{python_module falcon >= 1.4}
|
|
BuildRequires: %{python_module httpx >= 0.16.0}
|
|
BuildRequires: %{python_module pymongo >= 3.1}
|
|
BuildRequires: %{python_module rq >= 0.6}
|
|
BuildRequires: %{python_module setuptools}
|
|
BuildRequires: %{python_module starlette >= 0.19.1}
|
|
BuildRequires: %{python_module tornado >= 5}
|
|
# upstream use %%{python_module urllib3 >= 1.26.11}
|
|
BuildRequires: %{python_module urllib3 >= 1.25.10}
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-rpm-macros
|
|
# SECTION test requirements
|
|
BuildRequires: %{python_module Werkzeug}
|
|
BuildRequires: %{python_module eventlet}
|
|
BuildRequires: %{python_module gevent}
|
|
BuildRequires: %{python_module hypothesis}
|
|
BuildRequires: %{python_module jsonschema >= 3.2.0}
|
|
BuildRequires: %{python_module mock}
|
|
BuildRequires: %{python_module pyramid}
|
|
BuildRequires: %{python_module pyrsistent >= 0.16.0}
|
|
BuildRequires: %{python_module pytest-cov >= 2.8.1}
|
|
BuildRequires: %{python_module pytest-forked >= 1.1.3}
|
|
BuildRequires: %{python_module pytest-localserver >= 0.5.0}
|
|
BuildRequires: %{python_module pytest}
|
|
BuildRequires: %{python_module tox}
|
|
# /SECTION
|
|
# SECTION extra requirements - which rise up buildtime error or missing in openSUSE
|
|
#BuildRequires: %%{python_module pyspark >= 2.4.4}
|
|
#BuildRequires: %%{python_module apache-beam >= 2.12}
|
|
#BuildRequires: %%{python_module huey >= 2}
|
|
#BuildRequires: %%{python_module pure_eval}
|
|
#BuildRequires: %%{python_module chalice >= 1.16.0}
|
|
#BuildRequires: %%{python_module starlite >= 1.48}
|
|
#BuildRequires: %%{python_module fastapi >= 0.79.0}
|
|
#BuildRequires: %%{python_module quart >= 0.16.1}
|
|
#BuildRequires: %%{python_module sanic >= 0.8}
|
|
#BuildRequires: %%{python_module opentelemetry-distro >= 0.35b0}
|
|
# /SECTION
|
|
Requires: python-Django >= 1.8
|
|
Requires: python-Flask >= 0.11
|
|
Requires: python-SQLAlchemy >= 1.2
|
|
Requires: python-aiohttp >= 3.5
|
|
Requires: python-asttokens
|
|
Requires: python-blinker >= 1.1
|
|
Requires: python-bottle >= 0.12.13
|
|
Requires: python-celery >= 3
|
|
Requires: python-certifi
|
|
Requires: python-executing
|
|
Requires: python-falcon >= 1.4
|
|
Requires: python-httpx >= 0.16.0
|
|
Requires: python-jsonschema
|
|
Requires: python-pymongo >= 3.1
|
|
Requires: python-rq >= 0.6
|
|
Requires: python-starlette >= 0.19.1
|
|
Requires: python-tornado >= 5
|
|
Requires: python-urllib3 >= 1.10.0
|
|
# SECTION extra requirements - which rise up buildtime error or missing in openSUSE
|
|
#Requires: python-sanic >= 0.8
|
|
#Requires: python-apache-beam >= 2.12
|
|
#Requires: python-huey >= 2
|
|
#Requires: python-pyspark >= 2.4.4
|
|
#Requires: python-pure_eval
|
|
#Requires: python-chalice >= 1.16.0
|
|
#Requires: python-starlite >= 1.48
|
|
#Requires: python-fastapi >= 0.79.0
|
|
#Requires: python-quart >= 0.16.1
|
|
#Requires: python-sanic >= 0.8
|
|
#Requires: python-opentelemetry-distro >= 0.35b0
|
|
# /SECTION
|
|
BuildArch: noarch
|
|
%python_subpackages
|
|
|
|
%description
|
|
A Python SDK for Sentry.io.
|
|
https://sentry.io/for/python/
|
|
|
|
%prep
|
|
%setup -q -n sentry-python-%{version}
|
|
|
|
%build
|
|
%python_build
|
|
|
|
%install
|
|
%python_install
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%check
|
|
export PYTHONDONTWRITEBYTECODE=1
|
|
export PYTEST_ADDOPTS="-W ignore::DeprecationWarning"
|
|
# do not test integration:
|
|
rm -r tests/integrations
|
|
# test_auto_enabling_integrations_catches_import_error asert False where False = ..., not sure
|
|
%pytest -rs -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 or test_leaks)'
|
|
|
|
%files %{python_files}
|
|
%doc README.md CHANGELOG.md CONTRIBUTING.md CONTRIBUTING-aws-lambda.md
|
|
%license LICENSE
|
|
%{python_sitelib}/sentry*/
|
|
|
|
%changelog
|