1
0
python-sentry-sdk/python-sentry-sdk.spec

161 lines
6.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python-sentry-sdk
#
# Copyright (c) 2024 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/
#
# nothing provides python2-venusian >= 1.0 needed by python2-pyramid
%{?sle15_python_module_pythons}
Name: python-sentry-sdk
Accepting request 1146407 from home:ecsos:python - Update to 1.40.4 - Only start metrics flusher thread on demand (#2727) - Bump checkouts/data-schemas from aa7058c to 6121fd3 (#2724) - Changes from 1.40.3 - Turn off metrics for uWSGI (#2720) - Minor improvements (#2714) - Changes from 1.40.2 - test: Fix pytest error (#2712) - build(deps): bump types-protobuf from 4.24.0.4 to 4.24.0.20240129 (#2691) - Changes from 1.40.1 - Fix uWSGI workers hanging (#2694) - Make metrics work with gevent (#2694) - Guard against engine.url being None (#2708) - Fix performance regression in sentry_sdk.utils._generate_installed_modules (#2703) - Guard against Sentry initialization mid SQLAlchemy cursor (#2702) - Fix yaml generation script (#2695) - Fix AWS Lambda workflow (#2710) - Bump codecov/codecov-action from 3 to 4 (#2706) - Bump actions/cache from 3 to 4 (#2661) - Bump actions/checkout from 3.1.0 to 4.1.1 (#2561) - Bump github/codeql-action from 2 to 3 (#2603) - Bump actions/setup-python from 4 to 5 (#2577) - Changes from 1.40.0 - Enable metrics related settings by default (#2685) - Fix UnicodeDecodeError on Python 2 (#2657) - Enable DB query source by default (#2629) - Fix query source duration check (#2675) - Reformat with black==24.1.0 (#2680) - Cleaning up existing code to prepare for new Scopes API (#2611) - Moved redis related tests to databases (#2674) - Improve sentry_sdk.trace type hints (#2633) - Bump checkouts/data-schemas from e9f7d58 to aa7058c (#2639) OBS-URL: https://build.opensuse.org/request/show/1146407 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=64
2024-02-13 14:39:45 +01:00
Version: 1.40.4
Release: 0
Summary: Python SDK for Sentry.io
License: BSD-2-Clause
Group: Development/Languages/Python
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
BuildRequires: %{python_module Django >= 1.8}
BuildRequires: %{python_module Flask >= 0.11}
BuildRequires: %{python_module MarkupSafe}
BuildRequires: %{python_module SQLAlchemy >= 1.2}
BuildRequires: %{python_module aiohttp >= 3.5}
BuildRequires: %{python_module asttokens}
BuildRequires: %{python_module asyncpg >= 0.23}
BuildRequires: %{python_module blinker >= 1.1}
BuildRequires: %{python_module bottle >= 0.12.13}
BuildRequires: %{python_module celery >= 3}
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}
BuildRequires: %{python_module falcon >= 1.4}
Accepting request 1099403 from home:ecsos:python - Update to 1.28.1 - Redis: Add support for redis.asyncio (#1933) - Make sure each task that is started by Celery Beat has its own trace. (#2249) - Add Sampling Decision to Trace Envelope Header (#2239) - Do not add trace headers (sentry-trace and baggage) to HTTP requests to Sentry (#2240) - Prevent adding sentry-trace header multiple times (#2235) - Skip distributions with incomplete metadata (#2231) - Remove stale.yml (#2245) - Django: Fix 404 Handler handler being labeled as "generic ASGI request" (#1277) - Update to 1.28.0 - Add support for cron jobs in ARQ integration (#2088) - Backpressure handling prototype (#2189) - Add "replay" context to event payload (#2234) - Update test Django app to be compatible for Django 4.x (#1794) - Update to 1.27.1 + Add Starlette/FastAPI template tag for adding Sentry tracing information (#2225) - By adding {{ sentry_trace_meta }} to your Starlette/FastAPI Jinja2 templates we will include Sentry trace information as a meta tag in the rendered HTML to allow your frontend to pick up and continue the trace started in the backend. - Fixed generation of baggage when a DSC is already in propagation context (#2232) - Handle explicitly passing None for trace_configs in aiohttp (#2230) - Support newest Starlette versions (#2227) - Update to 1.27.0 - Support for SQLAlchemy 2.0 (#2200) - Add instrumentation of aiohttp client requests (#1761) + Add Django template tag for adding Sentry tracing information (#2222) - By adding {{ sentry_trace_meta }} to your Django templates we will include Sentry trace information as a meta tag in the rendered HTML to allow your frontend to pick up and continue the trace started in the backend. - Update Flask HTML meta helper (#2203) - Take trace ID always from propagation context (#2209) - Fix trace context in event payload (#2205) - Use new top level API in trace_propagation_meta (#2202) - Do not overwrite existing baggage on outgoing requests (#2191, #2214) - Set the transaction/span status from an OTel span (#2115) - Fix propagation of OTel NonRecordingSpan (#2187) - Fix TaskLockedException handling in Huey integration (#2206) - Add message format configuration arguments to Loguru integration (#2208) - Profiling: Add client reports for profiles (#2207) - CI: Fix CI (#2220) - Dependencies: Bump checkouts/data-schemas from 7fdde87 to 1b85152 (#2218) - Dependencies: Bump mypy from 1.3.0 to 1.4.1 (#2194) - Docs: Change API doc theme (#2210) - Docs: Allow (some) autocompletion for top-level API (#2213) - Docs: Revert autocomplete hack (#2224) - Update to 1.26.0 - Tracing without performance (#2136) - Load tracing information from environment (#2176) - Auto-enable HTTPX integration if HTTPX installed (#2177) - Support for SOCKS proxies (#1050) - Wrap parse_url calls in capture_internal_exceptions (#2162) - Run 2.7 tests in CI again (#2181) - Crons: Do not support sub-minute cron intervals (#2172) - Profile: Add function name to profiler frame cache (#2164) - Dependencies: bump checkouts/data-schemas from 0ed3357 to 7fdde87 (#2165) - Update changelog (#2163) - Update to 1.25.1 - Fix parse_url (#2161) Our URL sanitization used in multiple integrations broke with the recent Python security update. If you started seeing ValueErrors with "'Filtered' does not appear to be an IPv4 or IPv6 address", this release fixes that. See the original issue for more context. - Better version parsing in integrations (#2152) We now properly support all integration versions that conform to PEP 440. This replaces our naïve version parsing that wouldn't accept versions such as 2.0.0rc1 or 2.0.5.post1. - Align HTTP status code as span data field http.response.status_code (#2113) - Do not encode cached value to determine size (#2143) - Fix using unittest.mock whenever available (#1926) - Fix 2.7 common tests (#2145) - Bump actions/stale from 6 to 8 (#1978) - Bump black from 22.12.0 to 23.3.0 (#1984) - Bump mypy from 1.2.0 to 1.3.0 (#2110) - Bump sphinx from 5.3.0 to 7.0.1 (#2112) - Update to 1.25.0 - Support urllib3>=2.0.0 (#2148) We're now supporting urllib3's new major version, 2.0.0. If you encounter issues (e.g. some of your dependencies not supporting the new urllib3 version yet) you might consider pinning the urllib3 version to <2.0.0 manually in your project. Check out the the urllib3 migration guide for details. - Auto-retry tests on failure (#2134) - Correct importlib.metadata check in test_modules (#2149) - Fix distribution name normalization (PEP-0503) (#2144) - Fix functions_to_trace typing (#2141) - Drop mock.patch beecause no more need. OBS-URL: https://build.opensuse.org/request/show/1099403 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=54
2023-07-19 09:24:29 +02:00
BuildRequires: %{python_module grpcio >= 1.21.1}
BuildRequires: %{python_module httpx >= 0.16.0}
Accepting request 1099403 from home:ecsos:python - Update to 1.28.1 - Redis: Add support for redis.asyncio (#1933) - Make sure each task that is started by Celery Beat has its own trace. (#2249) - Add Sampling Decision to Trace Envelope Header (#2239) - Do not add trace headers (sentry-trace and baggage) to HTTP requests to Sentry (#2240) - Prevent adding sentry-trace header multiple times (#2235) - Skip distributions with incomplete metadata (#2231) - Remove stale.yml (#2245) - Django: Fix 404 Handler handler being labeled as "generic ASGI request" (#1277) - Update to 1.28.0 - Add support for cron jobs in ARQ integration (#2088) - Backpressure handling prototype (#2189) - Add "replay" context to event payload (#2234) - Update test Django app to be compatible for Django 4.x (#1794) - Update to 1.27.1 + Add Starlette/FastAPI template tag for adding Sentry tracing information (#2225) - By adding {{ sentry_trace_meta }} to your Starlette/FastAPI Jinja2 templates we will include Sentry trace information as a meta tag in the rendered HTML to allow your frontend to pick up and continue the trace started in the backend. - Fixed generation of baggage when a DSC is already in propagation context (#2232) - Handle explicitly passing None for trace_configs in aiohttp (#2230) - Support newest Starlette versions (#2227) - Update to 1.27.0 - Support for SQLAlchemy 2.0 (#2200) - Add instrumentation of aiohttp client requests (#1761) + Add Django template tag for adding Sentry tracing information (#2222) - By adding {{ sentry_trace_meta }} to your Django templates we will include Sentry trace information as a meta tag in the rendered HTML to allow your frontend to pick up and continue the trace started in the backend. - Update Flask HTML meta helper (#2203) - Take trace ID always from propagation context (#2209) - Fix trace context in event payload (#2205) - Use new top level API in trace_propagation_meta (#2202) - Do not overwrite existing baggage on outgoing requests (#2191, #2214) - Set the transaction/span status from an OTel span (#2115) - Fix propagation of OTel NonRecordingSpan (#2187) - Fix TaskLockedException handling in Huey integration (#2206) - Add message format configuration arguments to Loguru integration (#2208) - Profiling: Add client reports for profiles (#2207) - CI: Fix CI (#2220) - Dependencies: Bump checkouts/data-schemas from 7fdde87 to 1b85152 (#2218) - Dependencies: Bump mypy from 1.3.0 to 1.4.1 (#2194) - Docs: Change API doc theme (#2210) - Docs: Allow (some) autocompletion for top-level API (#2213) - Docs: Revert autocomplete hack (#2224) - Update to 1.26.0 - Tracing without performance (#2136) - Load tracing information from environment (#2176) - Auto-enable HTTPX integration if HTTPX installed (#2177) - Support for SOCKS proxies (#1050) - Wrap parse_url calls in capture_internal_exceptions (#2162) - Run 2.7 tests in CI again (#2181) - Crons: Do not support sub-minute cron intervals (#2172) - Profile: Add function name to profiler frame cache (#2164) - Dependencies: bump checkouts/data-schemas from 0ed3357 to 7fdde87 (#2165) - Update changelog (#2163) - Update to 1.25.1 - Fix parse_url (#2161) Our URL sanitization used in multiple integrations broke with the recent Python security update. If you started seeing ValueErrors with "'Filtered' does not appear to be an IPv4 or IPv6 address", this release fixes that. See the original issue for more context. - Better version parsing in integrations (#2152) We now properly support all integration versions that conform to PEP 440. This replaces our naïve version parsing that wouldn't accept versions such as 2.0.0rc1 or 2.0.5.post1. - Align HTTP status code as span data field http.response.status_code (#2113) - Do not encode cached value to determine size (#2143) - Fix using unittest.mock whenever available (#1926) - Fix 2.7 common tests (#2145) - Bump actions/stale from 6 to 8 (#1978) - Bump black from 22.12.0 to 23.3.0 (#1984) - Bump mypy from 1.2.0 to 1.3.0 (#2110) - Bump sphinx from 5.3.0 to 7.0.1 (#2112) - Update to 1.25.0 - Support urllib3>=2.0.0 (#2148) We're now supporting urllib3's new major version, 2.0.0. If you encounter issues (e.g. some of your dependencies not supporting the new urllib3 version yet) you might consider pinning the urllib3 version to <2.0.0 manually in your project. Check out the the urllib3 migration guide for details. - Auto-retry tests on failure (#2134) - Correct importlib.metadata check in test_modules (#2149) - Fix distribution name normalization (PEP-0503) (#2144) - Fix functions_to_trace typing (#2141) - Drop mock.patch beecause no more need. OBS-URL: https://build.opensuse.org/request/show/1099403 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=54
2023-07-19 09:24:29 +02:00
BuildRequires: %{python_module loguru >= 0.5}
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}
Accepting request 1099403 from home:ecsos:python - Update to 1.28.1 - Redis: Add support for redis.asyncio (#1933) - Make sure each task that is started by Celery Beat has its own trace. (#2249) - Add Sampling Decision to Trace Envelope Header (#2239) - Do not add trace headers (sentry-trace and baggage) to HTTP requests to Sentry (#2240) - Prevent adding sentry-trace header multiple times (#2235) - Skip distributions with incomplete metadata (#2231) - Remove stale.yml (#2245) - Django: Fix 404 Handler handler being labeled as "generic ASGI request" (#1277) - Update to 1.28.0 - Add support for cron jobs in ARQ integration (#2088) - Backpressure handling prototype (#2189) - Add "replay" context to event payload (#2234) - Update test Django app to be compatible for Django 4.x (#1794) - Update to 1.27.1 + Add Starlette/FastAPI template tag for adding Sentry tracing information (#2225) - By adding {{ sentry_trace_meta }} to your Starlette/FastAPI Jinja2 templates we will include Sentry trace information as a meta tag in the rendered HTML to allow your frontend to pick up and continue the trace started in the backend. - Fixed generation of baggage when a DSC is already in propagation context (#2232) - Handle explicitly passing None for trace_configs in aiohttp (#2230) - Support newest Starlette versions (#2227) - Update to 1.27.0 - Support for SQLAlchemy 2.0 (#2200) - Add instrumentation of aiohttp client requests (#1761) + Add Django template tag for adding Sentry tracing information (#2222) - By adding {{ sentry_trace_meta }} to your Django templates we will include Sentry trace information as a meta tag in the rendered HTML to allow your frontend to pick up and continue the trace started in the backend. - Update Flask HTML meta helper (#2203) - Take trace ID always from propagation context (#2209) - Fix trace context in event payload (#2205) - Use new top level API in trace_propagation_meta (#2202) - Do not overwrite existing baggage on outgoing requests (#2191, #2214) - Set the transaction/span status from an OTel span (#2115) - Fix propagation of OTel NonRecordingSpan (#2187) - Fix TaskLockedException handling in Huey integration (#2206) - Add message format configuration arguments to Loguru integration (#2208) - Profiling: Add client reports for profiles (#2207) - CI: Fix CI (#2220) - Dependencies: Bump checkouts/data-schemas from 7fdde87 to 1b85152 (#2218) - Dependencies: Bump mypy from 1.3.0 to 1.4.1 (#2194) - Docs: Change API doc theme (#2210) - Docs: Allow (some) autocompletion for top-level API (#2213) - Docs: Revert autocomplete hack (#2224) - Update to 1.26.0 - Tracing without performance (#2136) - Load tracing information from environment (#2176) - Auto-enable HTTPX integration if HTTPX installed (#2177) - Support for SOCKS proxies (#1050) - Wrap parse_url calls in capture_internal_exceptions (#2162) - Run 2.7 tests in CI again (#2181) - Crons: Do not support sub-minute cron intervals (#2172) - Profile: Add function name to profiler frame cache (#2164) - Dependencies: bump checkouts/data-schemas from 0ed3357 to 7fdde87 (#2165) - Update changelog (#2163) - Update to 1.25.1 - Fix parse_url (#2161) Our URL sanitization used in multiple integrations broke with the recent Python security update. If you started seeing ValueErrors with "'Filtered' does not appear to be an IPv4 or IPv6 address", this release fixes that. See the original issue for more context. - Better version parsing in integrations (#2152) We now properly support all integration versions that conform to PEP 440. This replaces our naïve version parsing that wouldn't accept versions such as 2.0.0rc1 or 2.0.5.post1. - Align HTTP status code as span data field http.response.status_code (#2113) - Do not encode cached value to determine size (#2143) - Fix using unittest.mock whenever available (#1926) - Fix 2.7 common tests (#2145) - Bump actions/stale from 6 to 8 (#1978) - Bump black from 22.12.0 to 23.3.0 (#1984) - Bump mypy from 1.2.0 to 1.3.0 (#2110) - Bump sphinx from 5.3.0 to 7.0.1 (#2112) - Update to 1.25.0 - Support urllib3>=2.0.0 (#2148) We're now supporting urllib3's new major version, 2.0.0. If you encounter issues (e.g. some of your dependencies not supporting the new urllib3 version yet) you might consider pinning the urllib3 version to <2.0.0 manually in your project. Check out the the urllib3 migration guide for details. - Auto-retry tests on failure (#2134) - Correct importlib.metadata check in test_modules (#2149) - Fix distribution name normalization (PEP-0503) (#2144) - Fix functions_to_trace typing (#2141) - Drop mock.patch beecause no more need. OBS-URL: https://build.opensuse.org/request/show/1099403 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=54
2023-07-19 09:24:29 +02:00
BuildRequires: %{python_module urllib3 >= 1.26.11}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module Werkzeug}
Accepting request 1099403 from home:ecsos:python - Update to 1.28.1 - Redis: Add support for redis.asyncio (#1933) - Make sure each task that is started by Celery Beat has its own trace. (#2249) - Add Sampling Decision to Trace Envelope Header (#2239) - Do not add trace headers (sentry-trace and baggage) to HTTP requests to Sentry (#2240) - Prevent adding sentry-trace header multiple times (#2235) - Skip distributions with incomplete metadata (#2231) - Remove stale.yml (#2245) - Django: Fix 404 Handler handler being labeled as "generic ASGI request" (#1277) - Update to 1.28.0 - Add support for cron jobs in ARQ integration (#2088) - Backpressure handling prototype (#2189) - Add "replay" context to event payload (#2234) - Update test Django app to be compatible for Django 4.x (#1794) - Update to 1.27.1 + Add Starlette/FastAPI template tag for adding Sentry tracing information (#2225) - By adding {{ sentry_trace_meta }} to your Starlette/FastAPI Jinja2 templates we will include Sentry trace information as a meta tag in the rendered HTML to allow your frontend to pick up and continue the trace started in the backend. - Fixed generation of baggage when a DSC is already in propagation context (#2232) - Handle explicitly passing None for trace_configs in aiohttp (#2230) - Support newest Starlette versions (#2227) - Update to 1.27.0 - Support for SQLAlchemy 2.0 (#2200) - Add instrumentation of aiohttp client requests (#1761) + Add Django template tag for adding Sentry tracing information (#2222) - By adding {{ sentry_trace_meta }} to your Django templates we will include Sentry trace information as a meta tag in the rendered HTML to allow your frontend to pick up and continue the trace started in the backend. - Update Flask HTML meta helper (#2203) - Take trace ID always from propagation context (#2209) - Fix trace context in event payload (#2205) - Use new top level API in trace_propagation_meta (#2202) - Do not overwrite existing baggage on outgoing requests (#2191, #2214) - Set the transaction/span status from an OTel span (#2115) - Fix propagation of OTel NonRecordingSpan (#2187) - Fix TaskLockedException handling in Huey integration (#2206) - Add message format configuration arguments to Loguru integration (#2208) - Profiling: Add client reports for profiles (#2207) - CI: Fix CI (#2220) - Dependencies: Bump checkouts/data-schemas from 7fdde87 to 1b85152 (#2218) - Dependencies: Bump mypy from 1.3.0 to 1.4.1 (#2194) - Docs: Change API doc theme (#2210) - Docs: Allow (some) autocompletion for top-level API (#2213) - Docs: Revert autocomplete hack (#2224) - Update to 1.26.0 - Tracing without performance (#2136) - Load tracing information from environment (#2176) - Auto-enable HTTPX integration if HTTPX installed (#2177) - Support for SOCKS proxies (#1050) - Wrap parse_url calls in capture_internal_exceptions (#2162) - Run 2.7 tests in CI again (#2181) - Crons: Do not support sub-minute cron intervals (#2172) - Profile: Add function name to profiler frame cache (#2164) - Dependencies: bump checkouts/data-schemas from 0ed3357 to 7fdde87 (#2165) - Update changelog (#2163) - Update to 1.25.1 - Fix parse_url (#2161) Our URL sanitization used in multiple integrations broke with the recent Python security update. If you started seeing ValueErrors with "'Filtered' does not appear to be an IPv4 or IPv6 address", this release fixes that. See the original issue for more context. - Better version parsing in integrations (#2152) We now properly support all integration versions that conform to PEP 440. This replaces our naïve version parsing that wouldn't accept versions such as 2.0.0rc1 or 2.0.5.post1. - Align HTTP status code as span data field http.response.status_code (#2113) - Do not encode cached value to determine size (#2143) - Fix using unittest.mock whenever available (#1926) - Fix 2.7 common tests (#2145) - Bump actions/stale from 6 to 8 (#1978) - Bump black from 22.12.0 to 23.3.0 (#1984) - Bump mypy from 1.2.0 to 1.3.0 (#2110) - Bump sphinx from 5.3.0 to 7.0.1 (#2112) - Update to 1.25.0 - Support urllib3>=2.0.0 (#2148) We're now supporting urllib3's new major version, 2.0.0. If you encounter issues (e.g. some of your dependencies not supporting the new urllib3 version yet) you might consider pinning the urllib3 version to <2.0.0 manually in your project. Check out the the urllib3 migration guide for details. - Auto-retry tests on failure (#2134) - Correct importlib.metadata check in test_modules (#2149) - Fix distribution name normalization (PEP-0503) (#2144) - Fix functions_to_trace typing (#2141) - Drop mock.patch beecause no more need. OBS-URL: https://build.opensuse.org/request/show/1099403 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=54
2023-07-19 09:24:29 +02:00
BuildRequires: %{python_module PySocks}
BuildRequires: %{python_module eventlet}
BuildRequires: %{python_module gevent}
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module ipdb}
BuildRequires: %{python_module jsonschema >= 3.2.0}
BuildRequires: %{python_module pyramid}
BuildRequires: %{python_module pyrsistent >= 0.16.0}
BuildRequires: %{python_module pytest-cov >= 2.8.1}
Accepting request 1099403 from home:ecsos:python - Update to 1.28.1 - Redis: Add support for redis.asyncio (#1933) - Make sure each task that is started by Celery Beat has its own trace. (#2249) - Add Sampling Decision to Trace Envelope Header (#2239) - Do not add trace headers (sentry-trace and baggage) to HTTP requests to Sentry (#2240) - Prevent adding sentry-trace header multiple times (#2235) - Skip distributions with incomplete metadata (#2231) - Remove stale.yml (#2245) - Django: Fix 404 Handler handler being labeled as "generic ASGI request" (#1277) - Update to 1.28.0 - Add support for cron jobs in ARQ integration (#2088) - Backpressure handling prototype (#2189) - Add "replay" context to event payload (#2234) - Update test Django app to be compatible for Django 4.x (#1794) - Update to 1.27.1 + Add Starlette/FastAPI template tag for adding Sentry tracing information (#2225) - By adding {{ sentry_trace_meta }} to your Starlette/FastAPI Jinja2 templates we will include Sentry trace information as a meta tag in the rendered HTML to allow your frontend to pick up and continue the trace started in the backend. - Fixed generation of baggage when a DSC is already in propagation context (#2232) - Handle explicitly passing None for trace_configs in aiohttp (#2230) - Support newest Starlette versions (#2227) - Update to 1.27.0 - Support for SQLAlchemy 2.0 (#2200) - Add instrumentation of aiohttp client requests (#1761) + Add Django template tag for adding Sentry tracing information (#2222) - By adding {{ sentry_trace_meta }} to your Django templates we will include Sentry trace information as a meta tag in the rendered HTML to allow your frontend to pick up and continue the trace started in the backend. - Update Flask HTML meta helper (#2203) - Take trace ID always from propagation context (#2209) - Fix trace context in event payload (#2205) - Use new top level API in trace_propagation_meta (#2202) - Do not overwrite existing baggage on outgoing requests (#2191, #2214) - Set the transaction/span status from an OTel span (#2115) - Fix propagation of OTel NonRecordingSpan (#2187) - Fix TaskLockedException handling in Huey integration (#2206) - Add message format configuration arguments to Loguru integration (#2208) - Profiling: Add client reports for profiles (#2207) - CI: Fix CI (#2220) - Dependencies: Bump checkouts/data-schemas from 7fdde87 to 1b85152 (#2218) - Dependencies: Bump mypy from 1.3.0 to 1.4.1 (#2194) - Docs: Change API doc theme (#2210) - Docs: Allow (some) autocompletion for top-level API (#2213) - Docs: Revert autocomplete hack (#2224) - Update to 1.26.0 - Tracing without performance (#2136) - Load tracing information from environment (#2176) - Auto-enable HTTPX integration if HTTPX installed (#2177) - Support for SOCKS proxies (#1050) - Wrap parse_url calls in capture_internal_exceptions (#2162) - Run 2.7 tests in CI again (#2181) - Crons: Do not support sub-minute cron intervals (#2172) - Profile: Add function name to profiler frame cache (#2164) - Dependencies: bump checkouts/data-schemas from 0ed3357 to 7fdde87 (#2165) - Update changelog (#2163) - Update to 1.25.1 - Fix parse_url (#2161) Our URL sanitization used in multiple integrations broke with the recent Python security update. If you started seeing ValueErrors with "'Filtered' does not appear to be an IPv4 or IPv6 address", this release fixes that. See the original issue for more context. - Better version parsing in integrations (#2152) We now properly support all integration versions that conform to PEP 440. This replaces our naïve version parsing that wouldn't accept versions such as 2.0.0rc1 or 2.0.5.post1. - Align HTTP status code as span data field http.response.status_code (#2113) - Do not encode cached value to determine size (#2143) - Fix using unittest.mock whenever available (#1926) - Fix 2.7 common tests (#2145) - Bump actions/stale from 6 to 8 (#1978) - Bump black from 22.12.0 to 23.3.0 (#1984) - Bump mypy from 1.2.0 to 1.3.0 (#2110) - Bump sphinx from 5.3.0 to 7.0.1 (#2112) - Update to 1.25.0 - Support urllib3>=2.0.0 (#2148) We're now supporting urllib3's new major version, 2.0.0. If you encounter issues (e.g. some of your dependencies not supporting the new urllib3 version yet) you might consider pinning the urllib3 version to <2.0.0 manually in your project. Check out the the urllib3 migration guide for details. - Auto-retry tests on failure (#2134) - Correct importlib.metadata check in test_modules (#2149) - Fix distribution name normalization (PEP-0503) (#2144) - Fix functions_to_trace typing (#2141) - Drop mock.patch beecause no more need. OBS-URL: https://build.opensuse.org/request/show/1099403 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=54
2023-07-19 09:24:29 +02:00
BuildRequires: %{python_module pytest-forked >= 1.4.0}
BuildRequires: %{python_module pytest-localserver >= 0.5.1}
BuildRequires: %{python_module pytest}
Accepting request 1146407 from home:ecsos:python - Update to 1.40.4 - Only start metrics flusher thread on demand (#2727) - Bump checkouts/data-schemas from aa7058c to 6121fd3 (#2724) - Changes from 1.40.3 - Turn off metrics for uWSGI (#2720) - Minor improvements (#2714) - Changes from 1.40.2 - test: Fix pytest error (#2712) - build(deps): bump types-protobuf from 4.24.0.4 to 4.24.0.20240129 (#2691) - Changes from 1.40.1 - Fix uWSGI workers hanging (#2694) - Make metrics work with gevent (#2694) - Guard against engine.url being None (#2708) - Fix performance regression in sentry_sdk.utils._generate_installed_modules (#2703) - Guard against Sentry initialization mid SQLAlchemy cursor (#2702) - Fix yaml generation script (#2695) - Fix AWS Lambda workflow (#2710) - Bump codecov/codecov-action from 3 to 4 (#2706) - Bump actions/cache from 3 to 4 (#2661) - Bump actions/checkout from 3.1.0 to 4.1.1 (#2561) - Bump github/codeql-action from 2 to 3 (#2603) - Bump actions/setup-python from 4 to 5 (#2577) - Changes from 1.40.0 - Enable metrics related settings by default (#2685) - Fix UnicodeDecodeError on Python 2 (#2657) - Enable DB query source by default (#2629) - Fix query source duration check (#2675) - Reformat with black==24.1.0 (#2680) - Cleaning up existing code to prepare for new Scopes API (#2611) - Moved redis related tests to databases (#2674) - Improve sentry_sdk.trace type hints (#2633) - Bump checkouts/data-schemas from e9f7d58 to aa7058c (#2639) OBS-URL: https://build.opensuse.org/request/show/1146407 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=64
2024-02-13 14:39:45 +01:00
BuildRequires: %{python_module responses}
Accepting request 1099403 from home:ecsos:python - Update to 1.28.1 - Redis: Add support for redis.asyncio (#1933) - Make sure each task that is started by Celery Beat has its own trace. (#2249) - Add Sampling Decision to Trace Envelope Header (#2239) - Do not add trace headers (sentry-trace and baggage) to HTTP requests to Sentry (#2240) - Prevent adding sentry-trace header multiple times (#2235) - Skip distributions with incomplete metadata (#2231) - Remove stale.yml (#2245) - Django: Fix 404 Handler handler being labeled as "generic ASGI request" (#1277) - Update to 1.28.0 - Add support for cron jobs in ARQ integration (#2088) - Backpressure handling prototype (#2189) - Add "replay" context to event payload (#2234) - Update test Django app to be compatible for Django 4.x (#1794) - Update to 1.27.1 + Add Starlette/FastAPI template tag for adding Sentry tracing information (#2225) - By adding {{ sentry_trace_meta }} to your Starlette/FastAPI Jinja2 templates we will include Sentry trace information as a meta tag in the rendered HTML to allow your frontend to pick up and continue the trace started in the backend. - Fixed generation of baggage when a DSC is already in propagation context (#2232) - Handle explicitly passing None for trace_configs in aiohttp (#2230) - Support newest Starlette versions (#2227) - Update to 1.27.0 - Support for SQLAlchemy 2.0 (#2200) - Add instrumentation of aiohttp client requests (#1761) + Add Django template tag for adding Sentry tracing information (#2222) - By adding {{ sentry_trace_meta }} to your Django templates we will include Sentry trace information as a meta tag in the rendered HTML to allow your frontend to pick up and continue the trace started in the backend. - Update Flask HTML meta helper (#2203) - Take trace ID always from propagation context (#2209) - Fix trace context in event payload (#2205) - Use new top level API in trace_propagation_meta (#2202) - Do not overwrite existing baggage on outgoing requests (#2191, #2214) - Set the transaction/span status from an OTel span (#2115) - Fix propagation of OTel NonRecordingSpan (#2187) - Fix TaskLockedException handling in Huey integration (#2206) - Add message format configuration arguments to Loguru integration (#2208) - Profiling: Add client reports for profiles (#2207) - CI: Fix CI (#2220) - Dependencies: Bump checkouts/data-schemas from 7fdde87 to 1b85152 (#2218) - Dependencies: Bump mypy from 1.3.0 to 1.4.1 (#2194) - Docs: Change API doc theme (#2210) - Docs: Allow (some) autocompletion for top-level API (#2213) - Docs: Revert autocomplete hack (#2224) - Update to 1.26.0 - Tracing without performance (#2136) - Load tracing information from environment (#2176) - Auto-enable HTTPX integration if HTTPX installed (#2177) - Support for SOCKS proxies (#1050) - Wrap parse_url calls in capture_internal_exceptions (#2162) - Run 2.7 tests in CI again (#2181) - Crons: Do not support sub-minute cron intervals (#2172) - Profile: Add function name to profiler frame cache (#2164) - Dependencies: bump checkouts/data-schemas from 0ed3357 to 7fdde87 (#2165) - Update changelog (#2163) - Update to 1.25.1 - Fix parse_url (#2161) Our URL sanitization used in multiple integrations broke with the recent Python security update. If you started seeing ValueErrors with "'Filtered' does not appear to be an IPv4 or IPv6 address", this release fixes that. See the original issue for more context. - Better version parsing in integrations (#2152) We now properly support all integration versions that conform to PEP 440. This replaces our naïve version parsing that wouldn't accept versions such as 2.0.0rc1 or 2.0.5.post1. - Align HTTP status code as span data field http.response.status_code (#2113) - Do not encode cached value to determine size (#2143) - Fix using unittest.mock whenever available (#1926) - Fix 2.7 common tests (#2145) - Bump actions/stale from 6 to 8 (#1978) - Bump black from 22.12.0 to 23.3.0 (#1984) - Bump mypy from 1.2.0 to 1.3.0 (#2110) - Bump sphinx from 5.3.0 to 7.0.1 (#2112) - Update to 1.25.0 - Support urllib3>=2.0.0 (#2148) We're now supporting urllib3's new major version, 2.0.0. If you encounter issues (e.g. some of your dependencies not supporting the new urllib3 version yet) you might consider pinning the urllib3 version to <2.0.0 manually in your project. Check out the the urllib3 migration guide for details. - Auto-retry tests on failure (#2134) - Correct importlib.metadata check in test_modules (#2149) - Fix distribution name normalization (PEP-0503) (#2144) - Fix functions_to_trace typing (#2141) - Drop mock.patch beecause no more need. OBS-URL: https://build.opensuse.org/request/show/1099403 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=54
2023-07-19 09:24:29 +02:00
BuildRequires: %{python_module tox >= 3.7.0}
# /SECTION
# SECTION test requirements - which rise up buildtime error or missing in openSUSE
#BuildRequires: %%{python_module pytest-watch >= 4.2.0}
# /SECTION
# SECTION extra requirements - which rise up buildtime error or missing in openSUSE
#BuildRequires: %%{python_module arq >= 0.23}
#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}
Accepting request 1146407 from home:ecsos:python - Update to 1.40.4 - Only start metrics flusher thread on demand (#2727) - Bump checkouts/data-schemas from aa7058c to 6121fd3 (#2724) - Changes from 1.40.3 - Turn off metrics for uWSGI (#2720) - Minor improvements (#2714) - Changes from 1.40.2 - test: Fix pytest error (#2712) - build(deps): bump types-protobuf from 4.24.0.4 to 4.24.0.20240129 (#2691) - Changes from 1.40.1 - Fix uWSGI workers hanging (#2694) - Make metrics work with gevent (#2694) - Guard against engine.url being None (#2708) - Fix performance regression in sentry_sdk.utils._generate_installed_modules (#2703) - Guard against Sentry initialization mid SQLAlchemy cursor (#2702) - Fix yaml generation script (#2695) - Fix AWS Lambda workflow (#2710) - Bump codecov/codecov-action from 3 to 4 (#2706) - Bump actions/cache from 3 to 4 (#2661) - Bump actions/checkout from 3.1.0 to 4.1.1 (#2561) - Bump github/codeql-action from 2 to 3 (#2603) - Bump actions/setup-python from 4 to 5 (#2577) - Changes from 1.40.0 - Enable metrics related settings by default (#2685) - Fix UnicodeDecodeError on Python 2 (#2657) - Enable DB query source by default (#2629) - Fix query source duration check (#2675) - Reformat with black==24.1.0 (#2680) - Cleaning up existing code to prepare for new Scopes API (#2611) - Moved redis related tests to databases (#2674) - Improve sentry_sdk.trace type hints (#2633) - Bump checkouts/data-schemas from e9f7d58 to aa7058c (#2639) OBS-URL: https://build.opensuse.org/request/show/1146407 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=64
2024-02-13 14:39:45 +01:00
#BuildRequires: %%{python_module opentelemetry-distro >= 0.40b0}
#BuildRequires: %%{python_module beam >= 2.12}
#BuildRequires: %%{python_module chalice >= 1.16.0}
#BuildRequires: %%{python_module clickhouse-driver >= 0.2.0}
#BuildRequires: %%{python_module fastapi >= 0.79.0}
# /SECTION
Requires: python-Django >= 1.8
Requires: python-Flask >= 0.11
Requires: python-MarkupSafe
Requires: python-SQLAlchemy >= 1.2
Requires: python-aiohttp >= 3.5
Requires: python-asttokens
Requires: python-asyncpg >= 0.23
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
Accepting request 1099403 from home:ecsos:python - Update to 1.28.1 - Redis: Add support for redis.asyncio (#1933) - Make sure each task that is started by Celery Beat has its own trace. (#2249) - Add Sampling Decision to Trace Envelope Header (#2239) - Do not add trace headers (sentry-trace and baggage) to HTTP requests to Sentry (#2240) - Prevent adding sentry-trace header multiple times (#2235) - Skip distributions with incomplete metadata (#2231) - Remove stale.yml (#2245) - Django: Fix 404 Handler handler being labeled as "generic ASGI request" (#1277) - Update to 1.28.0 - Add support for cron jobs in ARQ integration (#2088) - Backpressure handling prototype (#2189) - Add "replay" context to event payload (#2234) - Update test Django app to be compatible for Django 4.x (#1794) - Update to 1.27.1 + Add Starlette/FastAPI template tag for adding Sentry tracing information (#2225) - By adding {{ sentry_trace_meta }} to your Starlette/FastAPI Jinja2 templates we will include Sentry trace information as a meta tag in the rendered HTML to allow your frontend to pick up and continue the trace started in the backend. - Fixed generation of baggage when a DSC is already in propagation context (#2232) - Handle explicitly passing None for trace_configs in aiohttp (#2230) - Support newest Starlette versions (#2227) - Update to 1.27.0 - Support for SQLAlchemy 2.0 (#2200) - Add instrumentation of aiohttp client requests (#1761) + Add Django template tag for adding Sentry tracing information (#2222) - By adding {{ sentry_trace_meta }} to your Django templates we will include Sentry trace information as a meta tag in the rendered HTML to allow your frontend to pick up and continue the trace started in the backend. - Update Flask HTML meta helper (#2203) - Take trace ID always from propagation context (#2209) - Fix trace context in event payload (#2205) - Use new top level API in trace_propagation_meta (#2202) - Do not overwrite existing baggage on outgoing requests (#2191, #2214) - Set the transaction/span status from an OTel span (#2115) - Fix propagation of OTel NonRecordingSpan (#2187) - Fix TaskLockedException handling in Huey integration (#2206) - Add message format configuration arguments to Loguru integration (#2208) - Profiling: Add client reports for profiles (#2207) - CI: Fix CI (#2220) - Dependencies: Bump checkouts/data-schemas from 7fdde87 to 1b85152 (#2218) - Dependencies: Bump mypy from 1.3.0 to 1.4.1 (#2194) - Docs: Change API doc theme (#2210) - Docs: Allow (some) autocompletion for top-level API (#2213) - Docs: Revert autocomplete hack (#2224) - Update to 1.26.0 - Tracing without performance (#2136) - Load tracing information from environment (#2176) - Auto-enable HTTPX integration if HTTPX installed (#2177) - Support for SOCKS proxies (#1050) - Wrap parse_url calls in capture_internal_exceptions (#2162) - Run 2.7 tests in CI again (#2181) - Crons: Do not support sub-minute cron intervals (#2172) - Profile: Add function name to profiler frame cache (#2164) - Dependencies: bump checkouts/data-schemas from 0ed3357 to 7fdde87 (#2165) - Update changelog (#2163) - Update to 1.25.1 - Fix parse_url (#2161) Our URL sanitization used in multiple integrations broke with the recent Python security update. If you started seeing ValueErrors with "'Filtered' does not appear to be an IPv4 or IPv6 address", this release fixes that. See the original issue for more context. - Better version parsing in integrations (#2152) We now properly support all integration versions that conform to PEP 440. This replaces our naïve version parsing that wouldn't accept versions such as 2.0.0rc1 or 2.0.5.post1. - Align HTTP status code as span data field http.response.status_code (#2113) - Do not encode cached value to determine size (#2143) - Fix using unittest.mock whenever available (#1926) - Fix 2.7 common tests (#2145) - Bump actions/stale from 6 to 8 (#1978) - Bump black from 22.12.0 to 23.3.0 (#1984) - Bump mypy from 1.2.0 to 1.3.0 (#2110) - Bump sphinx from 5.3.0 to 7.0.1 (#2112) - Update to 1.25.0 - Support urllib3>=2.0.0 (#2148) We're now supporting urllib3's new major version, 2.0.0. If you encounter issues (e.g. some of your dependencies not supporting the new urllib3 version yet) you might consider pinning the urllib3 version to <2.0.0 manually in your project. Check out the the urllib3 migration guide for details. - Auto-retry tests on failure (#2134) - Correct importlib.metadata check in test_modules (#2149) - Fix distribution name normalization (PEP-0503) (#2144) - Fix functions_to_trace typing (#2141) - Drop mock.patch beecause no more need. OBS-URL: https://build.opensuse.org/request/show/1099403 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=54
2023-07-19 09:24:29 +02:00
Requires: python-grpcio >= 1.21.1
Requires: python-httpx >= 0.16.0
Requires: python-jsonschema
Accepting request 1099403 from home:ecsos:python - Update to 1.28.1 - Redis: Add support for redis.asyncio (#1933) - Make sure each task that is started by Celery Beat has its own trace. (#2249) - Add Sampling Decision to Trace Envelope Header (#2239) - Do not add trace headers (sentry-trace and baggage) to HTTP requests to Sentry (#2240) - Prevent adding sentry-trace header multiple times (#2235) - Skip distributions with incomplete metadata (#2231) - Remove stale.yml (#2245) - Django: Fix 404 Handler handler being labeled as "generic ASGI request" (#1277) - Update to 1.28.0 - Add support for cron jobs in ARQ integration (#2088) - Backpressure handling prototype (#2189) - Add "replay" context to event payload (#2234) - Update test Django app to be compatible for Django 4.x (#1794) - Update to 1.27.1 + Add Starlette/FastAPI template tag for adding Sentry tracing information (#2225) - By adding {{ sentry_trace_meta }} to your Starlette/FastAPI Jinja2 templates we will include Sentry trace information as a meta tag in the rendered HTML to allow your frontend to pick up and continue the trace started in the backend. - Fixed generation of baggage when a DSC is already in propagation context (#2232) - Handle explicitly passing None for trace_configs in aiohttp (#2230) - Support newest Starlette versions (#2227) - Update to 1.27.0 - Support for SQLAlchemy 2.0 (#2200) - Add instrumentation of aiohttp client requests (#1761) + Add Django template tag for adding Sentry tracing information (#2222) - By adding {{ sentry_trace_meta }} to your Django templates we will include Sentry trace information as a meta tag in the rendered HTML to allow your frontend to pick up and continue the trace started in the backend. - Update Flask HTML meta helper (#2203) - Take trace ID always from propagation context (#2209) - Fix trace context in event payload (#2205) - Use new top level API in trace_propagation_meta (#2202) - Do not overwrite existing baggage on outgoing requests (#2191, #2214) - Set the transaction/span status from an OTel span (#2115) - Fix propagation of OTel NonRecordingSpan (#2187) - Fix TaskLockedException handling in Huey integration (#2206) - Add message format configuration arguments to Loguru integration (#2208) - Profiling: Add client reports for profiles (#2207) - CI: Fix CI (#2220) - Dependencies: Bump checkouts/data-schemas from 7fdde87 to 1b85152 (#2218) - Dependencies: Bump mypy from 1.3.0 to 1.4.1 (#2194) - Docs: Change API doc theme (#2210) - Docs: Allow (some) autocompletion for top-level API (#2213) - Docs: Revert autocomplete hack (#2224) - Update to 1.26.0 - Tracing without performance (#2136) - Load tracing information from environment (#2176) - Auto-enable HTTPX integration if HTTPX installed (#2177) - Support for SOCKS proxies (#1050) - Wrap parse_url calls in capture_internal_exceptions (#2162) - Run 2.7 tests in CI again (#2181) - Crons: Do not support sub-minute cron intervals (#2172) - Profile: Add function name to profiler frame cache (#2164) - Dependencies: bump checkouts/data-schemas from 0ed3357 to 7fdde87 (#2165) - Update changelog (#2163) - Update to 1.25.1 - Fix parse_url (#2161) Our URL sanitization used in multiple integrations broke with the recent Python security update. If you started seeing ValueErrors with "'Filtered' does not appear to be an IPv4 or IPv6 address", this release fixes that. See the original issue for more context. - Better version parsing in integrations (#2152) We now properly support all integration versions that conform to PEP 440. This replaces our naïve version parsing that wouldn't accept versions such as 2.0.0rc1 or 2.0.5.post1. - Align HTTP status code as span data field http.response.status_code (#2113) - Do not encode cached value to determine size (#2143) - Fix using unittest.mock whenever available (#1926) - Fix 2.7 common tests (#2145) - Bump actions/stale from 6 to 8 (#1978) - Bump black from 22.12.0 to 23.3.0 (#1984) - Bump mypy from 1.2.0 to 1.3.0 (#2110) - Bump sphinx from 5.3.0 to 7.0.1 (#2112) - Update to 1.25.0 - Support urllib3>=2.0.0 (#2148) We're now supporting urllib3's new major version, 2.0.0. If you encounter issues (e.g. some of your dependencies not supporting the new urllib3 version yet) you might consider pinning the urllib3 version to <2.0.0 manually in your project. Check out the the urllib3 migration guide for details. - Auto-retry tests on failure (#2134) - Correct importlib.metadata check in test_modules (#2149) - Fix distribution name normalization (PEP-0503) (#2144) - Fix functions_to_trace typing (#2141) - Drop mock.patch beecause no more need. OBS-URL: https://build.opensuse.org/request/show/1099403 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=54
2023-07-19 09:24:29 +02:00
Requires: python-loguru >= 0.5
Requires: python-pymongo >= 3.1
Requires: python-rq >= 0.6
Requires: python-starlette >= 0.19.1
Requires: python-tornado >= 5
Accepting request 1099403 from home:ecsos:python - Update to 1.28.1 - Redis: Add support for redis.asyncio (#1933) - Make sure each task that is started by Celery Beat has its own trace. (#2249) - Add Sampling Decision to Trace Envelope Header (#2239) - Do not add trace headers (sentry-trace and baggage) to HTTP requests to Sentry (#2240) - Prevent adding sentry-trace header multiple times (#2235) - Skip distributions with incomplete metadata (#2231) - Remove stale.yml (#2245) - Django: Fix 404 Handler handler being labeled as "generic ASGI request" (#1277) - Update to 1.28.0 - Add support for cron jobs in ARQ integration (#2088) - Backpressure handling prototype (#2189) - Add "replay" context to event payload (#2234) - Update test Django app to be compatible for Django 4.x (#1794) - Update to 1.27.1 + Add Starlette/FastAPI template tag for adding Sentry tracing information (#2225) - By adding {{ sentry_trace_meta }} to your Starlette/FastAPI Jinja2 templates we will include Sentry trace information as a meta tag in the rendered HTML to allow your frontend to pick up and continue the trace started in the backend. - Fixed generation of baggage when a DSC is already in propagation context (#2232) - Handle explicitly passing None for trace_configs in aiohttp (#2230) - Support newest Starlette versions (#2227) - Update to 1.27.0 - Support for SQLAlchemy 2.0 (#2200) - Add instrumentation of aiohttp client requests (#1761) + Add Django template tag for adding Sentry tracing information (#2222) - By adding {{ sentry_trace_meta }} to your Django templates we will include Sentry trace information as a meta tag in the rendered HTML to allow your frontend to pick up and continue the trace started in the backend. - Update Flask HTML meta helper (#2203) - Take trace ID always from propagation context (#2209) - Fix trace context in event payload (#2205) - Use new top level API in trace_propagation_meta (#2202) - Do not overwrite existing baggage on outgoing requests (#2191, #2214) - Set the transaction/span status from an OTel span (#2115) - Fix propagation of OTel NonRecordingSpan (#2187) - Fix TaskLockedException handling in Huey integration (#2206) - Add message format configuration arguments to Loguru integration (#2208) - Profiling: Add client reports for profiles (#2207) - CI: Fix CI (#2220) - Dependencies: Bump checkouts/data-schemas from 7fdde87 to 1b85152 (#2218) - Dependencies: Bump mypy from 1.3.0 to 1.4.1 (#2194) - Docs: Change API doc theme (#2210) - Docs: Allow (some) autocompletion for top-level API (#2213) - Docs: Revert autocomplete hack (#2224) - Update to 1.26.0 - Tracing without performance (#2136) - Load tracing information from environment (#2176) - Auto-enable HTTPX integration if HTTPX installed (#2177) - Support for SOCKS proxies (#1050) - Wrap parse_url calls in capture_internal_exceptions (#2162) - Run 2.7 tests in CI again (#2181) - Crons: Do not support sub-minute cron intervals (#2172) - Profile: Add function name to profiler frame cache (#2164) - Dependencies: bump checkouts/data-schemas from 0ed3357 to 7fdde87 (#2165) - Update changelog (#2163) - Update to 1.25.1 - Fix parse_url (#2161) Our URL sanitization used in multiple integrations broke with the recent Python security update. If you started seeing ValueErrors with "'Filtered' does not appear to be an IPv4 or IPv6 address", this release fixes that. See the original issue for more context. - Better version parsing in integrations (#2152) We now properly support all integration versions that conform to PEP 440. This replaces our naïve version parsing that wouldn't accept versions such as 2.0.0rc1 or 2.0.5.post1. - Align HTTP status code as span data field http.response.status_code (#2113) - Do not encode cached value to determine size (#2143) - Fix using unittest.mock whenever available (#1926) - Fix 2.7 common tests (#2145) - Bump actions/stale from 6 to 8 (#1978) - Bump black from 22.12.0 to 23.3.0 (#1984) - Bump mypy from 1.2.0 to 1.3.0 (#2110) - Bump sphinx from 5.3.0 to 7.0.1 (#2112) - Update to 1.25.0 - Support urllib3>=2.0.0 (#2148) We're now supporting urllib3's new major version, 2.0.0. If you encounter issues (e.g. some of your dependencies not supporting the new urllib3 version yet) you might consider pinning the urllib3 version to <2.0.0 manually in your project. Check out the the urllib3 migration guide for details. - Auto-retry tests on failure (#2134) - Correct importlib.metadata check in test_modules (#2149) - Fix distribution name normalization (PEP-0503) (#2144) - Fix functions_to_trace typing (#2141) - Drop mock.patch beecause no more need. OBS-URL: https://build.opensuse.org/request/show/1099403 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=54
2023-07-19 09:24:29 +02:00
Requires: python-urllib3 >= 1.26.11
# 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-arq >= 0.23
#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
Accepting request 1146407 from home:ecsos:python - Update to 1.40.4 - Only start metrics flusher thread on demand (#2727) - Bump checkouts/data-schemas from aa7058c to 6121fd3 (#2724) - Changes from 1.40.3 - Turn off metrics for uWSGI (#2720) - Minor improvements (#2714) - Changes from 1.40.2 - test: Fix pytest error (#2712) - build(deps): bump types-protobuf from 4.24.0.4 to 4.24.0.20240129 (#2691) - Changes from 1.40.1 - Fix uWSGI workers hanging (#2694) - Make metrics work with gevent (#2694) - Guard against engine.url being None (#2708) - Fix performance regression in sentry_sdk.utils._generate_installed_modules (#2703) - Guard against Sentry initialization mid SQLAlchemy cursor (#2702) - Fix yaml generation script (#2695) - Fix AWS Lambda workflow (#2710) - Bump codecov/codecov-action from 3 to 4 (#2706) - Bump actions/cache from 3 to 4 (#2661) - Bump actions/checkout from 3.1.0 to 4.1.1 (#2561) - Bump github/codeql-action from 2 to 3 (#2603) - Bump actions/setup-python from 4 to 5 (#2577) - Changes from 1.40.0 - Enable metrics related settings by default (#2685) - Fix UnicodeDecodeError on Python 2 (#2657) - Enable DB query source by default (#2629) - Fix query source duration check (#2675) - Reformat with black==24.1.0 (#2680) - Cleaning up existing code to prepare for new Scopes API (#2611) - Moved redis related tests to databases (#2674) - Improve sentry_sdk.trace type hints (#2633) - Bump checkouts/data-schemas from e9f7d58 to aa7058c (#2639) OBS-URL: https://build.opensuse.org/request/show/1146407 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=64
2024-02-13 14:39:45 +01:00
#Requires: python-opentelemetry-distro >= 0.40b0
#Requires: python- beam >= 2.12}
#Requires: python-chalice >= 1.16.0}
#Requires: python-clickhouse-driver >= 0.2.0}
#Requires: python-fastapi >= 0.79.0}
# /SECTION
BuildArch: noarch
%python_subpackages
%description
A Python SDK for Sentry.io.
https://sentry.io/for/python/
%prep
%autosetup -p1 -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 (many package are missing at SUSE):
rm -r tests/integrations
# test_auto_enabling_integrations_catches_import_error asert False where False = ..., not sure
Accepting request 1146407 from home:ecsos:python - Update to 1.40.4 - Only start metrics flusher thread on demand (#2727) - Bump checkouts/data-schemas from aa7058c to 6121fd3 (#2724) - Changes from 1.40.3 - Turn off metrics for uWSGI (#2720) - Minor improvements (#2714) - Changes from 1.40.2 - test: Fix pytest error (#2712) - build(deps): bump types-protobuf from 4.24.0.4 to 4.24.0.20240129 (#2691) - Changes from 1.40.1 - Fix uWSGI workers hanging (#2694) - Make metrics work with gevent (#2694) - Guard against engine.url being None (#2708) - Fix performance regression in sentry_sdk.utils._generate_installed_modules (#2703) - Guard against Sentry initialization mid SQLAlchemy cursor (#2702) - Fix yaml generation script (#2695) - Fix AWS Lambda workflow (#2710) - Bump codecov/codecov-action from 3 to 4 (#2706) - Bump actions/cache from 3 to 4 (#2661) - Bump actions/checkout from 3.1.0 to 4.1.1 (#2561) - Bump github/codeql-action from 2 to 3 (#2603) - Bump actions/setup-python from 4 to 5 (#2577) - Changes from 1.40.0 - Enable metrics related settings by default (#2685) - Fix UnicodeDecodeError on Python 2 (#2657) - Enable DB query source by default (#2629) - Fix query source duration check (#2675) - Reformat with black==24.1.0 (#2680) - Cleaning up existing code to prepare for new Scopes API (#2611) - Moved redis related tests to databases (#2674) - Improve sentry_sdk.trace type hints (#2633) - Bump checkouts/data-schemas from e9f7d58 to aa7058c (#2639) OBS-URL: https://build.opensuse.org/request/show/1146407 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=64
2024-02-13 14:39:45 +01:00
%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 or test_utils or test_metrics)'
%files %{python_files}
%doc README.md CHANGELOG.md CONTRIBUTING.md CONTRIBUTING-aws-lambda.md
%license LICENSE
%{python_sitelib}/sentry*/
%changelog