chore(deps): Bump sentry-sdk from 2.14.0 to 2.15.0 in /experimenter/tests (#11505)

Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from
2.14.0 to 2.15.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/getsentry/sentry-python/releases">sentry-sdk's
releases</a>.</em></p>
<blockquote>
<h2>2.15.0</h2>
<h3>Integrations</h3>
<ul>
<li>
<p>Configure HTTP methods to capture in ASGI/WSGI middleware and
frameworks (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3531">#3531</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
<p>We've added a new option to the Django, Flask, Starlette and FastAPI
integrations called <code>http_methods_to_capture</code>. This is a
configurable tuple of HTTP method verbs that should create a transaction
in Sentry. The default is <code>(&quot;CONNECT&quot;,
&quot;DELETE&quot;, &quot;GET&quot;, &quot;PATCH&quot;,
&quot;POST&quot;, &quot;PUT&quot;, &quot;TRACE&quot;,)</code>.
<code>OPTIONS</code> and <code>HEAD</code> are not included by
default.</p>
<p>Here's how to use it (substitute Flask for your framework
integration):</p>
<pre lang="python"><code>sentry_sdk.init(
    integrations=[
      FlaskIntegration(
          http_methods_to_capture=(&quot;GET&quot;, &quot;POST&quot;),
      ),
  ],
)
<p></code></pre></p>
</li>
<li>
<p>Django: Allow ASGI to use <code>drf_request</code> in
<code>DjangoRequestExtractor</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3572">#3572</a>)
by <a href="https://github.com/PakawiNz"><code>@​PakawiNz</code></a></p>
</li>
<li>
<p>Django: Don't let <code>RawPostDataException</code> bubble up (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3553">#3553</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
</li>
<li>
<p>Django: Add <code>sync_capable</code> to
<code>SentryWrappingMiddleware</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3510">#3510</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>AIOHTTP: Add <code>failed_request_status_codes</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3551">#3551</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
<p>You can now define a set of integers that will determine which status
codes
should be reported to Sentry.</p>
<pre lang="python"><code>sentry_sdk.init(
    integrations=[
        AioHttpIntegration(
            failed_request_status_codes={403, *range(500, 600)},
        )
    ]
)
</code></pre>
<p>Examples of valid <code>failed_request_status_codes</code>:</p>
<ul>
<li><code>{500}</code> will only send events on HTTP 500.</li>
<li><code>{400, *range(500, 600)}</code> will send events on HTTP 400 as
well as the 5xx range.</li>
<li><code>{500, 503}</code> will send events on HTTP 500 and 503.</li>
<li><code>set()</code> (the empty set) will not send events for any HTTP
status code.</li>
</ul>
<p>The default is <code>{*range(500, 600)}</code>, meaning that all 5xx
status codes are reported to Sentry.</p>
</li>
<li>
<p>AIOHTTP: Delete test which depends on AIOHTTP behavior (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3568">#3568</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>AIOHTTP: Handle invalid responses (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3554">#3554</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>FastAPI/Starlette: Support new
<code>failed_request_status_codes</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3563">#3563</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
<p>The format of <code>failed_request_status_codes</code> has changed
from a list</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md">sentry-sdk's
changelog</a>.</em></p>
<blockquote>
<h2>2.15.0</h2>
<h3>Integrations</h3>
<ul>
<li>
<p>Configure HTTP methods to capture in ASGI/WSGI middleware and
frameworks (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3531">#3531</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
<p>We've added a new option to the Django, Flask, Starlette and FastAPI
integrations called <code>http_methods_to_capture</code>. This is a
configurable tuple of HTTP method verbs that should create a transaction
in Sentry. The default is <code>(&quot;CONNECT&quot;,
&quot;DELETE&quot;, &quot;GET&quot;, &quot;PATCH&quot;,
&quot;POST&quot;, &quot;PUT&quot;, &quot;TRACE&quot;,)</code>.
<code>OPTIONS</code> and <code>HEAD</code> are not included by
default.</p>
<p>Here's how to use it (substitute Flask for your framework
integration):</p>
<pre lang="python"><code>sentry_sdk.init(
    integrations=[
      FlaskIntegration(
          http_methods_to_capture=(&quot;GET&quot;, &quot;POST&quot;),
      ),
  ],
)
<p></code></pre></p>
</li>
<li>
<p>Django: Allow ASGI to use <code>drf_request</code> in
<code>DjangoRequestExtractor</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3572">#3572</a>)
by <a href="https://github.com/PakawiNz"><code>@​PakawiNz</code></a></p>
</li>
<li>
<p>Django: Don't let <code>RawPostDataException</code> bubble up (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3553">#3553</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
</li>
<li>
<p>Django: Add <code>sync_capable</code> to
<code>SentryWrappingMiddleware</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3510">#3510</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>AIOHTTP: Add <code>failed_request_status_codes</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3551">#3551</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
<p>You can now define a set of integers that will determine which status
codes
should be reported to Sentry.</p>
<pre lang="python"><code>sentry_sdk.init(
    integrations=[
        AioHttpIntegration(
            failed_request_status_codes={403, *range(500, 600)},
        )
    ]
)
</code></pre>
<p>Examples of valid <code>failed_request_status_codes</code>:</p>
<ul>
<li><code>{500}</code> will only send events on HTTP 500.</li>
<li><code>{400, *range(500, 600)}</code> will send events on HTTP 400 as
well as the 5xx range.</li>
<li><code>{500, 503}</code> will send events on HTTP 500 and 503.</li>
<li><code>set()</code> (the empty set) will not send events for any HTTP
status code.</li>
</ul>
<p>The default is <code>{*range(500, 600)}</code>, meaning that all 5xx
status codes are reported to Sentry.</p>
</li>
<li>
<p>AIOHTTP: Delete test which depends on AIOHTTP behavior (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3568">#3568</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>AIOHTTP: Handle invalid responses (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3554">#3554</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>FastAPI/Starlette: Support new
<code>failed_request_status_codes</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3563">#3563</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="65909ed951"><code>65909ed</code></a>
Update CHANGELOG.md</li>
<li><a
href="97b6d9f345"><code>97b6d9f</code></a>
Fix changelog</li>
<li><a
href="5de346cc90"><code>5de346c</code></a>
Refactor changelog</li>
<li><a
href="7bee75f86d"><code>7bee75f</code></a>
release: 2.15.0</li>
<li><a
href="1c64ff787e"><code>1c64ff7</code></a>
Configure HTTP methods to capture in WSGI middleware and frameworks (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3531">#3531</a>)</li>
<li><a
href="a3ab1ea968"><code>a3ab1ea</code></a>
XFail one of the Lambda tests (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3592">#3592</a>)</li>
<li><a
href="05411ff4ff"><code>05411ff</code></a>
allowing ASGI to use drf_request in DjangoRequestExtractor (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3572">#3572</a>)</li>
<li><a
href="4636afcaaa"><code>4636afc</code></a>
fix(tracing): Fix <code>add_query_source</code> with modules outside of
project root (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3">#3</a>...</li>
<li><a
href="aed18d4738"><code>aed18d4</code></a>
build(deps): bump actions/checkout from 4.1.7 to 4.2.0 (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3585">#3585</a>)</li>
<li><a
href="205591e2ed"><code>205591e</code></a>
Test more integrations on 3.13 (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3578">#3578</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/getsentry/sentry-python/compare/2.14.0...2.15.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sentry-sdk&package-manager=pip&previous-version=2.14.0&new-version=2.15.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
Dependabot will merge this PR once CI passes on it, as requested by
@jaredlockhart.

[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2024-10-07 14:07:02 -07:00 коммит произвёл GitHub
Родитель 938ddeac2d
Коммит d6d0109f1a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
2 изменённых файлов: 5 добавлений и 5 удалений

8
experimenter/tests/poetry.lock сгенерированный
Просмотреть файл

@ -1106,13 +1106,13 @@ websocket-client = ">=1.8,<2.0"
[[package]]
name = "sentry-sdk"
version = "2.14.0"
version = "2.15.0"
description = "Python client for Sentry (https://sentry.io)"
optional = false
python-versions = ">=3.6"
files = [
{file = "sentry_sdk-2.14.0-py2.py3-none-any.whl", hash = "sha256:b8bc3dc51d06590df1291b7519b85c75e2ced4f28d9ea655b6d54033503b5bf4"},
{file = "sentry_sdk-2.14.0.tar.gz", hash = "sha256:1e0e2eaf6dad918c7d1e0edac868a7bf20017b177f242cefe2a6bcd47955961d"},
{file = "sentry_sdk-2.15.0-py2.py3-none-any.whl", hash = "sha256:8fb0d1a4e1a640172f31502e4503543765a1fe8a9209779134a4ac52d4677303"},
{file = "sentry_sdk-2.15.0.tar.gz", hash = "sha256:a599e7d3400787d6f43327b973e55a087b931ba2c592a7a7afa691f8eb5e75e2"},
]
[package.dependencies]
@ -1716,4 +1716,4 @@ test = ["zope.security", "zope.testrunner"]
[metadata]
lock-version = "2.0"
python-versions = "^3.10"
content-hash = "1ac44002110a453d93cb897d29a48cfc89d9a2451929bbd6eca838f41e39f295"
content-hash = "4d6bc8a6afa9570fbc9684376d9dc479ddbb252d64d6556fb060335f37a490ea"

Просмотреть файл

@ -56,7 +56,7 @@ future = "^1.0.0"
parsimonious = "^0.10.0"
regex = "^2024.9.11"
pytest-sentry = "^0.3.0"
sentry-sdk = "^2.14.0"
sentry-sdk = "^2.15.0"
wrapt = "^1.16.0"
pytest-rerunfailures = "^14.0"
setuptools = "^70.3.0"