sentry-python icon indicating copy to clipboard operation
sentry-python copied to clipboard

The official Python SDK for Sentry.io

Results 566 sentry-python issues
Sort by recently updated
recently updated
newest added

Some of our integration test suites have variants in tox that differ in what dependencies they install.Find a way to implement this in toxgen. It still needs to work correctly...

Component: Tests
Component: CI
Python
Quality Improvement

Component: Tests
Component: CI
Quality Improvement

### How do you use Sentry? Sentry Saas (sentry.io) ### Version 2.29.1 ### Steps to Reproduce Hi, I'm running a Celery worker with 16 concurrent workers and recently enabled the...

Python
Bug
Logs

We should make the `AnnotatedValue` class generic over the value that is being annotated. Doing so would improve type safety in cases [like this](https://github.com/getsentry/sentry/pull/85146#discussion_r1962226884). Also, we should consider exposing `AnnotatedValue`...

Component: Typing
Python
Improvement
Quality Improvement

If you run `tox -e py3.12-redis-latest` locally, this gets logged as a warning: ``` /Users/ivana/dev/sentry-python/.tox/py3.13-redis-latest/lib/python3.13/site-packages/_pytest/threadexception.py:73: PytestUnhandledThreadExceptionWarning: Exception in thread sentry.monitor Traceback (most recent call last): File "/Users/ivana/.pyenv/versions/3.13.1/lib/python3.13/threading.py", line 1041, in...

Component: Tests
Bug
Quality Improvement

The codebase was migrated from comment-based to inline type annotations following PEP 484. This involved: * **Core SDK files:** `sentry_sdk/session.py`, `sentry_sdk/feature_flags.py`, `sentry_sdk/_lru_cache.py`, `sentry_sdk/_werkzeug.py`, `sentry_sdk/logger.py`, `sentry_sdk/worker.py`, `sentry_sdk/scrubber.py`, `sentry_sdk/monitor.py`, `sentry_sdk/_log_batcher.py`, `sentry_sdk/client.py`, and...

Making the HTTP2 transport the default when `h2` and `httpcore` packages are installed. We've been testing this on Sentry SaaS for a while without any issues. We should promote installing...

### How do you use Sentry? Self-hosted/on-premise ### Version 2.29.1 ### Steps to Reproduce Installed versions - this should be the relevant bits, we've got hundreds of packages ``` Django==5.2.3...

Integration: Django
Waiting for: Community
Bug

Right now it is hard to get tests right and there is a lot of magic in `conftest.py` (and probably other places) and the isolation of tests is alo lacking...

Improvement
Quality Improvement

Allow to turn off span creation based on span origin. Useful when you're double instrumenting a library with e.g. Sentry and OpenTelemetry and you want to turn off Sentry spans.