Title: Deprecation warning causing test failures in Sentry · Issue #4054 · getsentry/sentry-python · GitHub
Open Graph Title: Deprecation warning causing test failures in Sentry · Issue #4054 · getsentry/sentry-python
X Title: Deprecation warning causing test failures in Sentry · Issue #4054 · getsentry/sentry-python
Description: How do you use Sentry? Sentry Saas (sentry.io) Version 2.21.0 Steps to Reproduce Failing tests: https://github.com/getsentry/sentry/actions/runs/13311941884/job/37176515275?pr=85146 ____________________________________________ ERROR at s...
Open Graph Description: How do you use Sentry? Sentry Saas (sentry.io) Version 2.21.0 Steps to Reproduce Failing tests: https://github.com/getsentry/sentry/actions/runs/13311941884/job/37176515275?pr=85146 _______________...
X Description: How do you use Sentry? Sentry Saas (sentry.io) Version 2.21.0 Steps to Reproduce Failing tests: https://github.com/getsentry/sentry/actions/runs/13311941884/job/37176515275?pr=85146 _______________...
Opengraph URL: https://github.com/getsentry/sentry-python/issues/4054
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Deprecation warning causing test failures in Sentry","articleBody":"### How do you use Sentry?\n\nSentry Saas (sentry.io)\n\n### Version\n\n2.21.0\n\n### Steps to Reproduce\n\nFailing tests: https://github.com/getsentry/sentry/actions/runs/13311941884/job/37176515275?pr=85146\n\n```\n____________________________________________ ERROR at setup of test_composite_backend_does_not_recurse ____________________________________________\ntests/sentry/metrics/test_minimetrics.py:48: in scope\n client=Client(\n.venv/lib/python3.13/site-packages/sentry_sdk/client.py:269: in __init__\n self._init_impl()\n.venv/lib/python3.13/site-packages/sentry_sdk/client.py:392: in _init_impl\n self.integrations = setup_integrations(\n.venv/lib/python3.13/site-packages/sentry_sdk/integrations/__init__.py:197: in setup_integrations\n instance = integration_cls()\n.venv/lib/python3.13/site-packages/sentry_sdk/integrations/celery/__init__.py:73: in __init__\n warnings.warn(\nE DeprecationWarning: The `propagate_traces` parameter is deprecated. Please use `trace_propagation_targets` instead.\n```\n\nThere doesn't seem to be a way to avoid it:\n\nhttps://github.com/getsentry/sentry-python/blob/dfd6ceffc0e2a9b02e95258b90e5428ab78adad0/sentry_sdk/integrations/celery/__init__.py#L66-L77\n\nPrevious release looked like this:\n\nhttps://github.com/getsentry/sentry-python/blob/4e0505ea5c58943f31de35f03d834daa18e7f7ed/sentry_sdk/integrations/celery/__init__.py#L64-L73\n\n### Expected Result\n\nTests do not fail due to a warning message or we can prevent the warning in some way through configuration.\n\n### Actual Result\n\nTests fail.","author":{"url":"https://github.com/cmanallen","@type":"Person","name":"cmanallen"},"datePublished":"2025-02-13T17:27:16Z","url":"https://github.com/getsentry/sentry-python/issues/4054"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:396aa501-33b0-d67a-7fe3-4d56338777ff |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A5DE:22DB35:FE325E:146F5D3:6B010188 |
| html-safe-nonce | 8b286eba3dcd4656844bdcb6a3a7ef43f6b3a759876dc47d9e808416629989ed |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNURFOjIyREIzNTpGRTMyNUU6MTQ2RjVEMzo2QjAxMDE4OCIsInZpc2l0b3JfaWQiOiI3NTc0NTczMDg3NzIzNjg0MjMyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 26b3f66c0b4e716bec02c75faf930d182c71a0037ec801822ecd3e6fa8616d80 |
| hovercard-subject-tag | issue:2851675100 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-python/4054/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5a116844030c99ce860479f22e61254223dc6eb2f6bf8abc420dc31b502989a6/getsentry/sentry-python/issues/4054 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5a116844030c99ce860479f22e61254223dc6eb2f6bf8abc420dc31b502989a6/getsentry/sentry-python/issues/4054 |
| og:image:alt | How do you use Sentry? Sentry Saas (sentry.io) Version 2.21.0 Steps to Reproduce Failing tests: https://github.com/getsentry/sentry/actions/runs/13311941884/job/37176515275?pr=85146 _______________... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cmanallen |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 137814779 |
| octolytics-dimension-repository_nwo | getsentry/sentry-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 137814779 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width