Title: DeprecationWarning raised when using sentry_sdk.trace · Issue #4289 · getsentry/sentry-python · GitHub
Open Graph Title: DeprecationWarning raised when using sentry_sdk.trace · Issue #4289 · getsentry/sentry-python
X Title: DeprecationWarning raised when using sentry_sdk.trace · Issue #4289 · getsentry/sentry-python
Description: How do you use Sentry? Sentry Saas (sentry.io) Version 2.26.0 Steps to Reproduce Since upgrading sentry-sdk[fastapi] to 2.26.0 I am seeing deprecation warnings for code that uses the sentry_sdk.trace decorator. DeprecationWarning: The `s...
Open Graph Description: How do you use Sentry? Sentry Saas (sentry.io) Version 2.26.0 Steps to Reproduce Since upgrading sentry-sdk[fastapi] to 2.26.0 I am seeing deprecation warnings for code that uses the sentry_sdk.tra...
X Description: How do you use Sentry? Sentry Saas (sentry.io) Version 2.26.0 Steps to Reproduce Since upgrading sentry-sdk[fastapi] to 2.26.0 I am seeing deprecation warnings for code that uses the sentry_sdk.tra...
Opengraph URL: https://github.com/getsentry/sentry-python/issues/4289
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"DeprecationWarning raised when using sentry_sdk.trace","articleBody":"### How do you use Sentry?\n\nSentry Saas (sentry.io)\n\n### Version\n\n2.26.0\n\n### Steps to Reproduce\n\nSince upgrading sentry-sdk[fastapi] to 2.26.0 I am seeing deprecation warnings for code that uses the sentry_sdk.trace decorator. \n\n```\nDeprecationWarning: The `same_process_as_parent` parameter is deprecated.\n```\n\nThis warning appears to be related to configuring spans with the same_process_as_parent argument, but I am not using that function directly. \n\nThe previous version, 2.25.0 does not emit this warning.\n\n### Expected Result\n\nNo deprecation warning should be emitted, since as far as I can tell, sentry_sdk.trace is not marked deprecated.\n\n### Actual Result\n\n```\nDeprecationWarning: The `same_process_as_parent` parameter is deprecated.\n```","author":{"url":"https://github.com/bruceduhamel","@type":"Person","name":"bruceduhamel"},"datePublished":"2025-04-14T14:20:28Z","url":"https://github.com/getsentry/sentry-python/issues/4289"}
| 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:50768173-701f-8c0b-2488-c4f941a734c6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 94B8:358871:4AF69:65D35:6B00B7FF |
| html-safe-nonce | 69032ef915b9d8cc2b1ea40111295592b8bf344c953e3faccc01e6b22d6cf118 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEI4OjM1ODg3MTo0QUY2OTo2NUQzNTo2QjAwQjdGRiIsInZpc2l0b3JfaWQiOiI0NDc2NTQwNTc5Mjg2NjYxMTE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c2dee937ffe4eaa19049fc738fe2b18e5d2f3a946864162f6337b0b8808a1124 |
| hovercard-subject-tag | issue:2993230443 |
| 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/4289/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d4503e6edd8a88600ba0217ea3d4a0d1bbe27f9d73add2c15c75a1f19c164578/getsentry/sentry-python/issues/4289 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d4503e6edd8a88600ba0217ea3d4a0d1bbe27f9d73add2c15c75a1f19c164578/getsentry/sentry-python/issues/4289 |
| og:image:alt | How do you use Sentry? Sentry Saas (sentry.io) Version 2.26.0 Steps to Reproduce Since upgrading sentry-sdk[fastapi] to 2.26.0 I am seeing deprecation warnings for code that uses the sentry_sdk.tra... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bruceduhamel |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1d07c25977adfc5ff6acb0a962a9bc168c07afbda6fef765f9761c350c2ae4a2 |
| 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 | 5429cbfc6aca8c7b9a086a3c8f47400346f38cc9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width