Skip to content

fix(deps): update dependency sentry-sdk to v3 - #166

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/sentry-sdk-3.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/sentry-sdk-3.x

Conversation

@renovate

@renovate renovate Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
sentry-sdk (changelog) >=2.68.0,<3 → >=3.0.1,<4 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

getsentry/sentry-python (sentry-sdk)

v3.0.1

Compare Source

New Features ✨
  • Coding agents that set up Sentry now get a one-line note when tracing is off or the app sends no logs. The note points to SETUP_CHECKLIST.md, a short setup checklist that ships in the package. It only prints while the setup is in progress, for an agent, and never in CI. Turn it off with SENTRY_AGENT_HINTS=0 or with _experiments={"agent_setup_complete": True} in sentry_sdk.init(). by @​wedamija, @​claude and @​alexander-alderman-webb in #​8269
Bug Fixes 🐛
Internal Changes 🔧
Deps

v3.0.0

Compare Source

New major release of the Python SDK is out now!

This release brings:

  • ✨ Span streaming by default with streamlined API.
  • 🕶️ Fine-grained data collection controls replace the single send_default_pii option.
  • ☁️ Many improvements to our AWS Lambda instrumentation.
  • And more!

3.0 contains breaking changes. Looking to migrate?

Issues? Questions?

Let us know:

v2.77.0

Compare Source

New Features ✨
  • Coding agents that set up Sentry now get a one-line note when tracing or logs is off. The note points to SETUP_CHECKLIST.md, a short setup checklist that ships in the package. It only prints while the setup is in progress, for an agent, and never in CI. Turn it off with SENTRY_AGENT_HINTS=0 or with _experiments={"agent_setup_complete": True} in sentry_sdk.init(). by @​wedamija, @​claude and @​alexander-alderman-webb in #​8395
Other

v2.76.0

Compare Source

New Features ✨
  • (anthropic) Set gen_ai.usage.output_tokens.reasoning attributes for non-streaming responses by @​srothh in #​8329
Bug Fixes 🐛
Documentation 📚
Internal Changes 🔧
Deps
Mypy
Ruff
Other

Configuration

📅 Schedule: (in timezone Europe/Berlin)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner November 28, 2026 13:14
@renovate
renovate Bot enabled auto-merge (squash) November 28, 2026 13:14
@codecov

codecov Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

❌ 22 Tests Failed:

Tests completed Failed Passed Skipped
496 22 474 0
View the top 3 failed test(s) by shortest run time
tests.aignostics_foundry_core.sentry_test.TestSentryDataCollection::test_exception_event_has_frame_vars_when_enabled
Stack Traces | 0.001s run time
self = <tests.aignostics_foundry_core.sentry_test.TestSentryDataCollection object at 0x7ade4723cf50>
sentry_capture = <tests.aignostics_foundry_core.sentry_test.SentryCapture object at 0x7ade444fa5d0>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7ade4027fe70>

    def test_exception_event_has_frame_vars_when_enabled(
        self, sentry_capture: SentryCapture, monkeypatch: pytest.MonkeyPatch
    ) -> None:
        """The raising frame carries its local variables when INCLUDE_LOCAL_VARIABLES is true."""
        monkeypatch.setenv(f"{_SENTRY_PREFIX}INCLUDE_LOCAL_VARIABLES", "true")
>       sentry_capture.start()

tests/aignostics_foundry_core/sentry_test.py:329: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/aignostics_foundry_core/sentry_test.py:104: in start
    return sentry_initialize(integrations, context=context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/aignostics_foundry_core/sentry.py:355: in sentry_initialize
    sentry_sdk.init(
..../test/lib/python3.14.../site-packages/sentry_sdk/_init_implementation.py:53: in _init
    client = sentry_sdk.Client(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:257: in __init__
    super(_Client, self).__init__(options=get_options(*args, **kwargs))
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ()
kwargs = {'release': 'test_project@0.0.0', 'environment': 'test', 'dsn': 'https://abc123def456@o99999.ingest.de.sentry.io/1234567', 'max_breadcrumbs': 50, ...}

    def _get_options(*args: "Optional[str]", **kwargs: "Any") -> "Dict[str, Any]":
        if args and (isinstance(args[0], (bytes, str)) or args[0] is None):
            dsn: "Optional[str]" = args[0]
            args = args[1:]
        else:
            dsn = None
    
        if len(args) > 1:
            raise TypeError("Only single positional argument is expected")
    
        rv = dict(DEFAULT_OPTIONS)
        options = dict(*args, **kwargs)
        if dsn is not None and options.get("dsn") is None:
            options["dsn"] = dsn
    
        for key, value in options.items():
            if key not in rv:
>               raise TypeError("Unknown option %r" % (key,))
E               TypeError: Unknown option 'send_default_pii'

..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:102: TypeError
tests.aignostics_foundry_core.sentry_test.TestSentryDataCollection::test_exception_event_has_no_frame_vars_by_default
Stack Traces | 0.001s run time
self = <tests.aignostics_foundry_core.sentry_test.TestSentryDataCollection object at 0x7ade4723ce10>
sentry_capture = <tests.aignostics_foundry_core.sentry_test.SentryCapture object at 0x7ade40379bf0>

    def test_exception_event_has_no_frame_vars_by_default(self, sentry_capture: SentryCapture) -> None:
        """No stack frame of an exception event carries local variables at default settings."""
>       sentry_capture.start()

tests/aignostics_foundry_core/sentry_test.py:316: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/aignostics_foundry_core/sentry_test.py:104: in start
    return sentry_initialize(integrations, context=context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/aignostics_foundry_core/sentry.py:355: in sentry_initialize
    sentry_sdk.init(
..../test/lib/python3.14.../site-packages/sentry_sdk/_init_implementation.py:53: in _init
    client = sentry_sdk.Client(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:257: in __init__
    super(_Client, self).__init__(options=get_options(*args, **kwargs))
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ()
kwargs = {'release': 'test_project@0.0.0', 'environment': 'test', 'dsn': 'https://abc123def456@o99999.ingest.de.sentry.io/1234567', 'max_breadcrumbs': 50, ...}

    def _get_options(*args: "Optional[str]", **kwargs: "Any") -> "Dict[str, Any]":
        if args and (isinstance(args[0], (bytes, str)) or args[0] is None):
            dsn: "Optional[str]" = args[0]
            args = args[1:]
        else:
            dsn = None
    
        if len(args) > 1:
            raise TypeError("Only single positional argument is expected")
    
        rv = dict(DEFAULT_OPTIONS)
        options = dict(*args, **kwargs)
        if dsn is not None and options.get("dsn") is None:
            options["dsn"] = dsn
    
        for key, value in options.items():
            if key not in rv:
>               raise TypeError("Unknown option %r" % (key,))
E               TypeError: Unknown option 'send_default_pii'

..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:102: TypeError
tests.aignostics_foundry_core.sentry_test.TestSentryDataCollection::test_failed_fastapi_request_event_has_request_data_when_always
Stack Traces | 0.001s run time
self = <tests.aignostics_foundry_core.sentry_test.TestSentryDataCollection object at 0x7ade47241a70>
sentry_capture = <tests.aignostics_foundry_core.sentry_test.SentryCapture object at 0x7ade444fb250>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7ade401d3af0>

    def test_failed_fastapi_request_event_has_request_data_when_always(
        self, sentry_capture: SentryCapture, monkeypatch: pytest.MonkeyPatch
    ) -> None:
        """The event of a failed FastAPI request carries the JSON body when MAX_REQUEST_BODY_SIZE is always."""
        monkeypatch.setenv(f"{_SENTRY_PREFIX}MAX_REQUEST_BODY_SIZE", "always")
>       sentry_capture.start()

tests/aignostics_foundry_core/sentry_test.py:356: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/aignostics_foundry_core/sentry_test.py:104: in start
    return sentry_initialize(integrations, context=context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/aignostics_foundry_core/sentry.py:355: in sentry_initialize
    sentry_sdk.init(
..../test/lib/python3.14.../site-packages/sentry_sdk/_init_implementation.py:53: in _init
    client = sentry_sdk.Client(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:257: in __init__
    super(_Client, self).__init__(options=get_options(*args, **kwargs))
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ()
kwargs = {'release': 'test_project@0.0.0', 'environment': 'test', 'dsn': 'https://abc123def456@o99999.ingest.de.sentry.io/1234567', 'max_breadcrumbs': 50, ...}

    def _get_options(*args: "Optional[str]", **kwargs: "Any") -> "Dict[str, Any]":
        if args and (isinstance(args[0], (bytes, str)) or args[0] is None):
            dsn: "Optional[str]" = args[0]
            args = args[1:]
        else:
            dsn = None
    
        if len(args) > 1:
            raise TypeError("Only single positional argument is expected")
    
        rv = dict(DEFAULT_OPTIONS)
        options = dict(*args, **kwargs)
        if dsn is not None and options.get("dsn") is None:
            options["dsn"] = dsn
    
        for key, value in options.items():
            if key not in rv:
>               raise TypeError("Unknown option %r" % (key,))
E               TypeError: Unknown option 'send_default_pii'

..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:102: TypeError
tests.aignostics_foundry_core.sentry_test.TestSentryDataCollection::test_sentry_logs_not_sent_by_default
Stack Traces | 0.001s run time
self = <tests.aignostics_foundry_core.sentry_test.TestSentryDataCollection object at 0x7ade4719ad50>
sentry_capture = <tests.aignostics_foundry_core.sentry_test.SentryCapture object at 0x7ade40317ce0>
caplog = <_pytest.logging.LogCaptureFixture object at 0x7ade4723b0e0>

    def test_sentry_logs_not_sent_by_default(
        self, sentry_capture: SentryCapture, caplog: pytest.LogCaptureFixture
    ) -> None:
        """No INFO record from the stdlib logging module or from loguru goes to Sentry Logs at default settings.
    
        The ``app`` logger is set to INFO, so that the record gets to the handlers of the Sentry
        logging integration.
        """
        caplog.set_level(logging.INFO, logger=_APP_LOGGER_NAME)
>       sentry_capture.start()

tests/aignostics_foundry_core/sentry_test.py:371: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/aignostics_foundry_core/sentry_test.py:104: in start
    return sentry_initialize(integrations, context=context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/aignostics_foundry_core/sentry.py:355: in sentry_initialize
    sentry_sdk.init(
..../test/lib/python3.14.../site-packages/sentry_sdk/_init_implementation.py:53: in _init
    client = sentry_sdk.Client(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:257: in __init__
    super(_Client, self).__init__(options=get_options(*args, **kwargs))
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ()
kwargs = {'release': 'test_project@0.0.0', 'environment': 'test', 'dsn': 'https://abc123def456@o99999.ingest.de.sentry.io/1234567', 'max_breadcrumbs': 50, ...}

    def _get_options(*args: "Optional[str]", **kwargs: "Any") -> "Dict[str, Any]":
        if args and (isinstance(args[0], (bytes, str)) or args[0] is None):
            dsn: "Optional[str]" = args[0]
            args = args[1:]
        else:
            dsn = None
    
        if len(args) > 1:
            raise TypeError("Only single positional argument is expected")
    
        rv = dict(DEFAULT_OPTIONS)
        options = dict(*args, **kwargs)
        if dsn is not None and options.get("dsn") is None:
            options["dsn"] = dsn
    
        for key, value in options.items():
            if key not in rv:
>               raise TypeError("Unknown option %r" % (key,))
E               TypeError: Unknown option 'send_default_pii'

..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:102: TypeError
tests.aignostics_foundry_core.sentry_test.TestSentryDataCollection::test_sentry_logs_not_sent_when_enable_logs_env_var_is_set
Stack Traces | 0.001s run time
self = <tests.aignostics_foundry_core.sentry_test.TestSentryDataCollection object at 0x7ade4722a8b0>
sentry_capture = <tests.aignostics_foundry_core.sentry_test.SentryCapture object at 0x7ade403da570>
caplog = <_pytest.logging.LogCaptureFixture object at 0x7ade444fa5d0>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7ade402b3380>

    def test_sentry_logs_not_sent_when_enable_logs_env_var_is_set(
        self, sentry_capture: SentryCapture, caplog: pytest.LogCaptureFixture, monkeypatch: pytest.MonkeyPatch
    ) -> None:
        """A service that still sets the removed ENABLE_LOGS env var starts Sentry and sends no Sentry Logs."""
        monkeypatch.setenv(f"{_SENTRY_PREFIX}ENABLE_LOGS", "true")
        caplog.set_level(logging.INFO, logger=_APP_LOGGER_NAME)
    
>       assert sentry_capture.start() is True
               ^^^^^^^^^^^^^^^^^^^^^^

tests/aignostics_foundry_core/sentry_test.py:384: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/aignostics_foundry_core/sentry_test.py:104: in start
    return sentry_initialize(integrations, context=context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/aignostics_foundry_core/sentry.py:355: in sentry_initialize
    sentry_sdk.init(
..../test/lib/python3.14.../site-packages/sentry_sdk/_init_implementation.py:53: in _init
    client = sentry_sdk.Client(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:257: in __init__
    super(_Client, self).__init__(options=get_options(*args, **kwargs))
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ()
kwargs = {'release': 'test_project@0.0.0', 'environment': 'test', 'dsn': 'https://abc123def456@o99999.ingest.de.sentry.io/1234567', 'max_breadcrumbs': 50, ...}

    def _get_options(*args: "Optional[str]", **kwargs: "Any") -> "Dict[str, Any]":
        if args and (isinstance(args[0], (bytes, str)) or args[0] is None):
            dsn: "Optional[str]" = args[0]
            args = args[1:]
        else:
            dsn = None
    
        if len(args) > 1:
            raise TypeError("Only single positional argument is expected")
    
        rv = dict(DEFAULT_OPTIONS)
        options = dict(*args, **kwargs)
        if dsn is not None and options.get("dsn") is None:
            options["dsn"] = dsn
    
        for key, value in options.items():
            if key not in rv:
>               raise TypeError("Unknown option %r" % (key,))
E               TypeError: Unknown option 'send_default_pii'

..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:102: TypeError
tests.aignostics_foundry_core.sentry_test.TestSentryDataCollection::test_sentry_logs_sent_when_logging_integration_captures_them
Stack Traces | 0.001s run time
self = <tests.aignostics_foundry_core.sentry_test.TestSentryDataCollection object at 0x7ade4722a9c0>
sentry_capture = <tests.aignostics_foundry_core.sentry_test.SentryCapture object at 0x7ade402dc180>
caplog = <_pytest.logging.LogCaptureFixture object at 0x7ade444fbd90>

    def test_sentry_logs_sent_when_logging_integration_captures_them(
        self, sentry_capture: SentryCapture, caplog: pytest.LogCaptureFixture
    ) -> None:
        """A service opts in to Sentry Logs with LoggingIntegration(capture_sentry_logs=True)."""
        caplog.set_level(logging.INFO, logger=_APP_LOGGER_NAME)
>       sentry_capture.start([LoggingIntegration(capture_sentry_logs=True)])
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       TypeError: LoggingIntegration.__init__() got an unexpected keyword argument 'capture_sentry_logs'

tests/aignostics_foundry_core/sentry_test.py:395: TypeError
tests.aignostics_foundry_core.sentry_test.TestSentryHttpData::test_http_breadcrumb_has_no_query_string
Stack Traces | 0.001s run time
self = <tests.aignostics_foundry_core.sentry_test.TestSentryHttpData object at 0x7ade4723d090>
sentry_capture = <tests.aignostics_foundry_core.sentry_test.SentryCapture object at 0x7ade40269770>

    def test_http_breadcrumb_has_no_query_string(self, sentry_capture: SentryCapture) -> None:
        """The ``httplib`` breadcrumb of an httpx request carries no query string."""
>       sentry_capture.start()

tests/aignostics_foundry_core/sentry_test.py:408: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/aignostics_foundry_core/sentry_test.py:104: in start
    return sentry_initialize(integrations, context=context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/aignostics_foundry_core/sentry.py:355: in sentry_initialize
    sentry_sdk.init(
..../test/lib/python3.14.../site-packages/sentry_sdk/_init_implementation.py:53: in _init
    client = sentry_sdk.Client(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:257: in __init__
    super(_Client, self).__init__(options=get_options(*args, **kwargs))
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ()
kwargs = {'release': 'test_project@0.0.0', 'environment': 'test', 'dsn': 'https://abc123def456@o99999.ingest.de.sentry.io/1234567', 'max_breadcrumbs': 50, ...}

    def _get_options(*args: "Optional[str]", **kwargs: "Any") -> "Dict[str, Any]":
        if args and (isinstance(args[0], (bytes, str)) or args[0] is None):
            dsn: "Optional[str]" = args[0]
            args = args[1:]
        else:
            dsn = None
    
        if len(args) > 1:
            raise TypeError("Only single positional argument is expected")
    
        rv = dict(DEFAULT_OPTIONS)
        options = dict(*args, **kwargs)
        if dsn is not None and options.get("dsn") is None:
            options["dsn"] = dsn
    
        for key, value in options.items():
            if key not in rv:
>               raise TypeError("Unknown option %r" % (key,))
E               TypeError: Unknown option 'send_default_pii'

..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:102: TypeError
tests.aignostics_foundry_core.sentry_test.TestSentryHttpData::test_manual_http_breadcrumb_with_query_in_url_is_stripped
Stack Traces | 0.001s run time
self = <tests.aignostics_foundry_core.sentry_test.TestSentryHttpData object at 0x7ade4723d1d0>
sentry_capture = <tests.aignostics_foundry_core.sentry_test.SentryCapture object at 0x7ade40256510>

    def test_manual_http_breadcrumb_with_query_in_url_is_stripped(self, sentry_capture: SentryCapture) -> None:
        """An HTTP breadcrumb added by hand loses the query keys and the query of its URL."""
>       sentry_capture.start()

tests/aignostics_foundry_core/sentry_test.py:419: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/aignostics_foundry_core/sentry_test.py:104: in start
    return sentry_initialize(integrations, context=context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/aignostics_foundry_core/sentry.py:355: in sentry_initialize
    sentry_sdk.init(
..../test/lib/python3.14.../site-packages/sentry_sdk/_init_implementation.py:53: in _init
    client = sentry_sdk.Client(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:257: in __init__
    super(_Client, self).__init__(options=get_options(*args, **kwargs))
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ()
kwargs = {'release': 'test_project@0.0.0', 'environment': 'test', 'dsn': 'https://abc123def456@o99999.ingest.de.sentry.io/1234567', 'max_breadcrumbs': 50, ...}

    def _get_options(*args: "Optional[str]", **kwargs: "Any") -> "Dict[str, Any]":
        if args and (isinstance(args[0], (bytes, str)) or args[0] is None):
            dsn: "Optional[str]" = args[0]
            args = args[1:]
        else:
            dsn = None
    
        if len(args) > 1:
            raise TypeError("Only single positional argument is expected")
    
        rv = dict(DEFAULT_OPTIONS)
        options = dict(*args, **kwargs)
        if dsn is not None and options.get("dsn") is None:
            options["dsn"] = dsn
    
        for key, value in options.items():
            if key not in rv:
>               raise TypeError("Unknown option %r" % (key,))
E               TypeError: Unknown option 'send_default_pii'

..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:102: TypeError
tests.aignostics_foundry_core.sentry_test.TestSentryHttpData::test_non_http_breadcrumb_is_unchanged
Stack Traces | 0.001s run time
self = <tests.aignostics_foundry_core.sentry_test.TestSentryHttpData object at 0x7ade47241940>
sentry_capture = <tests.aignostics_foundry_core.sentry_test.SentryCapture object at 0x7ade40256150>

    def test_non_http_breadcrumb_is_unchanged(self, sentry_capture: SentryCapture) -> None:
        """A breadcrumb of another type and category keeps its data, also URL-like keys."""
        data = {"url": _SIGNED_BLOB_URL, _HTTP_QUERY_KEY: _SIGNED_URL_QUERY}
>       sentry_capture.start()

tests/aignostics_foundry_core/sentry_test.py:434: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/aignostics_foundry_core/sentry_test.py:104: in start
    return sentry_initialize(integrations, context=context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/aignostics_foundry_core/sentry.py:355: in sentry_initialize
    sentry_sdk.init(
..../test/lib/python3.14.../site-packages/sentry_sdk/_init_implementation.py:53: in _init
    client = sentry_sdk.Client(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:257: in __init__
    super(_Client, self).__init__(options=get_options(*args, **kwargs))
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ()
kwargs = {'release': 'test_project@0.0.0', 'environment': 'test', 'dsn': 'https://abc123def456@o99999.ingest.de.sentry.io/1234567', 'max_breadcrumbs': 50, ...}

    def _get_options(*args: "Optional[str]", **kwargs: "Any") -> "Dict[str, Any]":
        if args and (isinstance(args[0], (bytes, str)) or args[0] is None):
            dsn: "Optional[str]" = args[0]
            args = args[1:]
        else:
            dsn = None
    
        if len(args) > 1:
            raise TypeError("Only single positional argument is expected")
    
        rv = dict(DEFAULT_OPTIONS)
        options = dict(*args, **kwargs)
        if dsn is not None and options.get("dsn") is None:
            options["dsn"] = dsn
    
        for key, value in options.items():
            if key not in rv:
>               raise TypeError("Unknown option %r" % (key,))
E               TypeError: Unknown option 'send_default_pii'

..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:102: TypeError
tests.aignostics_foundry_core.sentry_test.TestSentryHttpData::test_outbound_request_has_no_trace_headers_by_default[httpx2]
Stack Traces | 0.001s run time
self = <tests.aignostics_foundry_core.sentry_test.TestSentryHttpData object at 0x7ade4722aad0>
sentry_capture = <tests.aignostics_foundry_core.sentry_test.SentryCapture object at 0x7ade401519c0>
send_get = <function _httpx2_request_headers at 0x7ade4708d850>

    @pytest.mark.parametrize("send_get", [_httpx_request_headers, _httpx2_request_headers], ids=["httpx", "httpx2"])
    def test_outbound_request_has_no_trace_headers_by_default(
        self, sentry_capture: SentryCapture, send_get: Callable[[str], dict[str, str]]
    ) -> None:
        """An outbound request gets no ``sentry-trace`` or ``baggage`` header at default settings."""
>       sentry_capture.start()

tests/aignostics_foundry_core/sentry_test.py:462: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/aignostics_foundry_core/sentry_test.py:104: in start
    return sentry_initialize(integrations, context=context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/aignostics_foundry_core/sentry.py:355: in sentry_initialize
    sentry_sdk.init(
..../test/lib/python3.14.../site-packages/sentry_sdk/_init_implementation.py:53: in _init
    client = sentry_sdk.Client(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:257: in __init__
    super(_Client, self).__init__(options=get_options(*args, **kwargs))
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ()
kwargs = {'release': 'test_project@0.0.0', 'environment': 'test', 'dsn': 'https://abc123def456@o99999.ingest.de.sentry.io/1234567', 'max_breadcrumbs': 50, ...}

    def _get_options(*args: "Optional[str]", **kwargs: "Any") -> "Dict[str, Any]":
        if args and (isinstance(args[0], (bytes, str)) or args[0] is None):
            dsn: "Optional[str]" = args[0]
            args = args[1:]
        else:
            dsn = None
    
        if len(args) > 1:
            raise TypeError("Only single positional argument is expected")
    
        rv = dict(DEFAULT_OPTIONS)
        options = dict(*args, **kwargs)
        if dsn is not None and options.get("dsn") is None:
            options["dsn"] = dsn
    
        for key, value in options.items():
            if key not in rv:
>               raise TypeError("Unknown option %r" % (key,))
E               TypeError: Unknown option 'send_default_pii'

..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:102: TypeError
tests.aignostics_foundry_core.sentry_test.TestSentryHttpData::test_outbound_request_has_no_trace_headers_by_default[httpx]
Stack Traces | 0.001s run time
self = <tests.aignostics_foundry_core.sentry_test.TestSentryHttpData object at 0x7ade4719ae70>
sentry_capture = <tests.aignostics_foundry_core.sentry_test.SentryCapture object at 0x7ade401825b0>
send_get = <function _httpx_request_headers at 0x7ade4708d6f0>

    @pytest.mark.parametrize("send_get", [_httpx_request_headers, _httpx2_request_headers], ids=["httpx", "httpx2"])
    def test_outbound_request_has_no_trace_headers_by_default(
        self, sentry_capture: SentryCapture, send_get: Callable[[str], dict[str, str]]
    ) -> None:
        """An outbound request gets no ``sentry-trace`` or ``baggage`` header at default settings."""
>       sentry_capture.start()

tests/aignostics_foundry_core/sentry_test.py:462: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/aignostics_foundry_core/sentry_test.py:104: in start
    return sentry_initialize(integrations, context=context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/aignostics_foundry_core/sentry.py:355: in sentry_initialize
    sentry_sdk.init(
..../test/lib/python3.14.../site-packages/sentry_sdk/_init_implementation.py:53: in _init
    client = sentry_sdk.Client(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:257: in __init__
    super(_Client, self).__init__(options=get_options(*args, **kwargs))
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ()
kwargs = {'release': 'test_project@0.0.0', 'environment': 'test', 'dsn': 'https://abc123def456@o99999.ingest.de.sentry.io/1234567', 'max_breadcrumbs': 50, ...}

    def _get_options(*args: "Optional[str]", **kwargs: "Any") -> "Dict[str, Any]":
        if args and (isinstance(args[0], (bytes, str)) or args[0] is None):
            dsn: "Optional[str]" = args[0]
            args = args[1:]
        else:
            dsn = None
    
        if len(args) > 1:
            raise TypeError("Only single positional argument is expected")
    
        rv = dict(DEFAULT_OPTIONS)
        options = dict(*args, **kwargs)
        if dsn is not None and options.get("dsn") is None:
            options["dsn"] = dsn
    
        for key, value in options.items():
            if key not in rv:
>               raise TypeError("Unknown option %r" % (key,))
E               TypeError: Unknown option 'send_default_pii'

..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:102: TypeError
tests.aignostics_foundry_core.sentry_test.TestSentryHttpData::test_outbound_request_to_allowed_host_has_trace_headers
Stack Traces | 0.001s run time
self = <tests.aignostics_foundry_core.sentry_test.TestSentryHttpData object at 0x7ade4722abe0>
sentry_capture = <tests.aignostics_foundry_core.sentry_test.SentryCapture object at 0x7ade4026b250>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7ade402e56a0>

    def test_outbound_request_to_allowed_host_has_trace_headers(
        self, sentry_capture: SentryCapture, monkeypatch: pytest.MonkeyPatch
    ) -> None:
        """A request to a host in TRACE_PROPAGATION_TARGETS gets the ``sentry-trace`` header."""
        monkeypatch.setenv(f"{_SENTRY_PREFIX}TRACE_PROPAGATION_TARGETS", _INTERNAL_TRACE_TARGETS_JSON)
>       sentry_capture.start()

tests/aignostics_foundry_core/sentry_test.py:474: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/aignostics_foundry_core/sentry_test.py:104: in start
    return sentry_initialize(integrations, context=context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/aignostics_foundry_core/sentry.py:355: in sentry_initialize
    sentry_sdk.init(
..../test/lib/python3.14.../site-packages/sentry_sdk/_init_implementation.py:53: in _init
    client = sentry_sdk.Client(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:257: in __init__
    super(_Client, self).__init__(options=get_options(*args, **kwargs))
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ()
kwargs = {'release': 'test_project@0.0.0', 'environment': 'test', 'dsn': 'https://abc123def456@o99999.ingest.de.sentry.io/1234567', 'max_breadcrumbs': 50, ...}

    def _get_options(*args: "Optional[str]", **kwargs: "Any") -> "Dict[str, Any]":
        if args and (isinstance(args[0], (bytes, str)) or args[0] is None):
            dsn: "Optional[str]" = args[0]
            args = args[1:]
        else:
            dsn = None
    
        if len(args) > 1:
            raise TypeError("Only single positional argument is expected")
    
        rv = dict(DEFAULT_OPTIONS)
        options = dict(*args, **kwargs)
        if dsn is not None and options.get("dsn") is None:
            options["dsn"] = dsn
    
        for key, value in options.items():
            if key not in rv:
>               raise TypeError("Unknown option %r" % (key,))
E               TypeError: Unknown option 'send_default_pii'

..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:102: TypeError
tests.aignostics_foundry_core.sentry_test.TestSentryHttpData::test_outbound_request_to_other_host_has_no_trace_headers_when_targets_set
Stack Traces | 0.001s run time
self = <tests.aignostics_foundry_core.sentry_test.TestSentryHttpData object at 0x7ade470a8d50>
sentry_capture = <tests.aignostics_foundry_core.sentry_test.SentryCapture object at 0x7ade40151f40>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7ade402e7d20>

    def test_outbound_request_to_other_host_has_no_trace_headers_when_targets_set(
        self, sentry_capture: SentryCapture, monkeypatch: pytest.MonkeyPatch
    ) -> None:
        """A request to a host outside TRACE_PROPAGATION_TARGETS gets no ``sentry-trace`` or ``baggage`` header."""
        monkeypatch.setenv(f"{_SENTRY_PREFIX}TRACE_PROPAGATION_TARGETS", _INTERNAL_TRACE_TARGETS_JSON)
>       sentry_capture.start()

tests/aignostics_foundry_core/sentry_test.py:485: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/aignostics_foundry_core/sentry_test.py:104: in start
    return sentry_initialize(integrations, context=context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/aignostics_foundry_core/sentry.py:355: in sentry_initialize
    sentry_sdk.init(
..../test/lib/python3.14.../site-packages/sentry_sdk/_init_implementation.py:53: in _init
    client = sentry_sdk.Client(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:257: in __init__
    super(_Client, self).__init__(options=get_options(*args, **kwargs))
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ()
kwargs = {'release': 'test_project@0.0.0', 'environment': 'test', 'dsn': 'https://abc123def456@o99999.ingest.de.sentry.io/1234567', 'max_breadcrumbs': 50, ...}

    def _get_options(*args: "Optional[str]", **kwargs: "Any") -> "Dict[str, Any]":
        if args and (isinstance(args[0], (bytes, str)) or args[0] is None):
            dsn: "Optional[str]" = args[0]
            args = args[1:]
        else:
            dsn = None
    
        if len(args) > 1:
            raise TypeError("Only single positional argument is expected")
    
        rv = dict(DEFAULT_OPTIONS)
        options = dict(*args, **kwargs)
        if dsn is not None and options.get("dsn") is None:
            options["dsn"] = dsn
    
        for key, value in options.items():
            if key not in rv:
>               raise TypeError("Unknown option %r" % (key,))
E               TypeError: Unknown option 'send_default_pii'

..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:102: TypeError
tests.aignostics_foundry_core.sentry_test.TestSentryHttpData::test_transaction_span_has_no_query_string
Stack Traces | 0.001s run time
self = <tests.aignostics_foundry_core.sentry_test.TestSentryHttpData object at 0x7ade47241cd0>
sentry_capture = <tests.aignostics_foundry_core.sentry_test.SentryCapture object at 0x7ade40266330>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7ade402e0280>

    def test_transaction_span_has_no_query_string(
        self, sentry_capture: SentryCapture, monkeypatch: pytest.MonkeyPatch
    ) -> None:
        """The HTTP client span of an httpx request inside a transaction carries no query string."""
        monkeypatch.setenv(f"{_SENTRY_PREFIX}TRACES_SAMPLE_RATE", "1.0")
>       sentry_capture.start()

tests/aignostics_foundry_core/sentry_test.py:447: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/aignostics_foundry_core/sentry_test.py:104: in start
    return sentry_initialize(integrations, context=context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/aignostics_foundry_core/sentry.py:355: in sentry_initialize
    sentry_sdk.init(
..../test/lib/python3.14.../site-packages/sentry_sdk/_init_implementation.py:53: in _init
    client = sentry_sdk.Client(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:257: in __init__
    super(_Client, self).__init__(options=get_options(*args, **kwargs))
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ()
kwargs = {'release': 'test_project@0.0.0', 'environment': 'test', 'dsn': 'https://abc123def456@o99999.ingest.de.sentry.io/1234567', 'max_breadcrumbs': 50, ...}

    def _get_options(*args: "Optional[str]", **kwargs: "Any") -> "Dict[str, Any]":
        if args and (isinstance(args[0], (bytes, str)) or args[0] is None):
            dsn: "Optional[str]" = args[0]
            args = args[1:]
        else:
            dsn = None
    
        if len(args) > 1:
            raise TypeError("Only single positional argument is expected")
    
        rv = dict(DEFAULT_OPTIONS)
        options = dict(*args, **kwargs)
        if dsn is not None and options.get("dsn") is None:
            options["dsn"] = dsn
    
        for key, value in options.items():
            if key not in rv:
>               raise TypeError("Unknown option %r" % (key,))
E               TypeError: Unknown option 'send_default_pii'

..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:102: TypeError
tests.aignostics_foundry_core.sentry_test.TestSentryInitialize::test_sentry_initialize_returns_true_when_enabled
Stack Traces | 0.001s run time
self = <tests.aignostics_foundry_core.sentry_test.TestSentryInitialize object at 0x7ade47241350>
sentry_capture = <tests.aignostics_foundry_core.sentry_test.SentryCapture object at 0x7ade402d0e50>

    def test_sentry_initialize_returns_true_when_enabled(self, sentry_capture: SentryCapture) -> None:
        """Returns True and events carry the release ``{name}@{version_full}`` when enabled with a valid DSN."""
>       result = sentry_capture.start()
                 ^^^^^^^^^^^^^^^^^^^^^^

tests/aignostics_foundry_core/sentry_test.py:268: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/aignostics_foundry_core/sentry_test.py:104: in start
    return sentry_initialize(integrations, context=context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/aignostics_foundry_core/sentry.py:355: in sentry_initialize
    sentry_sdk.init(
..../test/lib/python3.14.../site-packages/sentry_sdk/_init_implementation.py:53: in _init
    client = sentry_sdk.Client(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:257: in __init__
    super(_Client, self).__init__(options=get_options(*args, **kwargs))
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ()
kwargs = {'release': 'test_project@0.0.0', 'environment': 'test', 'dsn': 'https://abc123def456@o99999.ingest.de.sentry.io/1234567', 'max_breadcrumbs': 50, ...}

    def _get_options(*args: "Optional[str]", **kwargs: "Any") -> "Dict[str, Any]":
        if args and (isinstance(args[0], (bytes, str)) or args[0] is None):
            dsn: "Optional[str]" = args[0]
            args = args[1:]
        else:
            dsn = None
    
        if len(args) > 1:
            raise TypeError("Only single positional argument is expected")
    
        rv = dict(DEFAULT_OPTIONS)
        options = dict(*args, **kwargs)
        if dsn is not None and options.get("dsn") is None:
            options["dsn"] = dsn
    
        for key, value in options.items():
            if key not in rv:
>               raise TypeError("Unknown option %r" % (key,))
E               TypeError: Unknown option 'send_default_pii'

..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:102: TypeError
tests.aignostics_foundry_core.sentry_test.TestSentryInitialize::test_sentry_initialize_uses_context_environment
Stack Traces | 0.001s run time
self = <tests.aignostics_foundry_core.sentry_test.TestSentryInitialize object at 0x7ade4722a690>
sentry_capture = <tests.aignostics_foundry_core.sentry_test.SentryCapture object at 0x7ade402fac60>

    def test_sentry_initialize_uses_context_environment(self, sentry_capture: SentryCapture) -> None:
        """The event environment matches context.environment."""
>       sentry_capture.start(context=make_context(environment="staging"))

tests/aignostics_foundry_core/sentry_test.py:293: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/aignostics_foundry_core/sentry_test.py:104: in start
    return sentry_initialize(integrations, context=context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/aignostics_foundry_core/sentry.py:355: in sentry_initialize
    sentry_sdk.init(
..../test/lib/python3.14.../site-packages/sentry_sdk/_init_implementation.py:53: in _init
    client = sentry_sdk.Client(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:257: in __init__
    super(_Client, self).__init__(options=get_options(*args, **kwargs))
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ()
kwargs = {'release': 'test_project@0.0.0', 'environment': 'staging', 'dsn': 'https://abc123def456@o99999.ingest.de.sentry.io/1234567', 'max_breadcrumbs': 50, ...}

    def _get_options(*args: "Optional[str]", **kwargs: "Any") -> "Dict[str, Any]":
        if args and (isinstance(args[0], (bytes, str)) or args[0] is None):
            dsn: "Optional[str]" = args[0]
            args = args[1:]
        else:
            dsn = None
    
        if len(args) > 1:
            raise TypeError("Only single positional argument is expected")
    
        rv = dict(DEFAULT_OPTIONS)
        options = dict(*args, **kwargs)
        if dsn is not None and options.get("dsn") is None:
            options["dsn"] = dsn
    
        for key, value in options.items():
            if key not in rv:
>               raise TypeError("Unknown option %r" % (key,))
E               TypeError: Unknown option 'send_default_pii'

..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:102: TypeError
tests.aignostics_foundry_core.sentry_test.TestSentryInitialize::test_sentry_initialize_uses_context_project_name
Stack Traces | 0.001s run time
self = <tests.aignostics_foundry_core.sentry_test.TestSentryInitialize object at 0x7ade4719ac30>
sentry_capture = <tests.aignostics_foundry_core.sentry_test.SentryCapture object at 0x7ade402fba70>

    def test_sentry_initialize_uses_context_project_name(self, sentry_capture: SentryCapture) -> None:
        """The event release uses the project name of the given context."""
        ctx = make_context(name="other_project", version="1.2.3")
>       sentry_capture.start(context=ctx)

tests/aignostics_foundry_core/sentry_test.py:285: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/aignostics_foundry_core/sentry_test.py:104: in start
    return sentry_initialize(integrations, context=context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/aignostics_foundry_core/sentry.py:355: in sentry_initialize
    sentry_sdk.init(
..../test/lib/python3.14.../site-packages/sentry_sdk/_init_implementation.py:53: in _init
    client = sentry_sdk.Client(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:257: in __init__
    super(_Client, self).__init__(options=get_options(*args, **kwargs))
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ()
kwargs = {'release': 'other_project@1.2.3', 'environment': 'test', 'dsn': 'https://abc123def456@o99999.ingest.de.sentry.io/1234567', 'max_breadcrumbs': 50, ...}

    def _get_options(*args: "Optional[str]", **kwargs: "Any") -> "Dict[str, Any]":
        if args and (isinstance(args[0], (bytes, str)) or args[0] is None):
            dsn: "Optional[str]" = args[0]
            args = args[1:]
        else:
            dsn = None
    
        if len(args) > 1:
            raise TypeError("Only single positional argument is expected")
    
        rv = dict(DEFAULT_OPTIONS)
        options = dict(*args, **kwargs)
        if dsn is not None and options.get("dsn") is None:
            options["dsn"] = dsn
    
        for key, value in options.items():
            if key not in rv:
>               raise TypeError("Unknown option %r" % (key,))
E               TypeError: Unknown option 'send_default_pii'

..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:102: TypeError
tests.aignostics_foundry_core.sentry_test.TestSentryInitialize::test_sentry_initialize_uses_sentry_context_flags
Stack Traces | 0.001s run time
self = <tests.aignostics_foundry_core.sentry_test.TestSentryInitialize object at 0x7ade4722a7a0>
sentry_capture = <tests.aignostics_foundry_core.sentry_test.SentryCapture object at 0x7ade402b8050>

    def test_sentry_initialize_uses_sentry_context_flags(self, sentry_capture: SentryCapture) -> None:
        """The ``aignx/base`` event context carries the runtime mode flags of the context."""
>       sentry_capture.start(context=make_context(is_test=True))

tests/aignostics_foundry_core/sentry_test.py:301: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/aignostics_foundry_core/sentry_test.py:104: in start
    return sentry_initialize(integrations, context=context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/aignostics_foundry_core/sentry.py:355: in sentry_initialize
    sentry_sdk.init(
..../test/lib/python3.14.../site-packages/sentry_sdk/_init_implementation.py:53: in _init
    client = sentry_sdk.Client(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:257: in __init__
    super(_Client, self).__init__(options=get_options(*args, **kwargs))
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ()
kwargs = {'release': 'test_project@0.0.0', 'environment': 'test', 'dsn': 'https://abc123def456@o99999.ingest.de.sentry.io/1234567', 'max_breadcrumbs': 50, ...}

    def _get_options(*args: "Optional[str]", **kwargs: "Any") -> "Dict[str, Any]":
        if args and (isinstance(args[0], (bytes, str)) or args[0] is None):
            dsn: "Optional[str]" = args[0]
            args = args[1:]
        else:
            dsn = None
    
        if len(args) > 1:
            raise TypeError("Only single positional argument is expected")
    
        rv = dict(DEFAULT_OPTIONS)
        options = dict(*args, **kwargs)
        if dsn is not None and options.get("dsn") is None:
            options["dsn"] = dsn
    
        for key, value in options.items():
            if key not in rv:
>               raise TypeError("Unknown option %r" % (key,))
E               TypeError: Unknown option 'send_default_pii'

..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:102: TypeError
tests.aignostics_foundry_core.sentry_test.TestSetSentryUser::test_set_sentry_user_includes_role_from_claim
Stack Traces | 0.001s run time
self = <tests.aignostics_foundry_core.sentry_test.TestSetSentryUser object at 0x7ade4723d950>
sentry_capture = <tests.aignostics_foundry_core.sentry_test.SentryCapture object at 0x7ade4037a360>

    def test_set_sentry_user_includes_role_from_claim(self, sentry_capture: SentryCapture) -> None:
        """The event user carries the value of the custom role claim when role_claim is provided."""
>       sentry_capture.start()

tests/aignostics_foundry_core/sentry_test.py:568: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/aignostics_foundry_core/sentry_test.py:104: in start
    return sentry_initialize(integrations, context=context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/aignostics_foundry_core/sentry.py:355: in sentry_initialize
    sentry_sdk.init(
..../test/lib/python3.14.../site-packages/sentry_sdk/_init_implementation.py:53: in _init
    client = sentry_sdk.Client(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:257: in __init__
    super(_Client, self).__init__(options=get_options(*args, **kwargs))
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ()
kwargs = {'release': 'test_project@0.0.0', 'environment': 'test', 'dsn': 'https://abc123def456@o99999.ingest.de.sentry.io/1234567', 'max_breadcrumbs': 50, ...}

    def _get_options(*args: "Optional[str]", **kwargs: "Any") -> "Dict[str, Any]":
        if args and (isinstance(args[0], (bytes, str)) or args[0] is None):
            dsn: "Optional[str]" = args[0]
            args = args[1:]
        else:
            dsn = None
    
        if len(args) > 1:
            raise TypeError("Only single positional argument is expected")
    
        rv = dict(DEFAULT_OPTIONS)
        options = dict(*args, **kwargs)
        if dsn is not None and options.get("dsn") is None:
            options["dsn"] = dsn
    
        for key, value in options.items():
            if key not in rv:
>               raise TypeError("Unknown option %r" % (key,))
E               TypeError: Unknown option 'send_default_pii'

..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:102: TypeError
tests.aignostics_foundry_core.sentry_test.TestSetSentryUser::test_set_sentry_user_none_clears_user
Stack Traces | 0.001s run time
self = <tests.aignostics_foundry_core.sentry_test.TestSetSentryUser object at 0x7ade472422c0>
sentry_capture = <tests.aignostics_foundry_core.sentry_test.SentryCapture object at 0x7ade444a3550>

    def test_set_sentry_user_none_clears_user(self, sentry_capture: SentryCapture) -> None:
        """set_sentry_user(None) removes a previously set user from later events."""
>       sentry_capture.start()

tests/aignostics_foundry_core/sentry_test.py:577: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/aignostics_foundry_core/sentry_test.py:104: in start
    return sentry_initialize(integrations, context=context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/aignostics_foundry_core/sentry.py:355: in sentry_initialize
    sentry_sdk.init(
..../test/lib/python3.14.../site-packages/sentry_sdk/_init_implementation.py:53: in _init
    client = sentry_sdk.Client(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:257: in __init__
    super(_Client, self).__init__(options=get_options(*args, **kwargs))
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ()
kwargs = {'release': 'test_project@0.0.0', 'environment': 'test', 'dsn': 'https://abc123def456@o99999.ingest.de.sentry.io/1234567', 'max_breadcrumbs': 50, ...}

    def _get_options(*args: "Optional[str]", **kwargs: "Any") -> "Dict[str, Any]":
        if args and (isinstance(args[0], (bytes, str)) or args[0] is None):
            dsn: "Optional[str]" = args[0]
            args = args[1:]
        else:
            dsn = None
    
        if len(args) > 1:
            raise TypeError("Only single positional argument is expected")
    
        rv = dict(DEFAULT_OPTIONS)
        options = dict(*args, **kwargs)
        if dsn is not None and options.get("dsn") is None:
            options["dsn"] = dsn
    
        for key, value in options.items():
            if key not in rv:
>               raise TypeError("Unknown option %r" % (key,))
E               TypeError: Unknown option 'send_default_pii'

..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:102: TypeError
tests.aignostics_foundry_core.sentry_test.TestSetSentryUser::test_set_sentry_user_sends_only_id_and_org_id
Stack Traces | 0.001s run time
self = <tests.aignostics_foundry_core.sentry_test.TestSetSentryUser object at 0x7ade4723d810>
sentry_capture = <tests.aignostics_foundry_core.sentry_test.SentryCapture object at 0x7ade444a1d50>

    def test_set_sentry_user_sends_only_id_and_org_id(self, sentry_capture: SentryCapture) -> None:
        """Of a full Auth0 claim set, only ``sub`` (as ``id``) and ``org_id`` get to the event user."""
>       sentry_capture.start()

tests/aignostics_foundry_core/sentry_test.py:559: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/aignostics_foundry_core/sentry_test.py:104: in start
    return sentry_initialize(integrations, context=context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/aignostics_foundry_core/sentry.py:355: in sentry_initialize
    sentry_sdk.init(
..../test/lib/python3.14.../site-packages/sentry_sdk/_init_implementation.py:53: in _init
    client = sentry_sdk.Client(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:257: in __init__
    super(_Client, self).__init__(options=get_options(*args, **kwargs))
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ()
kwargs = {'release': 'test_project@0.0.0', 'environment': 'test', 'dsn': 'https://abc123def456@o99999.ingest.de.sentry.io/1234567', 'max_breadcrumbs': 50, ...}

    def _get_options(*args: "Optional[str]", **kwargs: "Any") -> "Dict[str, Any]":
        if args and (isinstance(args[0], (bytes, str)) or args[0] is None):
            dsn: "Optional[str]" = args[0]
            args = args[1:]
        else:
            dsn = None
    
        if len(args) > 1:
            raise TypeError("Only single positional argument is expected")
    
        rv = dict(DEFAULT_OPTIONS)
        options = dict(*args, **kwargs)
        if dsn is not None and options.get("dsn") is None:
            options["dsn"] = dsn
    
        for key, value in options.items():
            if key not in rv:
>               raise TypeError("Unknown option %r" % (key,))
E               TypeError: Unknown option 'send_default_pii'

..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:102: TypeError
tests.aignostics_foundry_core.sentry_test.TestSentryDataCollection::test_failed_fastapi_request_event_has_no_request_data_by_default
Stack Traces | 0.002s run time
self = <tests.aignostics_foundry_core.sentry_test.TestSentryDataCollection object at 0x7ade472416e0>
sentry_capture = <tests.aignostics_foundry_core.sentry_test.SentryCapture object at 0x7ade4446aa50>

    def test_failed_fastapi_request_event_has_no_request_data_by_default(self, sentry_capture: SentryCapture) -> None:
        """The event of a failed FastAPI request carries request info but no request body at default settings.
    
        The SDK keeps the ``data`` key with an empty value and marks it as removed in ``_meta``.
        The request can also produce a sampled transaction, so the error event is read by its item
        type, and the secret is looked for in every captured payload.
        """
>       sentry_capture.start()

tests/aignostics_foundry_core/sentry_test.py:343: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/aignostics_foundry_core/sentry_test.py:104: in start
    return sentry_initialize(integrations, context=context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/aignostics_foundry_core/sentry.py:355: in sentry_initialize
    sentry_sdk.init(
..../test/lib/python3.14.../site-packages/sentry_sdk/_init_implementation.py:53: in _init
    client = sentry_sdk.Client(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:257: in __init__
    super(_Client, self).__init__(options=get_options(*args, **kwargs))
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

args = ()
kwargs = {'release': 'test_project@0.0.0', 'environment': 'test', 'dsn': 'https://abc123def456@o99999.ingest.de.sentry.io/1234567', 'max_breadcrumbs': 50, ...}

    def _get_options(*args: "Optional[str]", **kwargs: "Any") -> "Dict[str, Any]":
        if args and (isinstance(args[0], (bytes, str)) or args[0] is None):
            dsn: "Optional[str]" = args[0]
            args = args[1:]
        else:
            dsn = None
    
        if len(args) > 1:
            raise TypeError("Only single positional argument is expected")
    
        rv = dict(DEFAULT_OPTIONS)
        options = dict(*args, **kwargs)
        if dsn is not None and options.get("dsn") is None:
            options["dsn"] = dsn
    
        for key, value in options.items():
            if key not in rv:
>               raise TypeError("Unknown option %r" % (key,))
E               TypeError: Unknown option 'send_default_pii'

..../test/lib/python3.14....../site-packages/sentry_sdk/client.py:102: TypeError

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@renovate
renovate Bot force-pushed the renovate/sentry-sdk-3.x branch from 35e9095 to 494e94a Compare November 30, 2026 20:28
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants