17
0

Compare commits

20 Commits

Author SHA256 Message Date
5d0e6b2aaf Accepting request 1240306 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1240306
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=41
2025-01-27 19:52:34 +00:00
c7223d7577 Accepting request 1240260 from home:ecsos:python
Update.

OBS-URL: https://build.opensuse.org/request/show/1240260
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=89
2025-01-25 21:11:10 +00:00
e28d0640c2 Accepting request 1225980 from devel:languages:python
- update to 2.19.0:
  * New: introduce `rust_tracing` integration. See https://docs.s
    entry.io/platforms/python/integrations/rust_tracing/ (#3717)
  * Auto enable Litestar integration
  * Deprecate `sentry_sdk.init` context manager
  * feat(spotlight): Send PII to Spotlight when no DSN is set
  * feat(spotlight): Add info logs when Sentry is enabled
  * feat(spotlight): Inject Spotlight button on Django
  * feat(spotlight): Auto enable cache_spans for Spotlight on
    DEBUG
  * fix(logging): Handle parameter `stack_info` for the
    `LoggingIntegration`
  * fix(pure-eval): Make sentry-sdk[pure-eval] installable with
    pip==24.0
  * fix(rust_tracing): include_tracing_fields arg to control
    unvetted data in rust_tracing integration
  * fix(aws) Fix aws lambda tests (by reducing event size)
  * fix(arq): fix integration with Worker settings as a dict
  * fix(httpx): Prevent Sentry baggage duplication
  * fix(falcon): Don't exhaust request body stream
  * fix(integrations): Check `retries_left` before capturing
    exception
  * fix(openai): Use name instead of description
  * test(gcp): Only run GCP tests when they should

- Remove ipdb from BuildRequires, it should have been removed with 2.8.
  * Additional integrations will now be activated automatically if

OBS-URL: https://build.opensuse.org/request/show/1225980
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=40
2024-11-24 10:04:39 +00:00
f003493f88 - update to 2.19.0:
* New: introduce `rust_tracing` integration. See https://docs.s
    entry.io/platforms/python/integrations/rust_tracing/ (#3717)
  * Auto enable Litestar integration
  * Deprecate `sentry_sdk.init` context manager
  * feat(spotlight): Send PII to Spotlight when no DSN is set
  * feat(spotlight): Add info logs when Sentry is enabled
  * feat(spotlight): Inject Spotlight button on Django
  * feat(spotlight): Auto enable cache_spans for Spotlight on
    DEBUG
  * fix(logging): Handle parameter `stack_info` for the
    `LoggingIntegration`
  * fix(pure-eval): Make sentry-sdk[pure-eval] installable with
    pip==24.0
  * fix(rust_tracing): include_tracing_fields arg to control
    unvetted data in rust_tracing integration
  * fix(aws) Fix aws lambda tests (by reducing event size)
  * fix(arq): fix integration with Worker settings as a dict
  * fix(httpx): Prevent Sentry baggage duplication
  * fix(falcon): Don't exhaust request body stream
  * fix(integrations): Check `retries_left` before capturing
    exception
  * fix(openai): Use name instead of description
  * test(gcp): Only run GCP tests when they should
- Remove ipdb from BuildRequires, it should have been removed with 2.8.
  * Additional integrations will now be activated automatically if

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=87
2024-11-23 16:35:38 +00:00
a0a28bc6b2 Accepting request 1224204 from devel:languages:python
- Update to 2.18.0:
  * Various fixes & improvements
    - Add LaunchDarkly and OpenFeature integration (#3648) by
      @cmanallen
    - Correct typo in a comment (#3726) by @szokeasaurusrex
    - End http.client span on timeout (#3723) by @Zylphrex
    - Check for h2 existence in HTTP/2 transport (#3690) by @BYK
    - Use type() instead when extracting frames (#3716) by @Zylphrex
    - Prefer python_multipart import over multipart (#3710) by
      @musicinmybrain
    - Update active thread for asgi (#3669) by @Zylphrex
    - Only enable HTTP2 when DSN is HTTPS (#3678) by @BYK
    - Prepare for upstream Strawberry extension removal (#3649) by
      @DoctorJohn
    - Enhance README with improved clarity and developer-friendly
      examples (#3667) by @UTSAVS26
    - Run license compliance action on all PRs (#3699) by
      @szokeasaurusrex
    - Run CodeQL action on all PRs (#3698) by @szokeasaurusrex
    - Fix UTC assuming test (#3722) by @BYK
    - Exclude fakeredis 2.26.0 on py3.6 and 3.7 (#3695) by
      @szokeasaurusrex
    - Unpin pytest for tornado-latest tests (#3714) by
      @szokeasaurusrex
    - Install pytest-asyncio for redis tests (Python 3.12-13) (#3706)
      by @szokeasaurusrex
    - Clarify that only pinned tests are required (#3713) by
      @szokeasaurusrex
    - Remove accidentally-committed print (#3712) by @szokeasaurusrex
    - Disable broken RQ test in newly-released RQ 2.0 (#3708) by

OBS-URL: https://build.opensuse.org/request/show/1224204
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=39
2024-11-14 15:10:29 +00:00
688e6211e9 - Update to 2.18.0:
* Various fixes & improvements
    - Add LaunchDarkly and OpenFeature integration (#3648) by
      @cmanallen
    - Correct typo in a comment (#3726) by @szokeasaurusrex
    - End http.client span on timeout (#3723) by @Zylphrex
    - Check for h2 existence in HTTP/2 transport (#3690) by @BYK
    - Use type() instead when extracting frames (#3716) by @Zylphrex
    - Prefer python_multipart import over multipart (#3710) by
      @musicinmybrain
    - Update active thread for asgi (#3669) by @Zylphrex
    - Only enable HTTP2 when DSN is HTTPS (#3678) by @BYK
    - Prepare for upstream Strawberry extension removal (#3649) by
      @DoctorJohn
    - Enhance README with improved clarity and developer-friendly
      examples (#3667) by @UTSAVS26
    - Run license compliance action on all PRs (#3699) by
      @szokeasaurusrex
    - Run CodeQL action on all PRs (#3698) by @szokeasaurusrex
    - Fix UTC assuming test (#3722) by @BYK
    - Exclude fakeredis 2.26.0 on py3.6 and 3.7 (#3695) by
      @szokeasaurusrex
    - Unpin pytest for tornado-latest tests (#3714) by
      @szokeasaurusrex
    - Install pytest-asyncio for redis tests (Python 3.12-13) (#3706)
      by @szokeasaurusrex
    - Clarify that only pinned tests are required (#3713) by
      @szokeasaurusrex
    - Remove accidentally-committed print (#3712) by @szokeasaurusrex
    - Disable broken RQ test in newly-released RQ 2.0 (#3708) by

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=85
2024-11-14 13:13:09 +00:00
4fc6a2c3a0 Accepting request 1223471 from devel:languages:python
- Remove ipdb from BuildRequires, it should have been removed with 2.8.

OBS-URL: https://build.opensuse.org/request/show/1223471
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=38
2024-11-12 18:22:02 +00:00
708ab3f407 - Remove ipdb from BuildRequires, it should have been removed with 2.8.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=83
2024-11-12 02:15:00 +00:00
a3901de2bd Accepting request 1220113 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1220113
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=37
2024-11-01 22:03:26 +00:00
efcf556acb Accepting request 1220089 from home:ecsos:python
- Update to 2.17.0
  * Various fixes & improvements
    - Add support for async calls in Anthropic and OpenAI
      integration (#3497) by @vetyy
    - Allow custom transaction names in ASGI (#3664)
      by @sl0thentr0py
    - Langchain: Handle case when parent span wasn't traced (#3656)
      by @rbasoalto
    - Fix Anthropic integration when using tool calls (#3615)
      by @kwnath
    - More defensive Django Spotlight middleware injection (#3665)
      by @BYK
    - Remove ensure_integration_enabled_async (#3632) by @sentrivana
    - Test with newer Falcon version (#3644, #3653, #3662)
      by @sentrivana
    - Fix mypy (#3657) by @sentrivana
    - Fix flaky transport test (#3666) by @sentrivana
    - Remove pin on sphinx (#3650) by @sentrivana
    - Bump actions/checkout from 4.2.0 to 4.2.1 (#3651) by @dependabot
- Changes from 2.16.0
  * Integrations
    - Bottle: Add failed_request_status_codes (#3618)
      by @szokeasaurusrex
    - Bottle: Delete never-reached code (#3605) by @szokeasaurusrex
    - Redis: Remove flaky test (#3626) by @sentrivana
    - Django: Improve getting psycopg3 connection info (#3580)
      by @nijel
    - Django: Add SpotlightMiddleware when Spotlight is enabled
      (#3600) by @BYK
    - Django: Open relevant error when SpotlightMiddleware is on
      (#3614) by @BYK
    - Django: Support http_methods_to_capture in ASGI Django
      (#3607) by @sentrivana
  * Miscellaneous
    - Add 3.13 to setup.py (#3574) by @sentrivana
    - Add 3.13 to basepython (#3589) by @sentrivana
    - Fix type of sample_rate in DSC (and add explanatory tests)
      (#3603) by @antonpirker
    - Add httpcore based HTTP2Transport (#3588) by @BYK
    - Add opportunistic Brotli compression (#3612) by @BYK
    - Add __notes__ support (#3620) by @szokeasaurusrex
    - Remove useless makefile targets (#3604) by @antonpirker
    - Simplify tox version spec (#3609) by @sentrivana
    - Consolidate contributing docs (#3606) by @antonpirker
    - Bump codecov/codecov-action from 4.5.0 to 4.6.0 (#3617)
      by @dependabot

OBS-URL: https://build.opensuse.org/request/show/1220089
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=81
2024-11-01 21:14:56 +00:00
d82821763e Accepting request 1206304 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1206304
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=36
2024-10-08 15:25:22 +00:00
3014c38b1e Accepting request 1206236 from home:ojkastl_buildservice:Branch_devel_languages_python
update to 2.15.0 (and ignore one failing check, see https://github.com/getsentry/sentry-python/issues/3624)

OBS-URL: https://build.opensuse.org/request/show/1206236
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=79
2024-10-08 11:19:39 +00:00
7d66d7bb95 Accepting request 1194964 from devel:languages:python
- Update to 2.13.0:
  * New integration: Ray
  * New integration: Litestar
  * Profiling: Add client SDK info to profile chunk (#3386)
  * Serialize vars early to avoid living references (#3409)
  * Deprecate hub-based `sessions.py` logic (#3419)
  * Deprecate `is_auto_session_tracking_enabled` (#3428)
  * API: `push_scope` deprecation warning (#3355) (#3355)
  * API: Replace `push_scope` (#3353, #3354)
  * OTel: Remove experimental autoinstrumentation (#3239)
  * Graphene: Add span for grapqhl operation (#2788)
  * AI: Add async support for `ai_track` decorator (#3376)
  * CI: Workaround bug preventing Django test runs (#3371)
  * CI: Remove Django setuptools pin (#3378)
  * Tests: Test with Django 5.1 RC (#3370)
  * Broaden `add_attachment` type (#3342)
  * Add span data to the transactions trace context (#3374)
  * Gracefully fail attachment path not found case (#3337)
  * Document attachment parameters (#3342)
  * Add `disabled_integrations` (#3328)
  * Use operation name as transaction name in Strawberry (#3294)
  * WSGI integrations respect `SCRIPT_NAME` env variable (#2622)
  * Make Django DB spans have origin `auto.db.django` (#3319)
  * Sort breadcrumbs by time before sending (#3307)
  * Fix `KeyError('sentry-monitor-start-timestamp-s')` (#3278)
  * Set MongoDB tags directly on span data (#3290)
  * Lower logger level for some messages (#3305)
  * Emit deprecation warnings from `Hub` API (#3280)
  * Clarify that `instrumenter` is internal-only (#3299)
  * Support Django 5.1 (#3207)

OBS-URL: https://build.opensuse.org/request/show/1194964
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=35
2024-08-21 21:25:56 +00:00
352527f729 - Update to 2.13.0:
* New integration: Ray
  * New integration: Litestar
  * Profiling: Add client SDK info to profile chunk (#3386)
  * Serialize vars early to avoid living references (#3409)
  * Deprecate hub-based `sessions.py` logic (#3419)
  * Deprecate `is_auto_session_tracking_enabled` (#3428)
  * API: `push_scope` deprecation warning (#3355) (#3355)
  * API: Replace `push_scope` (#3353, #3354)
  * OTel: Remove experimental autoinstrumentation (#3239)
  * Graphene: Add span for grapqhl operation (#2788)
  * AI: Add async support for `ai_track` decorator (#3376)
  * CI: Workaround bug preventing Django test runs (#3371)
  * CI: Remove Django setuptools pin (#3378)
  * Tests: Test with Django 5.1 RC (#3370)
  * Broaden `add_attachment` type (#3342)
  * Add span data to the transactions trace context (#3374)
  * Gracefully fail attachment path not found case (#3337)
  * Document attachment parameters (#3342)
  * Add `disabled_integrations` (#3328)
  * Use operation name as transaction name in Strawberry (#3294)
  * WSGI integrations respect `SCRIPT_NAME` env variable (#2622)
  * Make Django DB spans have origin `auto.db.django` (#3319)
  * Sort breadcrumbs by time before sending (#3307)
  * Fix `KeyError('sentry-monitor-start-timestamp-s')` (#3278)
  * Set MongoDB tags directly on span data (#3290)
  * Lower logger level for some messages (#3305)
  * Emit deprecation warnings from `Hub` API (#3280)
  * Clarify that `instrumenter` is internal-only (#3299)
  * Support Django 5.1 (#3207)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=77
2024-08-21 03:59:59 +00:00
0421c9b797 Accepting request 1188499 from devel:languages:python
- Update to 2.10.0
  * refactored a big part of the foundation of the SDK
  * Additional integrations will now be activated automatically if 
    the SDK detects the respective package is installed
  * Added new API for custom instrumentation: new_scope, isolation_scope
  * Many breaking changes, see CHANGELOG.md
  * Removed support for Python 2 and Python 3.5
  * Removed support for Celery 3.*
  * Removed support for Django 1.8, 1.9, 1.10
  * Removed support for Flask 0.*
  * Removed support for gRPC < 1.39
  * Removed support for Tornado < 6
  * few deprecations
  * fix(integrations): don't send full env to subprocess
    (bsc#1228128, CVE-2024-40647)
  * many more changes, see CHANGELOG.md
- Revised tests

- update to 1.45.0:
  * Allow to upsert monitors
  * It's now possible to provide `monitor_config` to the
    `monitor` decorator/context manager directly:
  * Add Django `signals_denylist` to filter signals that are
    attached to by `signals_spans`
  * `increment` for metrics
  * Add `value`, `unit` to `before_emit_metric`
  * New normalization rules for metric keys, names, units, tags
  * Change `data_category` from `statsd` to `metric_bucket`
  * Accessing `__mro__` might throw a `ValueError`
  * Suppress prompt spawned by subprocess when using `pythonw`

OBS-URL: https://build.opensuse.org/request/show/1188499
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=34
2024-07-19 13:27:06 +00:00
28c8dfd7e4 Note CVE fix and bug reference in changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=75
2024-07-19 00:38:50 +00:00
d47e88990b Accepting request 1188207 from home:mcalabkova:branches:devel:languages:python
- Update to 2.10.0
  * refactored a big part of the foundation of the SDK
  * Additional integrations will now be activated automatically if 
    the SDK detects the respective package is installed
  * Added new API for custom instrumentation: new_scope, isolation_scope
  * Many breaking changes, see CHANGELOG.md
  * Removed support for Python 2 and Python 3.5
  * Removed support for Celery 3.*
  * Removed support for Django 1.8, 1.9, 1.10
  * Removed support for Flask 0.*
  * Removed support for gRPC < 1.39
  * Removed support for Tornado < 6
  * few deprecations
  * many more changes, see CHANGELOG.md
- Revised tests

OBS-URL: https://build.opensuse.org/request/show/1188207
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=74
2024-07-18 06:45:21 +00:00
d2179131d9 - update to 1.45.0:
* Allow to upsert monitors
  * It's now possible to provide `monitor_config` to the
    `monitor` decorator/context manager directly:
  * Add Django `signals_denylist` to filter signals that are
    attached to by `signals_spans`
  * `increment` for metrics
  * Add `value`, `unit` to `before_emit_metric`
  * New normalization rules for metric keys, names, units, tags
  * Change `data_category` from `statsd` to `metric_bucket`
  * Accessing `__mro__` might throw a `ValueError`
  * Suppress prompt spawned by subprocess when using `pythonw`
  * Handle `None` in GraphQL query
  * Do not send "quiet" Sanic exceptions to Sentry
  * Implement `metric_bucket` rate limits
  * Fix type hints for `monitor` decorator
  * Remove deprecated `typing` imports in crons
  * Make `monitor_config` a `TypedDict`
  * Make `monitor` async friendly
  * Fixed `Event | None` runtime `TypeError`
  * ref: Define types at runtime
  * Explicit reexport of types
  * Add optional `keep_alive`
  * Add support for Celery Redbeat cron tasks
  * `aws_event` can be an empty list
  * Re-export `Event` in `types.py`
  * We added an integration for OpenAI to capture errors and also
    performance data when using the OpenAI Python SDK.
  * Discard open OpenTelemetry spans after 10 minutes
  * Propagate sentry-trace and baggage headers to Huey tasks

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=73
2024-06-29 19:27:25 +00:00
3d00852368 Accepting request 1183486 from devel:languages:python
Forwarded request #1181071 from Vogtinator

Reduce dependencies from 260MiB to 14MiB.

  - Only require install requirements. The extra requirements are
    mostly for integrations and not meant to be dependencies.

OBS-URL: https://build.opensuse.org/request/show/1183486
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=33
2024-06-27 14:03:44 +00:00
f0a41c5f31 Accepting request 1181071 from home:Vogtinator:branches:devel:languages:python
Reduce dependencies from 260MiB to 14MiB.

- Only require install requirements. The extra requirements are
  mostly for integrations and not meant to be dependencies.

OBS-URL: https://build.opensuse.org/request/show/1181071
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=71
2024-06-26 20:19:43 +00:00
4 changed files with 408 additions and 45 deletions

View File

@@ -1,3 +1,346 @@
-------------------------------------------------------------------
Fri Jan 24 18:35:13 UTC 2025 - ecsos <ecsos@opensuse.org>
- Update to 2.20.0
- New integration: Add Typer integration (#3869) by @patrick91
- For more information, see the documentation for the TyperIntegration.
- New integration: Add Unleash feature flagging integration (#3888) by @aliu39
- For more information, see the documentation for the UnleashIntegration.
- Add custom tracking of feature flag evaluations (#3860) by @aliu39
- Feature Flags: Register LD hook in setup instead of init, and don't check for initialization (#3890) by @aliu39
- Feature Flags: Moved adding of flags context into Scope (#3917) by @antonpirker
- Create a separate group for feature flag test suites (#3911) by @sentrivana
- Fix flaky LaunchDarkly tests (#3896) by @aliu39
- Fix LRU cache copying (#3883) by @ffelixg
- Fix cache pollution from mutable reference (#3887) by @cmanallen
- Centralize minimum version checking (#3910) by @sentrivana
- Support SparkIntegration activation after SparkContext created (#3411) by @seyoon-lim
- Preserve ARQ enqueue_job kwdefaults after patching (#3903) by @danmr
- Add Github workflow to comment on issues when a fix was released (#3866) by @antonpirker
- Update test matrix for Sanic (#3904) by @antonpirker
- Rename scripts (#3885) by @sentrivana
- Fix CI (#3878) by @sentrivana
- Treat potel-base as release branch in CI (#3912) by @sentrivana
- build(deps): bump actions/create-github-app-token from 1.11.0 to 1.11.1 (#3893) by @dependabot
- build(deps): bump codecov/codecov-action from 5.0.7 to 5.1.1 (#3867) by @dependabot
- build(deps): bump codecov/codecov-action from 5.1.1 to 5.1.2 (#3892) by @dependabot
- Changes from 2.19.2
* Various fixes & improvements
- Deepcopy and ensure get_all function always terminates (#3861) by @cmanallen
- Cleanup chalice test environment (#3858) by @antonpirker
- Changes from 2.19.1
* Various fixes & improvements
- Fix errors when instrumenting Django cache (#3855) by @BYK
- Copy scope.client reference as well (#3857) by @sl0thentr0py
- Don't give up on Spotlight on 3 errors (#3856) by @BYK
- Add missing stack frames (#3673) by @antonpirker
- Fix wrong metadata type in async gRPC interceptor (#3205) by @fdellekart
- Rename launch darkly hook to match JS SDK (#3743) by @aliu39
- Script for checking if our instrumented libs are Python 3.13 compatible (#3425) by @antonpirker
- Improve Ray tests (#3846) by @antonpirker
- Test with Celery 5.5.0rc3 (#3842) by @sentrivana
- Fix asyncio testing setup (#3832) by @sl0thentr0py
- Bump codecov/codecov-action from 5.0.2 to 5.0.7 (#3821) by @dependabot
- Fix CI (#3834) by @sentrivana
- Use new ClickHouse GH action (#3826) by @antonpirker
-------------------------------------------------------------------
Sat Nov 23 16:34:15 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.19.0:
* New: introduce `rust_tracing` integration. See https://docs.s
entry.io/platforms/python/integrations/rust_tracing/ (#3717)
* Auto enable Litestar integration
* Deprecate `sentry_sdk.init` context manager
* feat(spotlight): Send PII to Spotlight when no DSN is set
* feat(spotlight): Add info logs when Sentry is enabled
* feat(spotlight): Inject Spotlight button on Django
* feat(spotlight): Auto enable cache_spans for Spotlight on
DEBUG
* fix(logging): Handle parameter `stack_info` for the
`LoggingIntegration`
* fix(pure-eval): Make sentry-sdk[pure-eval] installable with
pip==24.0
* fix(rust_tracing): include_tracing_fields arg to control
unvetted data in rust_tracing integration
* fix(aws) Fix aws lambda tests (by reducing event size)
* fix(arq): fix integration with Worker settings as a dict
* fix(httpx): Prevent Sentry baggage duplication
* fix(falcon): Don't exhaust request body stream
* fix(integrations): Check `retries_left` before capturing
exception
* fix(openai): Use name instead of description
* test(gcp): Only run GCP tests when they should
-------------------------------------------------------------------
Thu Nov 14 11:54:57 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Update to 2.18.0:
* Various fixes & improvements
- Add LaunchDarkly and OpenFeature integration (#3648) by
@cmanallen
- Correct typo in a comment (#3726) by @szokeasaurusrex
- End http.client span on timeout (#3723) by @Zylphrex
- Check for h2 existence in HTTP/2 transport (#3690) by @BYK
- Use type() instead when extracting frames (#3716) by @Zylphrex
- Prefer python_multipart import over multipart (#3710) by
@musicinmybrain
- Update active thread for asgi (#3669) by @Zylphrex
- Only enable HTTP2 when DSN is HTTPS (#3678) by @BYK
- Prepare for upstream Strawberry extension removal (#3649) by
@DoctorJohn
- Enhance README with improved clarity and developer-friendly
examples (#3667) by @UTSAVS26
- Run license compliance action on all PRs (#3699) by
@szokeasaurusrex
- Run CodeQL action on all PRs (#3698) by @szokeasaurusrex
- Fix UTC assuming test (#3722) by @BYK
- Exclude fakeredis 2.26.0 on py3.6 and 3.7 (#3695) by
@szokeasaurusrex
- Unpin pytest for tornado-latest tests (#3714) by
@szokeasaurusrex
- Install pytest-asyncio for redis tests (Python 3.12-13) (#3706)
by @szokeasaurusrex
- Clarify that only pinned tests are required (#3713) by
@szokeasaurusrex
- Remove accidentally-committed print (#3712) by @szokeasaurusrex
- Disable broken RQ test in newly-released RQ 2.0 (#3708) by
@szokeasaurusrex
- Unpin pytest for celery tests (#3701) by @szokeasaurusrex
- Unpin pytest on Python 3.8+ gevent tests (#3700) by
@szokeasaurusrex
- Unpin pytest for Python 3.8+ common tests (#3697) by
@szokeasaurusrex
- Remove pytest pin in requirements-devenv.txt (#3696) by
@szokeasaurusrex
- Test with Falcon 4.0 (#3684) by @sentrivana
-------------------------------------------------------------------
Tue Nov 12 02:14:34 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Remove ipdb from BuildRequires, it should have been removed with 2.8.
-------------------------------------------------------------------
Fri Nov 1 15:10:38 UTC 2024 - ecsos <ecsos@opensuse.org>
- Update to 2.17.0
* Various fixes & improvements
- Add support for async calls in Anthropic and OpenAI
integration (#3497) by @vetyy
- Allow custom transaction names in ASGI (#3664)
by @sl0thentr0py
- Langchain: Handle case when parent span wasn't traced (#3656)
by @rbasoalto
- Fix Anthropic integration when using tool calls (#3615)
by @kwnath
- More defensive Django Spotlight middleware injection (#3665)
by @BYK
- Remove ensure_integration_enabled_async (#3632) by @sentrivana
- Test with newer Falcon version (#3644, #3653, #3662)
by @sentrivana
- Fix mypy (#3657) by @sentrivana
- Fix flaky transport test (#3666) by @sentrivana
- Remove pin on sphinx (#3650) by @sentrivana
- Bump actions/checkout from 4.2.0 to 4.2.1 (#3651) by @dependabot
- Changes from 2.16.0
* Integrations
- Bottle: Add failed_request_status_codes (#3618)
by @szokeasaurusrex
- Bottle: Delete never-reached code (#3605) by @szokeasaurusrex
- Redis: Remove flaky test (#3626) by @sentrivana
- Django: Improve getting psycopg3 connection info (#3580)
by @nijel
- Django: Add SpotlightMiddleware when Spotlight is enabled
(#3600) by @BYK
- Django: Open relevant error when SpotlightMiddleware is on
(#3614) by @BYK
- Django: Support http_methods_to_capture in ASGI Django
(#3607) by @sentrivana
* Miscellaneous
- Add 3.13 to setup.py (#3574) by @sentrivana
- Add 3.13 to basepython (#3589) by @sentrivana
- Fix type of sample_rate in DSC (and add explanatory tests)
(#3603) by @antonpirker
- Add httpcore based HTTP2Transport (#3588) by @BYK
- Add opportunistic Brotli compression (#3612) by @BYK
- Add __notes__ support (#3620) by @szokeasaurusrex
- Remove useless makefile targets (#3604) by @antonpirker
- Simplify tox version spec (#3609) by @sentrivana
- Consolidate contributing docs (#3606) by @antonpirker
- Bump codecov/codecov-action from 4.5.0 to 4.6.0 (#3617)
by @dependabot
-------------------------------------------------------------------
Tue Oct 8 06:08:53 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- Update to 2.15.0:
* Integrations
Please see release notes for details
https://github.com/getsentry/sentry-python/releases/tag/2.15.0
* Miscellaneous
- Deprecate sentry_sdk.metrics (#3512) by @szokeasaurusrex
- Add name parameter to start_span() and deprecate description
parameter (#3524 & #3525) by @antonpirker
- Fix add_query_source with modules outside of project root
(#3313) by @rominf
- Test more integrations on 3.13 (#3578) by @sentrivana
- Fix trailing whitespace (#3579) by @sentrivana
- Improve get_integration typing (#3550) by @szokeasaurusrex
- Make import-related tests stable (#3548) by @BYK
- Fix breadcrumb sorting (#3511) by @sentrivana
- Fix breadcrumb timestamp casting and its tests (#3546) by
@BYK
- Don't use deprecated logger.warn (#3552) by @sentrivana
- Fix Cohere API change (#3549) by @BYK
- Fix deprecation message (#3536) by @antonpirker
- Remove experimental explain_plan feature. (#3534) by
@antonpirker
- X-fail one of the Lambda tests (#3592) by @antonpirker
- Update Codecov config (#3507) by @antonpirker
- Update actions/upload-artifact to v4 with merge (#3545) by
@joshuarli
- Bump actions/checkout from 4.1.7 to 4.2.0 (#3585) by
@dependabot
- Update to 2.14.0:
* New SysExitIntegration (#3401) by @szokeasaurusrex
* For more information, see the documentation for the
SysExitIntegration.
* Add SENTRY_SPOTLIGHT env variable support (#3443) by @BYK
* Support Strawberry 0.239.2 (#3491) by @szokeasaurusrex
* Add separate pii_denylist to EventScrubber and run it always
(#3463) by @sl0thentr0py
* Celery: Add wrapper for Celery().send_task to support behavior
as Task.apply_async (#2377) by @divaltor
* Django: SentryWrappingMiddleware.init fails if super() is
object (#2466) by @cameron-simpson
* Fix data_category for sessions envelope items (#3473) by
@sl0thentr0py
* Fix non-UTC timestamps (#3461) by @szokeasaurusrex
* Remove obsolete object as superclass (#3480) by @sentrivana
* Replace custom TYPE_CHECKING with stdlib typing.TYPE_CHECKING
(#3447) by @dev-satoshi
* Refactor tracing_utils.py (#3452) by @rominf
* Explicitly export symbol in subpackages instead of ignoring
(#3400) by @hartungstenio
* Better test coverage reports (#3498) by @antonpirker
* Fixed config for old coverage versions (#3504) by @antonpirker
* Fix AWS Lambda tests (#3495) by @antonpirker
* Remove broken Bottle tests (#3505) by @sentrivana
-------------------------------------------------------------------
Wed Aug 21 03:59:32 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 2.13.0:
* New integration: Ray
* New integration: Litestar
* Profiling: Add client SDK info to profile chunk (#3386)
* Serialize vars early to avoid living references (#3409)
* Deprecate hub-based `sessions.py` logic (#3419)
* Deprecate `is_auto_session_tracking_enabled` (#3428)
* API: `push_scope` deprecation warning (#3355) (#3355)
* API: Replace `push_scope` (#3353, #3354)
* OTel: Remove experimental autoinstrumentation (#3239)
* Graphene: Add span for grapqhl operation (#2788)
* AI: Add async support for `ai_track` decorator (#3376)
* CI: Workaround bug preventing Django test runs (#3371)
* CI: Remove Django setuptools pin (#3378)
* Tests: Test with Django 5.1 RC (#3370)
* Broaden `add_attachment` type (#3342)
* Add span data to the transactions trace context (#3374)
* Gracefully fail attachment path not found case (#3337)
* Document attachment parameters (#3342)
* Add `disabled_integrations` (#3328)
* Use operation name as transaction name in Strawberry (#3294)
* WSGI integrations respect `SCRIPT_NAME` env variable (#2622)
* Make Django DB spans have origin `auto.db.django` (#3319)
* Sort breadcrumbs by time before sending (#3307)
* Fix `KeyError('sentry-monitor-start-timestamp-s')` (#3278)
* Set MongoDB tags directly on span data (#3290)
* Lower logger level for some messages (#3305)
* Emit deprecation warnings from `Hub` API (#3280)
* Clarify that `instrumenter` is internal-only (#3299)
* Support Django 5.1 (#3207)
* Remove apparently unnecessary `if` (#3298)
* Preliminary support for Python 3.13 (#3200)
* Move `sentry_sdk.init` out of `hub.py` (#3276)
* Unhardcode integration list (#3240)
* Allow passing of PostgreSQL port in tests (#3281)
* Add tests for `@ai_track` decorator (#3325)
* Do not include type checking code in coverage report (#3327)
* Fix test_installed_modules (#3309)
* Fix typos and grammar in a comment (#3293)
* Fixed failed tests setup (#3303)
* Only assert warnings we are interested in (#3314)
- Switch to pyproject macros.
-------------------------------------------------------------------
Wed Jul 17 13:51:46 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Update to 2.10.0
* refactored a big part of the foundation of the SDK
* Additional integrations will now be activated automatically if
the SDK detects the respective package is installed
* Added new API for custom instrumentation: new_scope, isolation_scope
* Many breaking changes, see CHANGELOG.md
* Removed support for Python 2 and Python 3.5
* Removed support for Celery 3.*
* Removed support for Django 1.8, 1.9, 1.10
* Removed support for Flask 0.*
* Removed support for gRPC < 1.39
* Removed support for Tornado < 6
* few deprecations
* fix(integrations): don't send full env to subprocess
(bsc#1228128, CVE-2024-40647)
* many more changes, see CHANGELOG.md
- Revised tests
-------------------------------------------------------------------
Sat Jun 29 19:24:30 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.45.0:
* Allow to upsert monitors
* It's now possible to provide `monitor_config` to the
`monitor` decorator/context manager directly:
* Add Django `signals_denylist` to filter signals that are
attached to by `signals_spans`
* `increment` for metrics
* Add `value`, `unit` to `before_emit_metric`
* New normalization rules for metric keys, names, units, tags
* Change `data_category` from `statsd` to `metric_bucket`
* Accessing `__mro__` might throw a `ValueError`
* Suppress prompt spawned by subprocess when using `pythonw`
* Handle `None` in GraphQL query
* Do not send "quiet" Sanic exceptions to Sentry
* Implement `metric_bucket` rate limits
* Fix type hints for `monitor` decorator
* Remove deprecated `typing` imports in crons
* Make `monitor_config` a `TypedDict`
* Make `monitor` async friendly
* Fixed `Event | None` runtime `TypeError`
* ref: Define types at runtime
* Explicit reexport of types
* Add optional `keep_alive`
* Add support for Celery Redbeat cron tasks
* `aws_event` can be an empty list
* Re-export `Event` in `types.py`
* We added an integration for OpenAI to capture errors and also
performance data when using the OpenAI Python SDK.
* Discard open OpenTelemetry spans after 10 minutes
* Propagate sentry-trace and baggage headers to Huey tasks
* Added Event type
* Improve scrub_dict typing
* Fix compatibility with `greenlet`/`gevent`
* Fix query source relative filepath
* Support `clickhouse-driver==0.2.7`
* Deprecate `last_event_id()`.
* `parsed_url` can be `None`
-------------------------------------------------------------------
Sat Jun 15 19:22:19 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
- Only require install requirements. The extra requirements are
mostly for integrations and not meant to be dependencies.
-------------------------------------------------------------------
Wed Mar 13 18:57:20 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-sentry-sdk
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,56 +18,59 @@
# nothing provides python2-venusian >= 1.0 needed by python2-pyramid
%{?sle15_python_module_pythons}
# ipdb no longer available for python 3.9
%global skip_python39 1
Name: python-sentry-sdk
Version: 1.40.4
Version: 2.20.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 Django >= 2.0}
BuildRequires: %{python_module Flask >= 1.0}
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 base >= 3.6}
BuildRequires: %{python_module blinker >= 1.1}
BuildRequires: %{python_module bottle >= 0.12.13}
BuildRequires: %{python_module celery >= 3}
BuildRequires: %{python_module celery >= 4}
BuildRequires: %{python_module certifi}
BuildRequires: %{python_module executing}
BuildRequires: %{python_module falcon >= 1.4}
BuildRequires: %{python_module grpcio >= 1.21.1}
BuildRequires: %{python_module grpcio >= 1.39}
BuildRequires: %{python_module httpx >= 0.16.0}
BuildRequires: %{python_module loguru >= 0.5}
BuildRequires: %{python_module pip}
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}
BuildRequires: %{python_module tornado >= 6}
BuildRequires: %{python_module urllib3 >= 1.26.11}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module Werkzeug}
BuildRequires: %{python_module Brotli}
BuildRequires: %{python_module PySocks}
BuildRequires: %{python_module Werkzeug}
BuildRequires: %{python_module eventlet}
BuildRequires: %{python_module fastapi >= 0.79.0}
BuildRequires: %{python_module gevent}
BuildRequires: %{python_module greenlet}
BuildRequires: %{python_module h2}
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-asyncio}
BuildRequires: %{python_module pytest-cov >= 2.8.1}
BuildRequires: %{python_module pytest-forked >= 1.4.0}
BuildRequires: %{python_module pytest-localserver >= 0.5.1}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module responses}
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}
@@ -80,37 +83,39 @@ BuildRequires: %{python_module tox >= 3.7.0}
#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.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
# Install requirements
Requires: python-certifi
Requires: python-executing
Requires: python-falcon >= 1.4
Requires: python-grpcio >= 1.21.1
Requires: python-httpx >= 0.16.0
Requires: python-jsonschema
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
Requires: python-urllib3 >= 1.26.11
# Extra requirements
Suggests: python-Django >= 2.0
Suggests: python-Flask >= 1.0
Suggests: python-MarkupSafe
Suggests: python-SQLAlchemy >= 1.2
Suggests: python-aiohttp >= 3.5
Suggests: python-asttokens
Suggests: python-asyncpg >= 0.23
Suggests: python-blinker >= 1.1
Suggests: python-bottle >= 0.12.13
Suggests: python-celery >= 4
Suggests: python-executing
Suggests: python-falcon >= 1.4
Suggests: python-fastapi >= 0.79.0
Suggests: python-grpcio >= 1.39
Suggests: python-httpx >= 0.16.0
Suggests: python-jsonschema
Suggests: python-loguru >= 0.5
Suggests: python-pymongo >= 3.1
Suggests: python-rq >= 0.6
Suggests: python-starlette >= 0.19.1
Suggests: python-tornado >= 6
Suggests: python-h2
# SECTION extra requirements - which rise up buildtime error or missing in openSUSE
#Requires: python-sanic >= 0.8
#Requires: python-apache-beam >= 2.12
@@ -120,7 +125,6 @@ Requires: python-urllib3 >= 1.26.11
#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.40b0
@@ -140,23 +144,39 @@ https://sentry.io/for/python/
%autosetup -p1 -n sentry-python-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
# Fix python-bytecode-inconsistent-mtime
pushd %{buildroot}%{python_sitelib}
find . -name '*.pyc' -exec rm -f '{}' ';'
python%python_bin_suffix -m compileall *.py ';'
popd
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
export PYTHONDONTWRITEBYTECODE=1
export PYTEST_ADDOPTS="-W ignore::DeprecationWarning"
export DJANGO_SETTINGS_MODULE=tests.conftest
# 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
%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)'
IGNORED_CHECKS="(test_default_release and test_utils)"
IGNORED_CHECKS="${IGNORED_CHECKS} or test_new_scopes_compat_event"
IGNORED_CHECKS="${IGNORED_CHECKS} or test_transport_works"
IGNORED_CHECKS="${IGNORED_CHECKS} or test_auto_enabling_integrations_catches_import_error"
IGNORED_CHECKS="${IGNORED_CHECKS} or test_socks_proxy or test_utils"
# https://github.com/getsentry/sentry-python/issues/3624
IGNORED_CHECKS="${IGNORED_CHECKS} or test_redis_disabled_when_not_installed"
# Related to this report gh#getsentry/sentry-python#576, looks like it
# freeze also with python 3.13
IGNORED_CHECKS="${IGNORED_CHECKS} or eventlet or greenlet"
%pytest -rs -k "not (${IGNORED_CHECKS})"
%files %{python_files}
%doc README.md CHANGELOG.md CONTRIBUTING.md CONTRIBUTING-aws-lambda.md
%doc README.md CHANGELOG.md CONTRIBUTING.md
%license LICENSE
%{python_sitelib}/sentry*/
%{python_sitelib}/sentry_sdk
%{python_sitelib}/sentry_sdk-%{version}.dist-info
%changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6bf702dcee87ee2c276eeb257e5550a502e7342600e3d4be7e09d6f440a28d13
size 458601

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fdd3ca2d0db684d315ad07e5e5f023fb9565df0407ab6770a2ee05ceb2e840fb
size 597011