Bump sentry-sdk from 2.10.0 to 2.13.0 (#5246)

* Bump sentry-sdk from 2.10.0 to 2.13.0

Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 2.10.0 to 2.13.0.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/2.10.0...2.13.0)

---
updated-dependencies:
- dependency-name: sentry-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Replace deprecated apis with new ones

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
This commit is contained in:
dependabot[bot]
2024-08-22 10:04:32 +02:00
committed by GitHub
parent 53fa0fe215
commit 7366673eea
3 changed files with 8 additions and 13 deletions

View File

@@ -670,7 +670,7 @@ async def docker_logs(docker: DockerAPI, supervisor_name) -> MagicMock:
async def capture_exception() -> Mock:
"""Mock capture exception method for testing."""
with (
patch("supervisor.utils.sentry.sentry_connected", return_value=True),
patch("supervisor.utils.sentry.sentry_sdk.is_initialized", return_value=True),
patch(
"supervisor.utils.sentry.sentry_sdk.capture_exception"
) as capture_exception,
@@ -682,7 +682,7 @@ async def capture_exception() -> Mock:
async def capture_event() -> Mock:
"""Mock capture event for testing."""
with (
patch("supervisor.utils.sentry.sentry_connected", return_value=True),
patch("supervisor.utils.sentry.sentry_sdk.is_initialized", return_value=True),
patch("supervisor.utils.sentry.sentry_sdk.capture_event") as capture_event,
):
yield capture_event