Skip to content

Commit db0d43a

Browse files
Bump sentry-sdk from 1.45.0 to 2.5.0 (#1013)
* Bump sentry-sdk from 1.45.0 to 2.5.0 Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 1.45.0 to 2.5.0. - [Release notes](https://github.com/getsentry/sentry-python/releases) - [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md) - [Commits](getsentry/sentry-python@1.45.0...2.5.0) --- updated-dependencies: - dependency-name: sentry-sdk dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Fix mock in unit test --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mathieu Leplatre <[email protected]>
1 parent 49c8133 commit db0d43a

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

poetry.lock

Lines changed: 10 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ uvicorn = {extras = ["standard"], version = "^0.30.1"}
1313
atlassian-python-api = "^3.41.13"
1414
dockerflow = {extras = ["fastapi"], version = "2024.4.2"}
1515
Jinja2 = "^3.1.4"
16-
sentry-sdk = {extras = ["fastapi"], version = "^1.45.0"}
16+
sentry-sdk = {extras = ["fastapi"], version = "^2.5.0"}
1717
pydantic-yaml = "^1.3.0"
1818
backoff = "^2.2.1"
1919
statsd = "^4.0.1"

tests/unit/test_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def test_traces_sampler(sampling_context, expected):
8181

8282
@pytest.mark.asyncio
8383
async def test_errors_are_reported_to_sentry(anon_client, bugzilla_webhook_request):
84-
with patch("sentry_sdk.hub.Hub.capture_event") as mocked:
84+
with patch("sentry_sdk.capture_event") as mocked:
8585
with patch("jbi.router.execute_or_queue", side_effect=ValueError):
8686
with pytest.raises(ValueError):
8787
anon_client.post(

0 commit comments

Comments
 (0)