Skip to content

Commit 74e5da9

Browse files
authored
fix(deps): exclude sentry-sdk 2.69.0, which corrupts SigV4-signed headers (#263)
1 parent b44d10c commit 74e5da9

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

‎pyproject.toml‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,12 @@ sentry = [
5050
# SentryInstrument.bootstrap) -- the higher floor wins.
5151
# 2.1 predates Python 3.13's FrameLocalsProxy, which the SDK fails to pickle when capturing a
5252
# request, and 3.14 needs later fixes again. Marked rather than raised, so 3.10-3.12 keep 2.1.
53-
"sentry-sdk>=2.1; python_version < '3.13'",
54-
"sentry-sdk>=2.11; python_version == '3.13'",
55-
"sentry-sdk>=2.59; python_version >= '3.14'",
53+
# 2.69.0 signs `sentry-trace`/`baggage` into SigV4 SignedHeaders and then rewrites them after
54+
# signing, so every aiobotocore AWS call inside a transaction fails with SignatureDoesNotMatch
55+
# (getsentry/sentry-python#7426, fixed in 2.69.1).
56+
"sentry-sdk>=2.1,!=2.69.0; python_version < '3.13'",
57+
"sentry-sdk>=2.11,!=2.69.0; python_version == '3.13'",
58+
"sentry-sdk>=2.59,!=2.69.0; python_version >= '3.14'",
5659
]
5760
pyroscope = [
5861
# >=0.7.2 for pyroscope.shutdown() (PyroscopeInstrument.teardown); 0.7.1 and below carry

0 commit comments

Comments
 (0)