Граф коммитов

143 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 40cc4affff
chore(deps): Bump sentry-sdk from 2.17.0 to 2.18.0 in /cirrus/server (#11690)
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from
2.17.0 to 2.18.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.18.0</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>Add LaunchDarkly and OpenFeature integration (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3648">#3648</a>)
by <a
href="https://github.com/cmanallen"><code>@​cmanallen</code></a></li>
<li>Correct typo in a comment (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3726">#3726</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>End <code>http.client</code> span on timeout (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3723">#3723</a>)
by <a
href="https://github.com/Zylphrex"><code>@​Zylphrex</code></a></li>
<li>Check for <code>h2</code> existence in HTTP/2 transport (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3690">#3690</a>)
by <a href="https://github.com/BYK"><code>@​BYK</code></a></li>
<li>Use <code>type()</code> instead when extracting frames (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3716">#3716</a>)
by <a
href="https://github.com/Zylphrex"><code>@​Zylphrex</code></a></li>
<li>Prefer <code>python_multipart</code> import over
<code>multipart</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3710">#3710</a>)
by <a
href="https://github.com/musicinmybrain"><code>@​musicinmybrain</code></a></li>
<li>Update active thread for asgi (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3669">#3669</a>)
by <a
href="https://github.com/Zylphrex"><code>@​Zylphrex</code></a></li>
<li>Only enable HTTP2 when DSN is HTTPS (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3678">#3678</a>)
by <a href="https://github.com/BYK"><code>@​BYK</code></a></li>
<li>Prepare for upstream Strawberry extension removal (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3649">#3649</a>)
by <a
href="https://github.com/DoctorJohn"><code>@​DoctorJohn</code></a></li>
<li>Enhance README with improved clarity and developer-friendly examples
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3667">#3667</a>)
by <a
href="https://github.com/UTSAVS26"><code>@​UTSAVS26</code></a></li>
<li>Run license compliance action on all PRs (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3699">#3699</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Run CodeQL action on all PRs (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3698">#3698</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Fix UTC assuming test (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3722">#3722</a>)
by <a href="https://github.com/BYK"><code>@​BYK</code></a></li>
<li>Exclude fakeredis 2.26.0 on py3.6 and 3.7 (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3695">#3695</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Unpin <code>pytest</code> for <code>tornado-latest</code> tests (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3714">#3714</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Install <code>pytest-asyncio</code> for <code>redis</code> tests
(Python 3.12-13) (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3706">#3706</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Clarify that only pinned tests are required (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3713">#3713</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Remove accidentally-committed print (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3712">#3712</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Disable broken RQ test in newly-released RQ 2.0 (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3708">#3708</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Unpin <code>pytest</code> for <code>celery</code> tests (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3701">#3701</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Unpin <code>pytest</code> on Python 3.8+ <code>gevent</code> tests
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3700">#3700</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Unpin <code>pytest</code> for Python 3.8+ <code>common</code> tests
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3697">#3697</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Remove <code>pytest</code> pin in
<code>requirements-devenv.txt</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3696">#3696</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Test with Falcon 4.0 (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3684">#3684</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
</ul>
</blockquote>
</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.18.0</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>Add LaunchDarkly and OpenFeature integration (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3648">#3648</a>)
by <a
href="https://github.com/cmanallen"><code>@​cmanallen</code></a></li>
<li>Correct typo in a comment (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3726">#3726</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>End <code>http.client</code> span on timeout (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3723">#3723</a>)
by <a
href="https://github.com/Zylphrex"><code>@​Zylphrex</code></a></li>
<li>Check for <code>h2</code> existence in HTTP/2 transport (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3690">#3690</a>)
by <a href="https://github.com/BYK"><code>@​BYK</code></a></li>
<li>Use <code>type()</code> instead when extracting frames (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3716">#3716</a>)
by <a
href="https://github.com/Zylphrex"><code>@​Zylphrex</code></a></li>
<li>Prefer <code>python_multipart</code> import over
<code>multipart</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3710">#3710</a>)
by <a
href="https://github.com/musicinmybrain"><code>@​musicinmybrain</code></a></li>
<li>Update active thread for asgi (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3669">#3669</a>)
by <a
href="https://github.com/Zylphrex"><code>@​Zylphrex</code></a></li>
<li>Only enable HTTP2 when DSN is HTTPS (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3678">#3678</a>)
by <a href="https://github.com/BYK"><code>@​BYK</code></a></li>
<li>Prepare for upstream Strawberry extension removal (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3649">#3649</a>)
by <a
href="https://github.com/DoctorJohn"><code>@​DoctorJohn</code></a></li>
<li>Enhance README with improved clarity and developer-friendly examples
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3667">#3667</a>)
by <a
href="https://github.com/UTSAVS26"><code>@​UTSAVS26</code></a></li>
<li>Run license compliance action on all PRs (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3699">#3699</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Run CodeQL action on all PRs (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3698">#3698</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Fix UTC assuming test (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3722">#3722</a>)
by <a href="https://github.com/BYK"><code>@​BYK</code></a></li>
<li>Exclude fakeredis 2.26.0 on py3.6 and 3.7 (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3695">#3695</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Unpin <code>pytest</code> for <code>tornado-latest</code> tests (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3714">#3714</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Install <code>pytest-asyncio</code> for <code>redis</code> tests
(Python 3.12-13) (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3706">#3706</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Clarify that only pinned tests are required (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3713">#3713</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Remove accidentally-committed print (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3712">#3712</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Disable broken RQ test in newly-released RQ 2.0 (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3708">#3708</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Unpin <code>pytest</code> for <code>celery</code> tests (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3701">#3701</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Unpin <code>pytest</code> on Python 3.8+ <code>gevent</code> tests
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3700">#3700</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Unpin <code>pytest</code> for Python 3.8+ <code>common</code> tests
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3697">#3697</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Remove <code>pytest</code> pin in
<code>requirements-devenv.txt</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3696">#3696</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Test with Falcon 4.0 (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3684">#3684</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="09946cb624"><code>09946cb</code></a>
Update CHANGELOG.md</li>
<li><a
href="0a8ef922b8"><code>0a8ef92</code></a>
release: 2.18.0</li>
<li><a
href="dd1117d63f"><code>dd1117d</code></a>
Add LaunchDarkly and OpenFeature integration (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3648">#3648</a>)</li>
<li><a
href="d06a1897e5"><code>d06a189</code></a>
docs(hub): Correct typo in a comment (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3726">#3726</a>)</li>
<li><a
href="5e2d2cf7fd"><code>5e2d2cf</code></a>
fix(tracing): End http.client span on timeout (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3723">#3723</a>)</li>
<li><a
href="5c5d98a793"><code>5c5d98a</code></a>
test: Fix UTC assuming test (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3722">#3722</a>)</li>
<li><a
href="ce9986cb19"><code>ce9986c</code></a>
fix(http2): Check for h2 existence (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3690">#3690</a>)</li>
<li><a
href="02d09346e6"><code>02d0934</code></a>
fix(profiling): Use <code>type()</code> instead when extracting frames
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3716">#3716</a>)</li>
<li><a
href="bf40090424"><code>bf40090</code></a>
test(tornado): Unpin <code>pytest</code> for <code>tornado-latest</code>
tests (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3714">#3714</a>)</li>
<li><a
href="000c8e6c4e"><code>000c8e6</code></a>
fix(starlette): Prefer python_multipart import over multipart (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3710">#3710</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/getsentry/sentry-python/compare/2.17.0...2.18.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.17.0&new-version=2.18.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-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>
2024-11-04 23:16:27 +00:00
Beth Rennie 212bd1bd47
chore(nimbus): Use new ENV KEY=value syntax in all Dockerfiles (#11680)
Because:

- Docker has deprecated `ENV KEY value` syntax and is now complaining
about our usage

This commit:

- updates our usage to the new syntax.

Fixes #11678
2024-11-01 19:07:02 +00:00
dependabot[bot] adaa4de781
chore(deps): Bump sentry-sdk from 2.16.0 to 2.17.0 in /cirrus/server (#11587)
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from
2.16.0 to 2.17.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.17.0</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>Add support for async calls in Anthropic and OpenAI integration (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3497">#3497</a>)
by <a href="https://github.com/vetyy"><code>@​vetyy</code></a></li>
<li>Allow custom transaction names in ASGI (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3664">#3664</a>)
by <a
href="https://github.com/sl0thentr0py"><code>@​sl0thentr0py</code></a></li>
<li>Langchain: Handle case when parent span wasn't traced (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3656">#3656</a>)
by <a
href="https://github.com/rbasoalto"><code>@​rbasoalto</code></a></li>
<li>Fix Anthropic integration when using tool calls (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3615">#3615</a>)
by <a href="https://github.com/kwnath"><code>@​kwnath</code></a></li>
<li>More defensive Django Spotlight middleware injection (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3665">#3665</a>)
by <a href="https://github.com/BYK"><code>@​BYK</code></a></li>
<li>Remove <code>ensure_integration_enabled_async</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3632">#3632</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>Test with newer Falcon version (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3644">#3644</a>,
<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3653">#3653</a>,
<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3662">#3662</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>Fix mypy (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3657">#3657</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>Fix flaky transport test (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3666">#3666</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>Remove pin on <code>sphinx</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3650">#3650</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>Bump <code>actions/checkout</code> from <code>4.2.0</code> to
<code>4.2.1</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3651">#3651</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
</ul>
</blockquote>
</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.17.0</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>Add support for async calls in Anthropic and OpenAI integration (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3497">#3497</a>)
by <a href="https://github.com/vetyy"><code>@​vetyy</code></a></li>
<li>Allow custom transaction names in ASGI (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3664">#3664</a>)
by <a
href="https://github.com/sl0thentr0py"><code>@​sl0thentr0py</code></a></li>
<li>Langchain: Handle case when parent span wasn't traced (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3656">#3656</a>)
by <a
href="https://github.com/rbasoalto"><code>@​rbasoalto</code></a></li>
<li>Fix Anthropic integration when using tool calls (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3615">#3615</a>)
by <a href="https://github.com/kwnath"><code>@​kwnath</code></a></li>
<li>More defensive Django Spotlight middleware injection (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3665">#3665</a>)
by <a href="https://github.com/BYK"><code>@​BYK</code></a></li>
<li>Remove <code>ensure_integration_enabled_async</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3632">#3632</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>Test with newer Falcon version (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3644">#3644</a>,
<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3653">#3653</a>,
<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3662">#3662</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>Fix mypy (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3657">#3657</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>Fix flaky transport test (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3666">#3666</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>Remove pin on <code>sphinx</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3650">#3650</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>Bump <code>actions/checkout</code> from <code>4.2.0</code> to
<code>4.2.1</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3651">#3651</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="e44c9eeafd"><code>e44c9ee</code></a>
Update CHANGELOG.md</li>
<li><a
href="ee30db346c"><code>ee30db3</code></a>
release: 2.17.0</li>
<li><a
href="365d9cf244"><code>365d9cf</code></a>
Fix flaky transport test (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3666">#3666</a>)</li>
<li><a
href="9ae58209ee"><code>9ae5820</code></a>
Add support for async calls in Anthropic and OpenAI integration (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3497">#3497</a>)</li>
<li><a
href="891afee6df"><code>891afee</code></a>
fix(spotlight): More defensive Django spotlight middleware injection (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3665">#3665</a>)</li>
<li><a
href="f493057fde"><code>f493057</code></a>
Allow custom transaction names in asgi (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3664">#3664</a>)</li>
<li><a
href="e463034c2c"><code>e463034</code></a>
tests: Falcon RC1 (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3662">#3662</a>)</li>
<li><a
href="deca5f2f01"><code>deca5f2</code></a>
build(deps): Remove pin on sphinx (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3650">#3650</a>)</li>
<li><a
href="302457dec2"><code>302457d</code></a>
build(deps): bump actions/checkout from 4.2.0 to 4.2.1 (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3651">#3651</a>)</li>
<li><a
href="846b8b26aa"><code>846b8b2</code></a>
fix(langchain): handle case when parent span wasn't traced (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3656">#3656</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/getsentry/sentry-python/compare/2.16.0...2.17.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.16.0&new-version=2.17.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-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>
Co-authored-by: Yashika Khurana <yashikakhuranayashika@gmail.com>
2024-10-23 17:41:35 +00:00
dependabot[bot] e660a7fb43
chore(deps): Bump ruff from 0.6.1 to 0.7.0 in /cirrus/server (#11588)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.1 to 0.7.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/releases">ruff's
releases</a>.</em></p>
<blockquote>
<h2>0.7.0</h2>
<h2>Release Notes</h2>
<p>Check out the <a href="https://astral.sh/blog/ruff-v0.7.0">blog
post</a> for a migration guide and overview of the changes!</p>
<h3>Breaking changes</h3>
<ul>
<li>The pytest rules <code>PT001</code> and <code>PT023</code> now
default to omitting the decorator parentheses when there are no
arguments
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12838">#12838</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/13292">#13292</a>).
This was a change that we attempted to make in Ruff v0.6.0, but only
partially made due to an error on our part.
See the <a href="https://astral.sh/blog/ruff-v0.7.0">blog post</a> for
more details.</li>
<li>The <code>useless-try-except</code> rule (in our
<code>tryceratops</code> category) has been recoded from
<code>TRY302</code> to
<code>TRY203</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13502">#13502</a>).
This ensures Ruff's code is consistent with
the same rule in the <a
href="https://github.com/guilatrova/tryceratops"><code>tryceratops</code></a>
linter.</li>
<li>The <code>lint.allow-unused-imports</code> setting has been removed
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/13677">#13677</a>).
Use
<a
href="https://docs.astral.sh/ruff/settings/#lint_pyflakes_allowed-unused-imports"><code>lint.pyflakes.allow-unused-imports</code></a>
instead.</li>
</ul>
<h3>Formatter preview style</h3>
<ul>
<li>Normalize implicit concatenated f-string quotes per part (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13539">#13539</a>)</li>
</ul>
<h3>Preview linter features</h3>
<ul>
<li>[<code>refurb</code>] implement
<code>hardcoded-string-charset</code> (FURB156) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13530">#13530</a>)</li>
<li>[<code>refurb</code>] Count codepoints not bytes for
<code>slice-to-remove-prefix-or-suffix (FURB188)</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13631">#13631</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>pylint</code>] Mark <code>PLE1141</code> fix as unsafe (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13629">#13629</a>)</li>
<li>[<code>flake8-async</code>] Consider async generators to be
&quot;checkpoints&quot; for <code>cancel-scope-no-checkpoint</code>
(<code>ASYNC100</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13639">#13639</a>)</li>
<li>[<code>flake8-bugbear</code>] Do not suggest setting parameter
<code>strict=</code> to <code>False</code> in <code>B905</code>
diagnostic message (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13656">#13656</a>)</li>
<li>[<code>flake8-todos</code>] Only flag the word &quot;TODO&quot;, not
words starting with &quot;todo&quot; (<code>TD006</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13640">#13640</a>)</li>
<li>[<code>pycodestyle</code>] Fix whitespace-related false positives
and false negatives inside type-parameter lists (<code>E231</code>,
<code>E251</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13704">#13704</a>)</li>
<li>[<code>flake8-simplify</code>] Stabilize preview behavior for
<code>SIM115</code> so that the rule can detect files
being opened from a wider range of standard-library functions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12959">#12959</a>).</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Add explanation of fixable in <code>--statistics</code> command (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13774">#13774</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>pyflakes</code>] Allow <code>ipytest</code> cell magic
(<code>F401</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13745">#13745</a>)</li>
<li>[<code>flake8-use-pathlib</code>] Fix <code>PTH123</code> false
positive when <code>open</code> is passed a file descriptor (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13616">#13616</a>)</li>
<li>[<code>flake8-bandit</code>] Detect patterns from multi line SQL
statements (<code>S608</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13574">#13574</a>)</li>
<li>[<code>flake8-pyi</code>] - Fix dropped expressions in
<code>PYI030</code> autofix (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13727">#13727</a>)</li>
</ul>
<h2>Contributors</h2>
<ul>
<li><a
href="https://github.com/AlexWaygood"><code>@​AlexWaygood</code></a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's
changelog</a>.</em></p>
<blockquote>
<h2>0.7.0</h2>
<p>Check out the <a href="https://astral.sh/blog/ruff-v0.7.0">blog
post</a> for a migration guide and overview of the changes!</p>
<h3>Breaking changes</h3>
<ul>
<li>The pytest rules <code>PT001</code> and <code>PT023</code> now
default to omitting the decorator parentheses when there are no
arguments
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/12838">#12838</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/13292">#13292</a>).
This was a change that we attempted to make in Ruff v0.6.0, but only
partially made due to an error on our part.
See the <a href="https://astral.sh/blog/ruff-v0.7.0">blog post</a> for
more details.</li>
<li>The <code>useless-try-except</code> rule (in our
<code>tryceratops</code> category) has been recoded from
<code>TRY302</code> to
<code>TRY203</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13502">#13502</a>).
This ensures Ruff's code is consistent with
the same rule in the <a
href="https://github.com/guilatrova/tryceratops"><code>tryceratops</code></a>
linter.</li>
<li>The <code>lint.allow-unused-imports</code> setting has been removed
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/13677">#13677</a>).
Use
<a
href="https://docs.astral.sh/ruff/settings/#lint_pyflakes_allowed-unused-imports"><code>lint.pyflakes.allow-unused-imports</code></a>
instead.</li>
</ul>
<h3>Formatter preview style</h3>
<ul>
<li>Normalize implicit concatenated f-string quotes per part (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13539">#13539</a>)</li>
</ul>
<h3>Preview linter features</h3>
<ul>
<li>[<code>refurb</code>] implement
<code>hardcoded-string-charset</code> (FURB156) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13530">#13530</a>)</li>
<li>[<code>refurb</code>] Count codepoints not bytes for
<code>slice-to-remove-prefix-or-suffix (FURB188)</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13631">#13631</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>pylint</code>] Mark <code>PLE1141</code> fix as unsafe (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13629">#13629</a>)</li>
<li>[<code>flake8-async</code>] Consider async generators to be
&quot;checkpoints&quot; for <code>cancel-scope-no-checkpoint</code>
(<code>ASYNC100</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13639">#13639</a>)</li>
<li>[<code>flake8-bugbear</code>] Do not suggest setting parameter
<code>strict=</code> to <code>False</code> in <code>B905</code>
diagnostic message (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13656">#13656</a>)</li>
<li>[<code>flake8-todos</code>] Only flag the word &quot;TODO&quot;, not
words starting with &quot;todo&quot; (<code>TD006</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13640">#13640</a>)</li>
<li>[<code>pycodestyle</code>] Fix whitespace-related false positives
and false negatives inside type-parameter lists (<code>E231</code>,
<code>E251</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13704">#13704</a>)</li>
<li>[<code>flake8-simplify</code>] Stabilize preview behavior for
<code>SIM115</code> so that the rule can detect files
being opened from a wider range of standard-library functions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12959">#12959</a>).</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Add explanation of fixable in <code>--statistics</code> command (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13774">#13774</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>pyflakes</code>] Allow <code>ipytest</code> cell magic
(<code>F401</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13745">#13745</a>)</li>
<li>[<code>flake8-use-pathlib</code>] Fix <code>PTH123</code> false
positive when <code>open</code> is passed a file descriptor (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13616">#13616</a>)</li>
<li>[<code>flake8-bandit</code>] Detect patterns from multi line SQL
statements (<code>S608</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13574">#13574</a>)</li>
<li>[<code>flake8-pyi</code>] - Fix dropped expressions in
<code>PYI030</code> autofix (<a
href="https://redirect.github.com/astral-sh/ruff/pull/13727">#13727</a>)</li>
</ul>
<h2>0.6.9</h2>
<h3>Preview features</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="5e6de4e0c6"><code>5e6de4e</code></a>
Changelog for Ruff v0.7 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13794">#13794</a>)</li>
<li><a
href="70e5c4a8ba"><code>70e5c4a</code></a>
Recode <code>TRY302</code> to <code>TRY203</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13502">#13502</a>)</li>
<li><a
href="9218d6bedc"><code>9218d6b</code></a>
Remove <code>allow-unused-imports</code> setting from the common lint
options (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13677">#13677</a>)</li>
<li><a
href="1b79ae9817"><code>1b79ae9</code></a>
[ruff-0.7] Stabilise the expansion of
<code>open-file-with-context-handler</code> to wor...</li>
<li><a
href="2b87587ac2"><code>2b87587</code></a>
[<code>flake8-pytest-style</code>] Fix defaults when
<code>lint.flake8-pytest-style</code> config s...</li>
<li><a
href="d1e15f6246"><code>d1e15f6</code></a>
Remove tab-size setting (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12835">#12835</a>)</li>
<li><a
href="89a82158a1"><code>89a8215</code></a>
Remove error messages for removed CLI aliases (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12833">#12833</a>)</li>
<li><a
href="202c6a6d75"><code>202c6a6</code></a>
Remove <code>output-format=text</code> setting (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12836">#12836</a>)</li>
<li><a
href="5c3c0c4705"><code>5c3c0c4</code></a>
[red-knot] Inference for comparison of union types (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13781">#13781</a>)</li>
<li><a
href="6b7a738825"><code>6b7a738</code></a>
Add explanation of fixable in <code>--statistics</code> command (<a
href="https://redirect.github.com/astral-sh/ruff/issues/13774">#13774</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.6.1...0.7.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.6.1&new-version=0.7.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-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>
Co-authored-by: Yashika Khurana <yashikakhuranayashika@gmail.com>
2024-10-21 22:41:39 +00:00
dependabot[bot] 7138078735
chore(deps): Bump uvicorn from 0.31.0 to 0.32.0 in /cirrus/server (#11586)
Bumps [uvicorn](https://github.com/encode/uvicorn) from 0.31.0 to
0.32.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/encode/uvicorn/releases">uvicorn's
releases</a>.</em></p>
<blockquote>
<h2>Version 0.32.0</h2>
<h2>Added</h2>
<ul>
<li>Officially support Python 3.13 (<a
href="https://redirect.github.com/encode/uvicorn/issues/2482">#2482</a>)</li>
<li>Warn when <code>max_request_limit</code> is exceeded (<a
href="https://redirect.github.com/encode/uvicorn/issues/2430">#2430</a>)</li>
</ul>
<hr />
<p><strong>Full Changelog</strong>: <a
href="https://github.com/encode/uvicorn/compare/0.31.1...0.32.0">https://github.com/encode/uvicorn/compare/0.31.1...0.32.0</a></p>
<h2>Version 0.31.1</h2>
<h2>Fixed</h2>
<ul>
<li>Support WebSockets 0.13.1 <a
href="https://redirect.github.com/encode/uvicorn/pull/2471">#2471</a></li>
<li>Restore support for <code>[*]</code> in trusted hosts <a
href="https://redirect.github.com/encode/uvicorn/pull/2480">#2480</a></li>
<li>Add <code>PathLike[str]</code> type hint for
<code>ssl_keyfile</code> <a
href="https://redirect.github.com/encode/uvicorn/pull/2481">#2481</a></li>
</ul>
<hr />
<p><strong>Full Changelog</strong>: <a
href="https://github.com/encode/uvicorn/compare/0.31.0...0.31.1">https://github.com/encode/uvicorn/compare/0.31.0...0.31.1</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/encode/uvicorn/blob/master/CHANGELOG.md">uvicorn's
changelog</a>.</em></p>
<blockquote>
<h2>0.32.0 (2024-10-15)</h2>
<h3>Added</h3>
<ul>
<li>Officially support Python 3.13 (<a
href="https://redirect.github.com/encode/uvicorn/issues/2482">#2482</a>)</li>
<li>Warn when <code>max_request_limit</code> is exceeded (<a
href="https://redirect.github.com/encode/uvicorn/issues/2430">#2430</a>)</li>
</ul>
<h2>0.31.1 (2024-10-09)</h2>
<h3>Fixed</h3>
<ul>
<li>Support WebSockets 0.13.1 (<a
href="https://redirect.github.com/encode/uvicorn/issues/2471">#2471</a>)</li>
<li>Restore support for <code>[*]</code> in trusted hosts (<a
href="https://redirect.github.com/encode/uvicorn/issues/2480">#2480</a>)</li>
<li>Add <code>PathLike[str]</code> type hint for
<code>ssl_keyfile</code> (<a
href="https://redirect.github.com/encode/uvicorn/issues/2481">#2481</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="fe3910083e"><code>fe39100</code></a>
Version 0.32.0 (<a
href="https://redirect.github.com/encode/uvicorn/issues/2485">#2485</a>)</li>
<li><a
href="967a2dce60"><code>967a2dc</code></a>
Support Python 3.13 (<a
href="https://redirect.github.com/encode/uvicorn/issues/2482">#2482</a>)</li>
<li><a
href="079f07a064"><code>079f07a</code></a>
feat(server): log warning when max request limit is exceeded (<a
href="https://redirect.github.com/encode/uvicorn/issues/2430">#2430</a>)</li>
<li><a
href="137f88ea32"><code>137f88e</code></a>
Version 0.31.1 (<a
href="https://redirect.github.com/encode/uvicorn/issues/2483">#2483</a>)</li>
<li><a
href="27d976a8f2"><code>27d976a</code></a>
Add <code>PathLike[str]</code> type hint for <code>ssl_keyfile</code>
(<a
href="https://redirect.github.com/encode/uvicorn/issues/2481">#2481</a>)</li>
<li><a
href="1ddd250dcf"><code>1ddd250</code></a>
Bump the python-packages group with 10 updates (<a
href="https://redirect.github.com/encode/uvicorn/issues/2478">#2478</a>)</li>
<li><a
href="108b1c9d1a"><code>108b1c9</code></a>
docs: fix configuration option for trusting forwarded IPs (<a
href="https://redirect.github.com/encode/uvicorn/issues/2479">#2479</a>)</li>
<li><a
href="a1783d864a"><code>a1783d8</code></a>
Add support for <code>[*]</code> in trusted hosts (<a
href="https://redirect.github.com/encode/uvicorn/issues/2480">#2480</a>)</li>
<li><a
href="6ffaaf7c2f"><code>6ffaaf7</code></a>
Update link to Hypercorn project (<a
href="https://redirect.github.com/encode/uvicorn/issues/2474">#2474</a>)</li>
<li><a
href="c7668ced8e"><code>c7668ce</code></a>
Upgrade websockets to 0.13.1 (<a
href="https://redirect.github.com/encode/uvicorn/issues/2471">#2471</a>)</li>
<li>See full diff in <a
href="https://github.com/encode/uvicorn/compare/0.31.0...0.32.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=uvicorn&package-manager=pip&previous-version=0.31.0&new-version=0.32.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-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>
2024-10-21 21:57:11 +00:00
dependabot[bot] 41bf084306
chore(deps): Bump sentry-sdk from 2.15.0 to 2.16.0 in /cirrus/server (#11540)
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from
2.15.0 to 2.16.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.16.0</h2>
<h3>Integrations</h3>
<ul>
<li>
<p>Bottle: Add <code>failed_request_status_codes</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3618">#3618</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=[
        BottleIntegration(
            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>Bottle: Delete never-reached code (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3605">#3605</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Redis: Remove flaky test (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3626">#3626</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
</li>
<li>
<p>Django: Improve getting <code>psycopg3</code> connection info (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3580">#3580</a>)
by <a href="https://github.com/nijel"><code>@​nijel</code></a></p>
</li>
<li>
<p>Django: Add <code>SpotlightMiddleware</code> when Spotlight is
enabled (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3600">#3600</a>)
by <a href="https://github.com/BYK"><code>@​BYK</code></a></p>
</li>
<li>
<p>Django: Open relevant error when <code>SpotlightMiddleware</code> is
on (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3614">#3614</a>)
by <a href="https://github.com/BYK"><code>@​BYK</code></a></p>
</li>
<li>
<p>Django: Support <code>http_methods_to_capture</code> in ASGI Django
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3607">#3607</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
<p>ASGI Django now also supports the
<code>http_methods_to_capture</code> integration option. 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:</p>
<pre lang="python"><code>sentry_sdk.init(
    integrations=[
        DjangoIntegration(
            http_methods_to_capture=(&quot;GET&quot;, &quot;POST&quot;),
        ),
    ],
)
</code></pre>
</li>
</ul>
<h3>Miscellaneous</h3>
<!-- 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.16.0</h2>
<h3>Integrations</h3>
<ul>
<li>
<p>Bottle: Add <code>failed_request_status_codes</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3618">#3618</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=[
        BottleIntegration(
            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>Bottle: Delete never-reached code (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3605">#3605</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Redis: Remove flaky test (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3626">#3626</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
</li>
<li>
<p>Django: Improve getting <code>psycopg3</code> connection info (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3580">#3580</a>)
by <a href="https://github.com/nijel"><code>@​nijel</code></a></p>
</li>
<li>
<p>Django: Add <code>SpotlightMiddleware</code> when Spotlight is
enabled (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3600">#3600</a>)
by <a href="https://github.com/BYK"><code>@​BYK</code></a></p>
</li>
<li>
<p>Django: Open relevant error when <code>SpotlightMiddleware</code> is
on (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3614">#3614</a>)
by <a href="https://github.com/BYK"><code>@​BYK</code></a></p>
</li>
<li>
<p>Django: Support <code>http_methods_to_capture</code> in ASGI Django
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3607">#3607</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
<p>ASGI Django now also supports the
<code>http_methods_to_capture</code> integration option. 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:</p>
<pre lang="python"><code>sentry_sdk.init(
    integrations=[
        DjangoIntegration(
            http_methods_to_capture=(&quot;GET&quot;, &quot;POST&quot;),
        ),
    ],
)
</code></pre>
</li>
</ul>
<h3>Miscellaneous</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="90986018b8"><code>9098601</code></a>
Fix changelog formatting</li>
<li><a
href="b73191073b"><code>b731910</code></a>
Update CHANGELOG.md</li>
<li><a
href="0df20a76a4"><code>0df20a7</code></a>
release: 2.16.0</li>
<li><a
href="01b468724a"><code>01b4687</code></a>
Remove flaky test (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3626">#3626</a>)</li>
<li><a
href="3945fc118f"><code>3945fc1</code></a>
Add 3.13 to setup.py (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3574">#3574</a>)</li>
<li><a
href="c110ff3843"><code>c110ff3</code></a>
Add 3.13 to basepython (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3589">#3589</a>)</li>
<li><a
href="d0eca65aa1"><code>d0eca65</code></a>
feat(bottle): Add <code>failed_request_status_codes</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3618">#3618</a>)</li>
<li><a
href="d34c99af36"><code>d34c99a</code></a>
feat: Add opportunistic Brotli compression (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3612">#3612</a>)</li>
<li><a
href="4f79aecf93"><code>4f79aec</code></a>
fix(django): improve getting psycopg3 connection info (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3580">#3580</a>)</li>
<li><a
href="2d2e548817"><code>2d2e548</code></a>
feat: Add <code>__notes__</code> support (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3620">#3620</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/getsentry/sentry-python/compare/2.15.0...2.16.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.15.0&new-version=2.16.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-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>
2024-10-15 15:57:33 +00:00
dependabot[bot] e29f1d7268
chore(deps): Bump black from 24.8.0 to 24.10.0 in /cirrus/server (#11497)
Bumps [black](https://github.com/psf/black) from 24.8.0 to 24.10.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/psf/black/releases">black's
releases</a>.</em></p>
<blockquote>
<h2>24.10.0</h2>
<h3>Highlights</h3>
<ul>
<li>Black is now officially tested with Python 3.13 and provides Python
3.13
mypyc-compiled wheels. (<a
href="https://redirect.github.com/psf/black/issues/4436">#4436</a>) (<a
href="https://redirect.github.com/psf/black/issues/4449">#4449</a>)</li>
<li>Black will issue an error when used with Python 3.12.5, due to an
upstream memory
safety issue in Python 3.12.5 that can cause Black's AST safety checks
to fail. Please
use Python 3.12.6 or Python 3.12.4 instead. (<a
href="https://redirect.github.com/psf/black/issues/4447">#4447</a>)</li>
<li>Black no longer supports running with Python 3.8 (<a
href="https://redirect.github.com/psf/black/issues/4452">#4452</a>)</li>
</ul>
<h3>Stable style</h3>
<ul>
<li>Fix crashes involving comments in parenthesised return types or
<code>X | Y</code> style unions.
(<a
href="https://redirect.github.com/psf/black/issues/4453">#4453</a>)</li>
<li>Fix skipping Jupyter cells with unknown <code>%%</code> magic (<a
href="https://redirect.github.com/psf/black/issues/4462">#4462</a>)</li>
</ul>
<h3>Preview style</h3>
<ul>
<li>Fix type annotation spacing between * and more complex type variable
tuple (i.e. <code>def fn(*args: *tuple[*Ts, T]) -&gt; None: pass</code>)
(<a
href="https://redirect.github.com/psf/black/issues/4440">#4440</a>)</li>
</ul>
<h3>Caching</h3>
<ul>
<li>Fix bug where the cache was shared between runs with and without
<code>--unstable</code> (<a
href="https://redirect.github.com/psf/black/issues/4466">#4466</a>)</li>
</ul>
<h3>Packaging</h3>
<ul>
<li>Upgrade version of mypyc used to 1.12 beta (<a
href="https://redirect.github.com/psf/black/issues/4450">#4450</a>) (<a
href="https://redirect.github.com/psf/black/issues/4449">#4449</a>)</li>
<li><code>blackd</code> now requires a newer version of aiohttp. (<a
href="https://redirect.github.com/psf/black/issues/4451">#4451</a>)</li>
</ul>
<h3>Output</h3>
<ul>
<li>Added Python target version information on parse error (<a
href="https://redirect.github.com/psf/black/issues/4378">#4378</a>)</li>
<li>Add information about Black version to internal error messages (<a
href="https://redirect.github.com/psf/black/issues/4457">#4457</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/psf/black/blob/main/CHANGES.md">black's
changelog</a>.</em></p>
<blockquote>
<h2>24.10.0</h2>
<h3>Highlights</h3>
<ul>
<li>Black is now officially tested with Python 3.13 and provides Python
3.13
mypyc-compiled wheels. (<a
href="https://redirect.github.com/psf/black/issues/4436">#4436</a>) (<a
href="https://redirect.github.com/psf/black/issues/4449">#4449</a>)</li>
<li>Black will issue an error when used with Python 3.12.5, due to an
upstream memory
safety issue in Python 3.12.5 that can cause Black's AST safety checks
to fail. Please
use Python 3.12.6 or Python 3.12.4 instead. (<a
href="https://redirect.github.com/psf/black/issues/4447">#4447</a>)</li>
<li>Black no longer supports running with Python 3.8 (<a
href="https://redirect.github.com/psf/black/issues/4452">#4452</a>)</li>
</ul>
<h3>Stable style</h3>
<ul>
<li>Fix crashes involving comments in parenthesised return types or
<code>X | Y</code> style unions.
(<a
href="https://redirect.github.com/psf/black/issues/4453">#4453</a>)</li>
<li>Fix skipping Jupyter cells with unknown <code>%%</code> magic (<a
href="https://redirect.github.com/psf/black/issues/4462">#4462</a>)</li>
</ul>
<h3>Preview style</h3>
<ul>
<li>Fix type annotation spacing between * and more complex type variable
tuple (i.e. <code>def fn(*args: *tuple[*Ts, T]) -&gt; None: pass</code>)
(<a
href="https://redirect.github.com/psf/black/issues/4440">#4440</a>)</li>
</ul>
<h3>Caching</h3>
<ul>
<li>Fix bug where the cache was shared between runs with and without
<code>--unstable</code> (<a
href="https://redirect.github.com/psf/black/issues/4466">#4466</a>)</li>
</ul>
<h3>Packaging</h3>
<ul>
<li>Upgrade version of mypyc used to 1.12 beta (<a
href="https://redirect.github.com/psf/black/issues/4450">#4450</a>) (<a
href="https://redirect.github.com/psf/black/issues/4449">#4449</a>)</li>
<li><code>blackd</code> now requires a newer version of aiohttp. (<a
href="https://redirect.github.com/psf/black/issues/4451">#4451</a>)</li>
</ul>
<h3>Output</h3>
<ul>
<li>Added Python target version information on parse error (<a
href="https://redirect.github.com/psf/black/issues/4378">#4378</a>)</li>
<li>Add information about Black version to internal error messages (<a
href="https://redirect.github.com/psf/black/issues/4457">#4457</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="1b2427a2b7"><code>1b2427a</code></a>
Prepare release 24.10.0 (<a
href="https://redirect.github.com/psf/black/issues/4471">#4471</a>)</li>
<li><a
href="a22b1ebbfd"><code>a22b1eb</code></a>
Add mypyc 3.13 wheel build (<a
href="https://redirect.github.com/psf/black/issues/4449">#4449</a>)</li>
<li><a
href="b7d0e7212b"><code>b7d0e72</code></a>
Bump AndreMiras/coveralls-python-action from
65c1672f0b8a201702d86c81b79187df...</li>
<li><a
href="f1a2f92bba"><code>f1a2f92</code></a>
Include --unstable in cache key (<a
href="https://redirect.github.com/psf/black/issues/4466">#4466</a>)</li>
<li><a
href="8d9d18c033"><code>8d9d18c</code></a>
Fix skipping Jupyter cells with unknown %% magic (<a
href="https://redirect.github.com/psf/black/issues/4462">#4462</a>)</li>
<li><a
href="bbfdba3a5e"><code>bbfdba3</code></a>
Fix docs CI: use venv for uv to fix 'failed to create directory' (<a
href="https://redirect.github.com/psf/black/issues/4460">#4460</a>)</li>
<li><a
href="8fb2add1f7"><code>8fb2add</code></a>
Use builtin generics (<a
href="https://redirect.github.com/psf/black/issues/4458">#4458</a>)</li>
<li><a
href="2a45cecf29"><code>2a45cec</code></a>
Fix crashes with comments in parentheses (<a
href="https://redirect.github.com/psf/black/issues/4453">#4453</a>)</li>
<li><a
href="b4d6d8632d"><code>b4d6d86</code></a>
Drop Python 3.8 support (<a
href="https://redirect.github.com/psf/black/issues/4452">#4452</a>)</li>
<li><a
href="ac018c16ca"><code>ac018c1</code></a>
Require newer aiohttp for blackd (<a
href="https://redirect.github.com/psf/black/issues/4451">#4451</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/psf/black/compare/24.8.0...24.10.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=black&package-manager=pip&previous-version=24.8.0&new-version=24.10.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-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>
2024-10-08 15:04:22 +00:00
dependabot[bot] 1a691ddc38
chore(deps): Bump sentry-sdk from 2.14.0 to 2.15.0 in /cirrus/server (#11498)
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-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>
2024-10-07 20:55:01 +00:00
dependabot[bot] 8be01b1ac8
chore(deps): Bump uvicorn from 0.30.1 to 0.31.0 in /cirrus/server (#11454)
Bumps [uvicorn](https://github.com/encode/uvicorn) from 0.30.1 to
0.31.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/encode/uvicorn/releases">uvicorn's
releases</a>.</em></p>
<blockquote>
<h2>Version 0.31.0</h2>
<h3>Added</h3>
<p>Improve <code>ProxyHeadersMiddleware</code> (<a
href="https://redirect.github.com/encode/uvicorn/issues/2468">#2468</a>)
and (<a
href="https://redirect.github.com/encode/uvicorn/issues/2231">#2231</a>):</p>
<ul>
<li>Fix the host for requests from clients running on the proxy server
itself.</li>
<li>Fallback to host that was already set for empty x-forwarded-for
headers.</li>
<li>Also allow specifying IP Networks as trusted hosts. This greatly
simplifies deployments
on docker swarm/Kubernetes, where the reverse proxy might have a dynamic
IP.
<ul>
<li>This includes support for IPv6 Address/Networks.</li>
</ul>
</li>
</ul>
<hr />
<p><strong>Full Changelog</strong>: <a
href="https://github.com/encode/uvicorn/compare/0.30.6...0.31.0">https://github.com/encode/uvicorn/compare/0.30.6...0.31.0</a></p>
<h2>Version 0.30.6</h2>
<h3>Fixed</h3>
<ul>
<li>Don't warn when upgrade is not WebSocket and depedencies are
installed (<a
href="https://redirect.github.com/encode/uvicorn/issues/2360">#2360</a>)</li>
</ul>
<hr />
<p><strong>Full Changelog</strong>: <a
href="https://github.com/encode/uvicorn/compare/0.30.5...0.30.6">https://github.com/encode/uvicorn/compare/0.30.5...0.30.6</a></p>
<h2>Version 0.30.5</h2>
<h3>Fixed</h3>
<ul>
<li>Don't close connection before receiving body on H11 (<a
href="https://redirect.github.com/encode/uvicorn/issues/2408">#2408</a>)</li>
</ul>
<hr />
<p><strong>Full Changelog</strong>: <a
href="https://github.com/encode/uvicorn/compare/0.30.4...0.30.5">https://github.com/encode/uvicorn/compare/0.30.4...0.30.5</a></p>
<h2>Version 0.30.4</h2>
<h3>Fixed</h3>
<ul>
<li>Close connection when <code>h11</code> sets client state to
<code>MUST_CLOSE</code> <a
href="https://redirect.github.com/encode/uvicorn/pull/2375">#2375</a></li>
</ul>
<hr />
<p><strong>Full Changelog</strong>: <a
href="https://github.com/encode/uvicorn/compare/0.30.3...0.30.4">https://github.com/encode/uvicorn/compare/0.30.3...0.30.4</a></p>
<h2>Version 0.30.3</h2>
<h2>Fixed</h2>
<ul>
<li>Suppress <code>KeyboardInterrupt</code> from CLI and programmatic
usage (<a
href="https://redirect.github.com/encode/uvicorn/issues/2384">#2384</a>)</li>
<li><code>ClientDisconnect</code> inherits from <code>OSError</code>
instead of <code>IOError</code> (<a
href="https://redirect.github.com/encode/uvicorn/issues/2393">#2393</a>)</li>
</ul>
<hr />
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/encode/uvicorn/blob/master/CHANGELOG.md">uvicorn's
changelog</a>.</em></p>
<blockquote>
<h2>0.31.0 (2024-09-27)</h2>
<h3>Added</h3>
<p>Improve <code>ProxyHeadersMiddleware</code> (<a
href="https://redirect.github.com/encode/uvicorn/issues/2468">#2468</a>)
and (<a
href="https://redirect.github.com/encode/uvicorn/issues/2231">#2231</a>):</p>
<ul>
<li>Fix the host for requests from clients running on the proxy server
itself.</li>
<li>Fallback to host that was already set for empty x-forwarded-for
headers.</li>
<li>Also allow to specify IP Networks as trusted hosts. This greatly
simplifies deployments
on docker swarm/kubernetes, where the reverse proxy might have a dynamic
IP.
<ul>
<li>This includes support for IPv6 Address/Networks.</li>
</ul>
</li>
</ul>
<h2>0.30.6 (2024-08-13)</h2>
<h3>Fixed</h3>
<ul>
<li>Don't warn when upgrade is not WebSocket and depedencies are
installed (<a
href="https://redirect.github.com/encode/uvicorn/issues/2360">#2360</a>)</li>
</ul>
<h2>0.30.5 (2024-08-02)</h2>
<h3>Fixed</h3>
<ul>
<li>Don't close connection before receiving body on H11 (<a
href="https://redirect.github.com/encode/uvicorn/issues/2408">#2408</a>)</li>
</ul>
<h2>0.30.4 (2024-07-31)</h2>
<h3>Fixed</h3>
<ul>
<li>Close connection when <code>h11</code> sets client state to
<code>MUST_CLOSE</code> (<a
href="https://redirect.github.com/encode/uvicorn/issues/2375">#2375</a>)</li>
</ul>
<h2>0.30.3 (2024-07-20)</h2>
<h3>Fixed</h3>
<ul>
<li>Suppress <code>KeyboardInterrupt</code> from CLI and programmatic
usage (<a
href="https://redirect.github.com/encode/uvicorn/issues/2384">#2384</a>)</li>
<li><code>ClientDisconnect</code> inherits from <code>OSError</code>
instead of <code>IOError</code> (<a
href="https://redirect.github.com/encode/uvicorn/issues/2393">#2393</a>)</li>
</ul>
<h2>0.30.2 (2024-07-20)</h2>
<h3>Added</h3>
<ul>
<li>Add <code>reason</code> support to <a
href="https://asgi.readthedocs.io/en/latest/specs/www.html#disconnect-receive-event-ws"><code>websocket.disconnect</code></a>
event (<a
href="https://redirect.github.com/encode/uvicorn/issues/2324">#2324</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Iterate subprocesses in-place on the process manager (<a
href="https://redirect.github.com/encode/uvicorn/issues/2373">#2373</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="a50753268a"><code>a507532</code></a>
Version 0.31.0 (<a
href="https://redirect.github.com/encode/uvicorn/issues/2469">#2469</a>)</li>
<li><a
href="84dd2c403d"><code>84dd2c4</code></a>
Improve ProxyHeadersMiddleware (<a
href="https://redirect.github.com/encode/uvicorn/issues/2468">#2468</a>)</li>
<li><a
href="3d26ab4659"><code>3d26ab4</code></a>
Bump cryptography from 42.0.8 to 43.0.1 (<a
href="https://redirect.github.com/encode/uvicorn/issues/2453">#2453</a>)</li>
<li><a
href="47304d9ae7"><code>47304d9</code></a>
Add tests and requirements.txt to sdist (<a
href="https://redirect.github.com/encode/uvicorn/issues/2438">#2438</a>)</li>
<li><a
href="1cb0c32891"><code>1cb0c32</code></a>
Add missing init files in the test suite (<a
href="https://redirect.github.com/encode/uvicorn/issues/2432">#2432</a>)</li>
<li><a
href="7dc027d5fb"><code>7dc027d</code></a>
Version 0.30.6 (<a
href="https://redirect.github.com/encode/uvicorn/issues/2428">#2428</a>)</li>
<li><a
href="587a1ccca5"><code>587a1cc</code></a>
fix: upgrade is not websocket and dependencies are installed, should not
warn...</li>
<li><a
href="cee31a6891"><code>cee31a6</code></a>
test(signal): add sleep to ensure shutdown completion (<a
href="https://redirect.github.com/encode/uvicorn/issues/2427">#2427</a>)</li>
<li><a
href="eba64efbc8"><code>eba64ef</code></a>
ci: timeout for test suite runs to 30 minutes (<a
href="https://redirect.github.com/encode/uvicorn/issues/2426">#2426</a>)</li>
<li><a
href="0f513d26f2"><code>0f513d2</code></a>
Remove signal testing order dependency (<a
href="https://redirect.github.com/encode/uvicorn/issues/2382">#2382</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/encode/uvicorn/compare/0.30.1...0.31.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=uvicorn&package-manager=pip&previous-version=0.30.1&new-version=0.31.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-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>
2024-10-02 16:39:37 +00:00
dependabot[bot] 5b833a8916
chore(deps): Bump fastapi from 0.114.0 to 0.115.0 in /cirrus/server (#11422)
Bumps [fastapi](https://github.com/fastapi/fastapi) from 0.114.0 to
0.115.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/fastapi/fastapi/releases">fastapi's
releases</a>.</em></p>
<blockquote>
<h2>0.115.0</h2>
<h3>Highlights</h3>
<p>Now you can declare <code>Query</code>, <code>Header</code>, and
<code>Cookie</code> parameters with Pydantic models. 🎉</p>
<h4><code>Query</code> Parameter Models</h4>
<p>Use Pydantic models for <code>Query</code> parameters:</p>
<pre lang="python"><code>from typing import Annotated, Literal
<p>from fastapi import FastAPI, Query
from pydantic import BaseModel, Field</p>
<p>app = FastAPI()</p>
<p>class FilterParams(BaseModel):
limit: int = Field(100, gt=0, le=100)
offset: int = Field(0, ge=0)
order_by: Literal[&quot;created_at&quot;, &quot;updated_at&quot;] =
&quot;created_at&quot;
tags: list[str] = []</p>
<p><a
href="https://github.com/app"><code>@​app</code></a>.get(&quot;/items/&quot;)
async def read_items(filter_query: Annotated[FilterParams, Query()]):
return filter_query
</code></pre></p>
<p>Read the new docs: <a
href="https://fastapi.tiangolo.com/tutorial/query-param-models/">Query
Parameter Models</a>.</p>
<h4><code>Header</code> Parameter Models</h4>
<p>Use Pydantic models for <code>Header</code> parameters:</p>
<pre lang="python"><code>from typing import Annotated
<p>from fastapi import FastAPI, Header
from pydantic import BaseModel</p>
<p>app = FastAPI()</p>
<p>class CommonHeaders(BaseModel):
host: str
save_data: bool
if_modified_since: str | None = None
traceparent: str | None = None
&lt;/tr&gt;&lt;/table&gt;
</code></pre></p>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="40e33e492d"><code>40e33e4</code></a>
🔖 Release version 0.115.0</li>
<li><a
href="b36047b54a"><code>b36047b</code></a>
📝 Update release notes</li>
<li><a
href="7eadeb69bd"><code>7eadeb6</code></a>
📝 Update release notes</li>
<li><a
href="55035f440b"><code>55035f4</code></a>
 Add support for Pydantic models for parameters using
<code>Query</code>, <code>Cookie</code>, `He...</li>
<li><a
href="0903da78c9"><code>0903da7</code></a>
📝 Update release notes</li>
<li><a
href="4b2b14a8e8"><code>4b2b14a</code></a>
⬆ [pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/fastapi/fastapi/issues/12204">#12204</a>)</li>
<li><a
href="35df20c79c"><code>35df20c</code></a>
📝 Update release notes</li>
<li><a
href="8eb3c5621f"><code>8eb3c56</code></a>
🌐 Add Portuguese translation for
`docs/pt/docs/advanced/security/http-basic-a...</li>
<li><a
href="2ada1615a3"><code>2ada161</code></a>
🔖 Release version 0.114.2</li>
<li><a
href="3a5fd71f55"><code>3a5fd71</code></a>
📝 Update release notes</li>
<li>Additional commits viewable in <a
href="https://github.com/fastapi/fastapi/compare/0.114.0...0.115.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=fastapi&package-manager=pip&previous-version=0.114.0&new-version=0.115.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-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>
2024-09-24 06:06:54 +00:00
dependabot[bot] d939d680fc
chore(deps): Bump sentry-sdk from 2.13.0 to 2.14.0 in /cirrus/server (#11324)
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from
2.13.0 to 2.14.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.14.0</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>
<p>New <code>SysExitIntegration</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3401">#3401</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
<p>For more information, see the documentation for the <a
href="https://docs.sentry.io/platforms/python/integrations/sys_exit">SysExitIntegration</a>.</p>
</li>
<li>
<p>Add <code>SENTRY_SPOTLIGHT</code> env variable support (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3443">#3443</a>)
by <a href="https://github.com/BYK"><code>@​BYK</code></a></p>
</li>
<li>
<p>Support Strawberry <code>0.239.2</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3491">#3491</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Add separate <code>pii_denylist</code> to <code>EventScrubber</code>
and run it always (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3463">#3463</a>)
by <a
href="https://github.com/sl0thentr0py"><code>@​sl0thentr0py</code></a></p>
</li>
<li>
<p>Celery: Add wrapper for <code>Celery().send_task</code> to support
behavior as <code>Task.apply_async</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2377">#2377</a>)
by <a href="https://github.com/divaltor"><code>@​divaltor</code></a></p>
</li>
<li>
<p>Django: SentryWrappingMiddleware.<strong>init</strong> fails if
super() is object (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2466">#2466</a>)
by <a
href="https://github.com/cameron-simpson"><code>@​cameron-simpson</code></a></p>
</li>
<li>
<p>Fix data_category for sessions envelope items (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3473">#3473</a>)
by <a
href="https://github.com/sl0thentr0py"><code>@​sl0thentr0py</code></a></p>
</li>
<li>
<p>Fix non-UTC timestamps (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3461">#3461</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Remove obsolete object as superclass (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3480">#3480</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
</li>
<li>
<p>Replace custom <code>TYPE_CHECKING</code> with stdlib
<code>typing.TYPE_CHECKING</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3447">#3447</a>)
by <a
href="https://github.com/dev-satoshi"><code>@​dev-satoshi</code></a></p>
</li>
<li>
<p>Refactor <code>tracing_utils.py</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3452">#3452</a>)
by <a href="https://github.com/rominf"><code>@​rominf</code></a></p>
</li>
<li>
<p>Explicitly export symbol in subpackages instead of ignoring (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3400">#3400</a>)
by <a
href="https://github.com/hartungstenio"><code>@​hartungstenio</code></a></p>
</li>
<li>
<p>Better test coverage reports (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3498">#3498</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>Fixed config for old coverage versions (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3504">#3504</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>Fix AWS Lambda tests (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3495">#3495</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>Remove broken Bottle tests (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3505">#3505</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
</li>
</ul>
</blockquote>
</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.14.0</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>
<p>New <code>SysExitIntegration</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3401">#3401</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
<p>For more information, see the documentation for the <a
href="https://docs.sentry.io/platforms/python/integrations/sys_exit">SysExitIntegration</a>.</p>
</li>
<li>
<p>Add <code>SENTRY_SPOTLIGHT</code> env variable support (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3443">#3443</a>)
by <a href="https://github.com/BYK"><code>@​BYK</code></a></p>
</li>
<li>
<p>Support Strawberry <code>0.239.2</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3491">#3491</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Add separate <code>pii_denylist</code> to <code>EventScrubber</code>
and run it always (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3463">#3463</a>)
by <a
href="https://github.com/sl0thentr0py"><code>@​sl0thentr0py</code></a></p>
</li>
<li>
<p>Celery: Add wrapper for <code>Celery().send_task</code> to support
behavior as <code>Task.apply_async</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2377">#2377</a>)
by <a href="https://github.com/divaltor"><code>@​divaltor</code></a></p>
</li>
<li>
<p>Django: SentryWrappingMiddleware.<strong>init</strong> fails if
super() is object (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2466">#2466</a>)
by <a
href="https://github.com/cameron-simpson"><code>@​cameron-simpson</code></a></p>
</li>
<li>
<p>Fix data_category for sessions envelope items (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3473">#3473</a>)
by <a
href="https://github.com/sl0thentr0py"><code>@​sl0thentr0py</code></a></p>
</li>
<li>
<p>Fix non-UTC timestamps (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3461">#3461</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Remove obsolete object as superclass (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3480">#3480</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
</li>
<li>
<p>Replace custom <code>TYPE_CHECKING</code> with stdlib
<code>typing.TYPE_CHECKING</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3447">#3447</a>)
by <a
href="https://github.com/dev-satoshi"><code>@​dev-satoshi</code></a></p>
</li>
<li>
<p>Refactor <code>tracing_utils.py</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3452">#3452</a>)
by <a href="https://github.com/rominf"><code>@​rominf</code></a></p>
</li>
<li>
<p>Explicitly export symbol in subpackages instead of ignoring (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3400">#3400</a>)
by <a
href="https://github.com/hartungstenio"><code>@​hartungstenio</code></a></p>
</li>
<li>
<p>Better test coverage reports (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3498">#3498</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>Fixed config for old coverage versions (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3504">#3504</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>Fix AWS Lambda tests (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3495">#3495</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>Remove broken Bottle tests (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3505">#3505</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="1e73ce9fa1"><code>1e73ce9</code></a>
Updated changelog</li>
<li><a
href="3d0edfd638"><code>3d0edfd</code></a>
release: 2.14.0</li>
<li><a
href="6814df938c"><code>6814df9</code></a>
tests: Remove broken bottle tests (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3505">#3505</a>)</li>
<li><a
href="0934e04a2e"><code>0934e04</code></a>
Fixed config for old coverage versions (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3504">#3504</a>)</li>
<li><a
href="9fc3bd2375"><code>9fc3bd2</code></a>
Fix AWS Lambda tests (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3495">#3495</a>)</li>
<li><a
href="e99873d97a"><code>e99873d</code></a>
Better test coverage reports (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3498">#3498</a>)</li>
<li><a
href="0fb9606eca"><code>0fb9606</code></a>
feat(celery): Add wrapper for <code>Celery().send_task</code> to support
behavior as `Ta...</li>
<li><a
href="16d05f4e44"><code>16d05f4</code></a>
fix(django): SentryWrappingMiddleware.<strong>init</strong> fails if
super() is object</li>
<li><a
href="9df2b21447"><code>9df2b21</code></a>
feat(strawberry): Support Strawberry 0.239.2 (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3491">#3491</a>)</li>
<li><a
href="cd15bff1a8"><code>cd15bff</code></a>
ref: Remove obsolete object as superclass (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3480">#3480</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/getsentry/sentry-python/compare/2.13.0...2.14.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.13.0&new-version=2.14.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>
2024-09-09 21:05:00 +00:00
dependabot[bot] 9076959a8e
chore(deps): Bump fastapi from 0.112.0 to 0.114.0 in /cirrus/server (#11323)
Bumps [fastapi](https://github.com/fastapi/fastapi) from 0.112.0 to
0.114.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/fastapi/fastapi/releases">fastapi's
releases</a>.</em></p>
<blockquote>
<h2>0.114.0</h2>
<p>You can restrict form fields to only include those declared in a
Pydantic model and forbid any extra field sent in the request using
Pydantic's <code>model_config = {&quot;extra&quot;:
&quot;forbid&quot;}</code>:</p>
<pre lang="python"><code>from typing import Annotated
<p>from fastapi import FastAPI, Form
from pydantic import BaseModel</p>
<p>app = FastAPI()</p>
<p>class FormData(BaseModel):
username: str
password: str
model_config = {&quot;extra&quot;: &quot;forbid&quot;}</p>
<p><a
href="https://github.com/app"><code>@​app</code></a>.post(&quot;/login/&quot;)
async def login(data: Annotated[FormData, Form()]):
return data
</code></pre></p>
<p>Read the new docs: <a
href="https://fastapi.tiangolo.com/tutorial/request-form-models/#forbid-extra-form-fields">Form
Models - Forbid Extra Form Fields</a>.</p>
<h3>Features</h3>
<ul>
<li> Add support for forbidding extra form fields with Pydantic models.
PR <a
href="https://redirect.github.com/fastapi/fastapi/pull/12134">#12134</a>
by <a
href="https://github.com/tiangolo"><code>@​tiangolo</code></a>.</li>
</ul>
<h3>Docs</h3>
<ul>
<li>📝 Update docs, Form Models section title, to match config name. PR
<a
href="https://redirect.github.com/fastapi/fastapi/pull/12152">#12152</a>
by <a
href="https://github.com/tiangolo"><code>@​tiangolo</code></a>.</li>
</ul>
<h3>Internal</h3>
<ul>
<li> Update internal tests for latest Pydantic, including CI tweaks to
install the latest Pydantic. PR <a
href="https://redirect.github.com/fastapi/fastapi/pull/12147">#12147</a>
by <a
href="https://github.com/tiangolo"><code>@​tiangolo</code></a>.</li>
</ul>
<h2>0.113.0</h2>
<p>Now you can declare form fields with Pydantic models:</p>
<pre lang="python"><code>from typing import Annotated
<p>from fastapi import FastAPI, Form
from pydantic import BaseModel</p>
<p>app = FastAPI()</p>
<p>class FormData(BaseModel):
&lt;/tr&gt;&lt;/table&gt;
</code></pre></p>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="bde12faea2"><code>bde12fa</code></a>
🔖 Release version 0.114.0</li>
<li><a
href="74842f0a60"><code>74842f0</code></a>
📝 Update release notes</li>
<li><a
href="e68d8c60fb"><code>e68d8c6</code></a>
📝 Update release notes</li>
<li><a
href="4ff22a0c41"><code>4ff22a0</code></a>
📝 Update docs, Form Models section title, to match config name (<a
href="https://redirect.github.com/fastapi/fastapi/issues/12152">#12152</a>)</li>
<li><a
href="a11e392f5f"><code>a11e392</code></a>
📝 Update release notes</li>
<li><a
href="4633b1bca9"><code>4633b1b</code></a>
 Add support for forbidding extra form fields with Pydantic models (<a
href="https://redirect.github.com/fastapi/fastapi/issues/12134">#12134</a>)</li>
<li><a
href="1b06b53267"><code>1b06b53</code></a>
📝 Update release notes</li>
<li><a
href="c411b81c29"><code>c411b81</code></a>
 Update internal tests for latest Pydantic, including CI tweaks to
install t...</li>
<li><a
href="d86f660302"><code>d86f660</code></a>
🔖 Release version 0.113.0</li>
<li><a
href="179f838c36"><code>179f838</code></a>
📝 Update release notes</li>
<li>Additional commits viewable in <a
href="https://github.com/fastapi/fastapi/compare/0.112.0...0.114.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=fastapi&package-manager=pip&previous-version=0.112.0&new-version=0.114.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>
2024-09-09 20:29:03 +00:00
Yashika Khurana f725d5e3fe
feat(cirrus): Send preview flag in telemetry data (#11228)
Because

- We have added the support so that QA can use preview mode and can do
the enrollment

This commit

- Adds the information in the telemetry if its a preview mode enrollment

Fixes #11227
2024-08-28 20:27:31 +00:00
dependabot[bot] aa1c37e038
chore(deps): Bump pytest-asyncio from 0.23.2 to 0.23.8 in /cirrus/server (#11234)
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio)
from 0.23.2 to 0.23.8.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pytest-asyncio/releases">pytest-asyncio's
releases</a>.</em></p>
<blockquote>
<h2>pytest-asyncio 0.23.8</h2>
<h1>0.23.8 (2024-07-17)</h1>
<ul>
<li>Fixes a bug that caused duplicate markers in async tests <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/813">#813</a></li>
</ul>
<h2>Known issues</h2>
<p>As of v0.23, pytest-asyncio attaches an asyncio event loop to each
item of the test suite (i.e. session, packages, modules, classes,
functions) and allows tests to be run in those loops when marked
accordingly. Pytest-asyncio currently assumes that async fixture scope
is correlated with the new event loop scope. This prevents fixtures from
being evaluated independently from the event loop scope and breaks some
existing test suites (see <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/706">#706</a>).
For example, a test suite may require all fixtures and tests to run in
the same event loop, but have async fixtures that are set up and torn
down for each module. If you're affected by this issue, please continue
using the v0.21 release, until it is resolved.</p>
<h2>pytest-asyncio 0.23.7</h2>
<h1>0.23.7 (2024-05-19)</h1>
<ul>
<li>Silence deprecation warnings about unclosed event loops that
occurred with certain CPython patch releases <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/817">#817</a></li>
</ul>
<h2>Known issues</h2>
<p>As of v0.23, pytest-asyncio attaches an asyncio event loop to each
item of the test suite (i.e. session, packages, modules, classes,
functions) and allows tests to be run in those loops when marked
accordingly. Pytest-asyncio currently assumes that async fixture scope
is correlated with the new event loop scope. This prevents fixtures from
being evaluated independently from the event loop scope and breaks some
existing test suites (see <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/706">#706</a>).
For example, a test suite may require all fixtures and tests to run in
the same event loop, but have async fixtures that are set up and torn
down for each module. If you're affected by this issue, please continue
using the v0.21 release, until it is resolved.</p>
<h2>pytest-asyncio 0.23.6</h2>
<h1>0.23.6 (2024-03-19)</h1>
<ul>
<li>Fix compatibility with pytest 8.2 <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/800">#800</a></li>
</ul>
<h2>Known issues</h2>
<p>As of v0.23, pytest-asyncio attaches an asyncio event loop to each
item of the test suite (i.e. session, packages, modules, classes,
functions) and allows tests to be run in those loops when marked
accordingly. Pytest-asyncio currently assumes that async fixture scope
is correlated with the new event loop scope. This prevents fixtures from
being evaluated independently from the event loop scope and breaks some
existing test suites (see <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/706">#706</a>).
For example, a test suite may require all fixtures and tests to run in
the same event loop, but have async fixtures that are set up and torn
down for each module. If you're affected by this issue, please continue
using the v0.21 release, until it is resolved.</p>
<h2>pytest-asyncio 0.23.5.post1</h2>
<h1>0.23.5 (2024-02-09)</h1>
<ul>
<li>Declare compatibility with pytest 8 <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/737">#737</a></li>
<li>Fix typing errors with recent versions of mypy <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/769">#769</a></li>
<li>Prevent DeprecationWarning about internal use of
<code>asyncio.get_event_loop()</code> from affecting test cases <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/757">#757</a></li>
</ul>
<h2>Known issues</h2>
<p>As of v0.23, pytest-asyncio attaches an asyncio event loop to each
item of the test suite (i.e. session, packages, modules, classes,
functions) and allows tests to be run in those loops when marked
accordingly. Pytest-asyncio currently assumes that async fixture scope
is correlated with the new event loop scope. This prevents fixtures from
being evaluated independently from the event loop scope and breaks some
existing test suites (see <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/706">#706</a>).
For example, a test suite may require all fixtures and tests to run in
the same event loop, but have async fixtures that are set up and torn
down for each module. If you're affected by this issue, please continue
using the v0.21 release, until it is resolved.</p>
<h2>pytest-asyncio 0.23.5</h2>
<h1>0.23.5 (2024-02-09)</h1>
<ul>
<li>Declare compatibility with pytest 8 <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/737">#737</a></li>
<li>Fix typing errors with recent versions of mypy <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/769">#769</a></li>
<li>Prevent DeprecationWarning about internal use of
<code>asyncio.get_event_loop()</code> from affecting test cases <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/757">#757</a></li>
</ul>
<h2>Known issues</h2>
<p>As of v0.23, pytest-asyncio attaches an asyncio event loop to each
item of the test suite (i.e. session, packages, modules, classes,
functions) and allows tests to be run in those loops when marked
accordingly. Pytest-asyncio currently assumes that async fixture scope
is correlated with the new event loop scope. This prevents fixtures from
being evaluated independently from the event loop scope and breaks some
existing test suites (see <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/706">#706</a>).
For example, a test suite may require all fixtures and tests to run in
the same event loop, but have async fixtures that are set up and torn
down for each module. If you're affected by this issue, please continue
using the v0.21 release, until it is resolved.</p>
<h2>pytest-asyncio 0.23.5a0</h2>
<h1>0.23.5 (UNRELEASED)</h1>
<ul>
<li>Declare compatibility with pytest 8 <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/737">#737</a></li>
<li>Fix typing errors with recent versions of mypy <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/769">#769</a></li>
</ul>
<h2>Known issues</h2>
<p>As of v0.23, pytest-asyncio attaches an asyncio event loop to each
item of the test suite (i.e. session, packages, modules, classes,
functions) and allows tests to be run in those loops when marked
accordingly. Pytest-asyncio currently assumes that async fixture scope
is correlated with the new event loop scope. This prevents fixtures from
being evaluated independently from the event loop scope and breaks some
existing test suites (see <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/706">#706</a>).
For example, a test suite may require all fixtures and tests to run in
the same event loop, but have async fixtures that are set up and torn
down for each module. If you're affected by this issue, please continue
using the v0.21 release, until it is resolved.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4be86a5174"><code>4be86a5</code></a>
docs: Prepare release of v0.23.8.</li>
<li><a
href="74b3a0a205"><code>74b3a0a</code></a>
Build(deps): Bump exceptiongroup in /dependencies/default</li>
<li><a
href="b0009ca36a"><code>b0009ca</code></a>
[build] Declare support for Python 3.13.</li>
<li><a
href="c747c7db78"><code>c747c7d</code></a>
Build(deps): Bump coverage from 7.5.4 to 7.6.0 in
/dependencies/default</li>
<li><a
href="5c40a1cf8b"><code>5c40a1c</code></a>
Build(deps): Bump hypothesis in /dependencies/default</li>
<li><a
href="b735e8a8ef"><code>b735e8a</code></a>
build: Remove development dependency on Docker.</li>
<li><a
href="91171b41c2"><code>91171b4</code></a>
ci: Test with CPython 3.13.</li>
<li><a
href="d572138e09"><code>d572138</code></a>
Build(deps): Bump hypothesis in /dependencies/default</li>
<li><a
href="a89e4d7a89"><code>a89e4d7</code></a>
Build(deps): Bump certifi in /dependencies/docs</li>
<li><a
href="b646cc18a2"><code>b646cc1</code></a>
[fix] Fixed a bug that causes markers to be duplicated for async test
functions.</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest-asyncio/compare/v0.23.2...v0.23.8">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-asyncio&package-manager=pip&previous-version=0.23.2&new-version=0.23.8)](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-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>
2024-08-26 20:46:59 +00:00
dependabot[bot] 10a72ff137
chore(deps): Bump sentry-sdk from 2.12.0 to 2.13.0 in /cirrus/server (#11197)
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from
2.12.0 to 2.13.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.13.0</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>
<p><strong>New integration:</strong> <a
href="https://docs.sentry.io/platforms/python/integrations/ray/">Ray</a>
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2400">#2400</a>)
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2444">#2444</a>)
by <a href="https://github.com/glowskir"><code>@​glowskir</code></a></p>
<p>Usage: (add the RayIntegration to your <code>sentry_sdk.init()</code>
call and make sure it is called in the worker processes)</p>
<pre lang="python"><code>import ray
<p>import sentry_sdk
from sentry_sdk.integrations.ray import RayIntegration</p>
<p>def init_sentry():
sentry_sdk.init(
dsn=&quot;...&quot;,
traces_sample_rate=1.0,
integrations=[RayIntegration()],
)</p>
<p>init_sentry()</p>
<p>ray.init(
runtime_env=dict(worker_process_setup_hook=init_sentry),
)
</code></pre></p>
<p>For more information, see the documentation for the <a
href="https://docs.sentry.io/platforms/python/integrations/ray/">Ray
integration</a>.</p>
</li>
<li>
<p><strong>New integration:</strong> <a
href="https://docs.sentry.io/platforms/python/integrations/litestar/">Litestar</a>
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2413">#2413</a>)
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3358">#3358</a>)
by <a
href="https://github.com/KellyWalker"><code>@​KellyWalker</code></a></p>
<p>Usage: (add the LitestarIntegration to your
<code>sentry_sdk.init()</code>)</p>
<pre lang="python"><code>from litestar import Litestar, get
<p>import sentry_sdk
from sentry_sdk.integrations.litestar import LitestarIntegration</p>
<p>sentry_sdk.init(
dsn=&quot;...&quot;,
traces_sample_rate=1.0,
integrations=[LitestarIntegration()],
)</p>
<p><a
href="https://github.com/get"><code>@​get</code></a>(&quot;/&quot;)
async def index() -&gt; str:
return &quot;Hello, world!&quot;</p>
<p>app = Litestar(...)
</code></pre></p>
<p>For more information, see the documentation for the <a
href="https://docs.sentry.io/platforms/python/integrations/litestar/">Litestar
integration</a>.</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.13.0</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>
<p><strong>New integration:</strong> <a
href="https://docs.sentry.io/platforms/python/integrations/ray/">Ray</a>
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2400">#2400</a>)
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2444">#2444</a>)
by <a href="https://github.com/glowskir"><code>@​glowskir</code></a></p>
<p>Usage: (add the RayIntegration to your <code>sentry_sdk.init()</code>
call and make sure it is called in the worker processes)</p>
<pre lang="python"><code>import ray
<p>import sentry_sdk
from sentry_sdk.integrations.ray import RayIntegration</p>
<p>def init_sentry():
sentry_sdk.init(
dsn=&quot;...&quot;,
traces_sample_rate=1.0,
integrations=[RayIntegration()],
)</p>
<p>init_sentry()</p>
<p>ray.init(
runtime_env=dict(worker_process_setup_hook=init_sentry),
)
</code></pre></p>
<p>For more information, see the documentation for the <a
href="https://docs.sentry.io/platforms/python/integrations/ray/">Ray
integration</a>.</p>
</li>
<li>
<p><strong>New integration:</strong> <a
href="https://docs.sentry.io/platforms/python/integrations/litestar/">Litestar</a>
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2413">#2413</a>)
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3358">#3358</a>)
by <a
href="https://github.com/KellyWalker"><code>@​KellyWalker</code></a></p>
<p>Usage: (add the LitestarIntegration to your
<code>sentry_sdk.init()</code>)</p>
<pre lang="python"><code>from litestar import Litestar, get
<p>import sentry_sdk
from sentry_sdk.integrations.litestar import LitestarIntegration</p>
<p>sentry_sdk.init(
dsn=&quot;...&quot;,
traces_sample_rate=1.0,
integrations=[LitestarIntegration()],
)</p>
<p><a
href="https://github.com/get"><code>@​get</code></a>(&quot;/&quot;)
async def index() -&gt; str:
return &quot;Hello, world!&quot;</p>
<p>app = Litestar(...)
</code></pre></p>
<p>For more information, see the documentation for the <a
href="https://docs.sentry.io/platforms/python/integrations/litestar/">Litestar
integration</a>.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="570307c946"><code>570307c</code></a>
Updated changelog</li>
<li><a
href="4c1ea7adb4"><code>4c1ea7a</code></a>
release: 2.13.0</li>
<li><a
href="17a6cf0f41"><code>17a6cf0</code></a>
feat: Add ray integration support (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2400">#2400</a>)
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2444">#2444</a>)</li>
<li><a
href="4858996694"><code>4858996</code></a>
Expose custom_repr function that precedes safe_repr invocation in
serializer ...</li>
<li><a
href="275c63efe9"><code>275c63e</code></a>
ref(sessions): Deprecate hub-based <code>sessions.py</code> logic (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3419">#3419</a>)</li>
<li><a
href="6a4e72977c"><code>6a4e729</code></a>
ref(sessions): Deprecate <code>is_auto_session_tracking_enabled</code>
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3428">#3428</a>)</li>
<li><a
href="a6cb9b197a"><code>a6cb9b1</code></a>
Add note to generated yaml files (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3423">#3423</a>)</li>
<li><a
href="19c4069d6f"><code>19c4069</code></a>
test(sessions): Remove unnecessary line (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3418">#3418</a>)</li>
<li><a
href="da0392fbcc"><code>da0392f</code></a>
Dramatiq integration from <a
href="https://github.com/jacobsvante"><code>@​jacobsvante</code></a> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3397">#3397</a>)</li>
<li><a
href="7d46709eac"><code>7d46709</code></a>
Serialize vars early to avoid living references (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3409">#3409</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/getsentry/sentry-python/compare/2.12.0...2.13.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.12.0&new-version=2.13.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>
2024-08-19 20:53:14 +00:00
dependabot[bot] 753a493825
chore(deps): Bump setuptools from 68.2.0 to 70.0.0 in /cirrus/server (#11201)
Bumps [setuptools](https://github.com/pypa/setuptools) from 68.2.0 to
70.0.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pypa/setuptools/blob/main/NEWS.rst">setuptools's
changelog</a>.</em></p>
<blockquote>
<h1>v70.0.0</h1>
<h2>Features</h2>
<ul>
<li>Emit a warning when <code>[tools.setuptools]</code> is present in
<code>pyproject.toml</code> and will be ignored. -- by
:user:<code>SnoopJ</code> (<a
href="https://redirect.github.com/pypa/setuptools/issues/4150">#4150</a>)</li>
<li>Improved <code>AttributeError</code> error message if
<code>pkg_resources.EntryPoint.require</code> is called without extras
or distribution
Gracefully &quot;do nothing&quot; when trying to activate a
<code>pkg_resources.Distribution</code> with a <code>None</code>
location, rather than raising a <code>TypeError</code>
-- by :user:<code>Avasam</code> (<a
href="https://redirect.github.com/pypa/setuptools/issues/4262">#4262</a>)</li>
<li>Typed the dynamically defined variables from
<code>pkg_resources</code> -- by :user:<code>Avasam</code> (<a
href="https://redirect.github.com/pypa/setuptools/issues/4267">#4267</a>)</li>
<li>Modernized and refactored VCS handling in package_index. (<a
href="https://redirect.github.com/pypa/setuptools/issues/4332">#4332</a>)</li>
</ul>
<h2>Bugfixes</h2>
<ul>
<li>In install command, use super to call the superclass methods. Avoids
race conditions when monkeypatching from _distutils_system_mod occurs
late. (<a
href="https://redirect.github.com/pypa/setuptools/issues/4136">#4136</a>)</li>
<li>Fix finder template for lenient editable installs of implicit nested
namespaces
constructed by using <code>package_dir</code> to reorganise directory
structure. (<a
href="https://redirect.github.com/pypa/setuptools/issues/4278">#4278</a>)</li>
<li>Fix an error with <code>UnicodeDecodeError</code> handling in
<code>pkg_resources</code> when trying to read files in UTF-8 with a
fallback -- by :user:<code>Avasam</code> (<a
href="https://redirect.github.com/pypa/setuptools/issues/4348">#4348</a>)</li>
</ul>
<h2>Improved Documentation</h2>
<ul>
<li>Uses RST substitution to put badges in 1 line. (<a
href="https://redirect.github.com/pypa/setuptools/issues/4312">#4312</a>)</li>
</ul>
<h2>Deprecations and Removals</h2>
<ul>
<li>
<p>Further adoption of UTF-8 in <code>setuptools</code>.
This change regards mostly files produced and consumed during the build
process
(e.g. metadata files, script wrappers, automatically updated config
files, etc..)
Although precautions were taken to minimize disruptions, some edge cases
might
be subject to backwards incompatibility.</p>
<p>Support for <code>&quot;locale&quot;</code> encoding is now
<strong>deprecated</strong>. (<a
href="https://redirect.github.com/pypa/setuptools/issues/4309">#4309</a>)</p>
</li>
<li>
<p>Remove <code>setuptools.convert_path</code> after long deprecation
period.
This function was never defined by <code>setuptools</code> itself, but
rather a
side-effect of an import for internal usage. (<a
href="https://redirect.github.com/pypa/setuptools/issues/4322">#4322</a>)</p>
</li>
<li>
<p>Remove fallback for customisations of <code>distutils</code>'
<code>build.sub_command</code> after long
deprecated period.
Users are advised to import <code>build</code> directly from
<code>setuptools.command.build</code>. (<a
href="https://redirect.github.com/pypa/setuptools/issues/4322">#4322</a>)</p>
</li>
<li>
<p>Removed <code>typing_extensions</code> from vendored dependencies --
by :user:<code>Avasam</code> (<a
href="https://redirect.github.com/pypa/setuptools/issues/4324">#4324</a>)</p>
</li>
<li>
<p>Remove deprecated <code>setuptools.dep_util</code>.
The provided alternative is <code>setuptools.modified</code>. (<a
href="https://redirect.github.com/pypa/setuptools/issues/4360">#4360</a>)</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="5cbf12a9b6"><code>5cbf12a</code></a>
Workaround for release error in v70</li>
<li><a
href="9c1bcc3417"><code>9c1bcc3</code></a>
Bump version: 69.5.1 → 70.0.0</li>
<li><a
href="4dc0c31644"><code>4dc0c31</code></a>
Remove deprecated <code>setuptools.dep_util</code> (<a
href="https://redirect.github.com/pypa/setuptools/issues/4360">#4360</a>)</li>
<li><a
href="6c1ef5748d"><code>6c1ef57</code></a>
Remove xfail now that test passes. Ref <a
href="https://redirect.github.com/pypa/setuptools/issues/4371">#4371</a>.</li>
<li><a
href="d14fa0162c"><code>d14fa01</code></a>
Add all site-packages dirs when creating simulated environment for
test_edita...</li>
<li><a
href="6b7f7a18af"><code>6b7f7a1</code></a>
Prevent <code>bin</code> folders to be taken as extern packages when
vendoring (<a
href="https://redirect.github.com/pypa/setuptools/issues/4370">#4370</a>)</li>
<li><a
href="69141f69f8"><code>69141f6</code></a>
Add doctest for vendorised bin folder</li>
<li><a
href="2a53cc1200"><code>2a53cc1</code></a>
Prevent 'bin' folders to be taken as extern packages</li>
<li><a
href="720862807d"><code>7208628</code></a>
Replace call to deprecated <code>validate_pyproject</code> command (<a
href="https://redirect.github.com/pypa/setuptools/issues/4363">#4363</a>)</li>
<li><a
href="96d681aa40"><code>96d681a</code></a>
Remove call to deprecated validate_pyproject command</li>
<li>Additional commits viewable in <a
href="https://github.com/pypa/setuptools/compare/v68.2.0...v70.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=setuptools&package-manager=pip&previous-version=68.2.0&new-version=70.0.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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/mozilla/experimenter/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-19 20:53:10 +00:00
dependabot[bot] 7519f52ee7
chore(deps): Bump ruff from 0.5.0 to 0.6.1 in /cirrus/server (#11198)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.0 to 0.6.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/releases">ruff's
releases</a>.</em></p>
<blockquote>
<h2>0.6.1</h2>
<h2>Release Notes</h2>
<p>This is a hotfix release to address an issue with
<code>ruff-pre-commit</code>. In v0.6, Ruff changed its behavior to lint
and format Jupyter notebooks by default; however, due to an oversight,
these files were still excluded by default if Ruff was run via
pre-commit, leading to inconsistent behavior. This has <a
href="https://redirect.github.com/astral-sh/ruff-pre-commit/pull/96">now
been fixed</a>.</p>
<h3>Preview features</h3>
<ul>
<li>[<code>fastapi</code>] Implement
<code>fast-api-unused-path-parameter</code> (<code>FAST003</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12638">#12638</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>pylint</code>] Rename <code>too-many-positional</code> to
<code>too-many-positional-arguments</code> (<code>R0917</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12905">#12905</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Fix crash when applying &quot;fix-all&quot; code-action to notebook
cells (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12929">#12929</a>)</li>
</ul>
<h3>Other changes</h3>
<ul>
<li>[<code>flake8-naming</code>]: Respect import conventions
(<code>N817</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12922">#12922</a>)</li>
</ul>
<h2>Contributors</h2>
<ul>
<li><a
href="https://github.com/AlexWaygood"><code>@​AlexWaygood</code></a></li>
<li><a
href="https://github.com/JonathanPlasse"><code>@​JonathanPlasse</code></a></li>
<li><a
href="https://github.com/Matthieu-LAURENT39"><code>@​Matthieu-LAURENT39</code></a></li>
<li><a
href="https://github.com/MichaReiser"><code>@​MichaReiser</code></a></li>
<li><a href="https://github.com/carljm"><code>@​carljm</code></a></li>
<li><a
href="https://github.com/dhruvmanila"><code>@​dhruvmanila</code></a></li>
</ul>
<h2>Install ruff 0.6.1</h2>
<h3>Install prebuilt binaries via shell script</h3>
<pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf
https://github.com/astral-sh/ruff/releases/download/0.6.1/ruff-installer.sh
| sh
</code></pre>
<h3>Install prebuilt binaries via powershell script</h3>
<pre lang="sh"><code>powershell -c &quot;irm
https://github.com/astral-sh/ruff/releases/download/0.6.1/ruff-installer.ps1
| iex&quot;
</code></pre>
<h2>Download ruff 0.6.1</h2>
<table>
<thead>
<tr>
<th>File</th>
<th>Platform</th>
<th>Checksum</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.1/ruff-aarch64-apple-darwin.tar.gz">ruff-aarch64-apple-darwin.tar.gz</a></td>
<td>Apple Silicon macOS</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.1/ruff-aarch64-apple-darwin.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.1/ruff-x86_64-apple-darwin.tar.gz">ruff-x86_64-apple-darwin.tar.gz</a></td>
<td>Intel macOS</td>
<td><a
href="https://github.com/astral-sh/ruff/releases/download/0.6.1/ruff-x86_64-apple-darwin.tar.gz.sha256">checksum</a></td>
</tr>
</tbody>
</table>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's
changelog</a>.</em></p>
<blockquote>
<h2>0.6.1</h2>
<p>This is a hotfix release to address an issue with
<code>ruff-pre-commit</code>. In v0.6,
Ruff changed its behavior to lint and format Jupyter notebooks by
default;
however, due to an oversight, these files were still excluded by default
if
Ruff was run via pre-commit, leading to inconsistent behavior.
This has <a
href="https://redirect.github.com/astral-sh/ruff-pre-commit/pull/96">now
been fixed</a>.</p>
<h3>Preview features</h3>
<ul>
<li>[<code>fastapi</code>] Implement
<code>fast-api-unused-path-parameter</code> (<code>FAST003</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12638">#12638</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>pylint</code>] Rename <code>too-many-positional</code> to
<code>too-many-positional-arguments</code> (<code>R0917</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12905">#12905</a>)</li>
</ul>
<h3>Server</h3>
<ul>
<li>Fix crash when applying &quot;fix-all&quot; code-action to notebook
cells (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12929">#12929</a>)</li>
</ul>
<h3>Other changes</h3>
<ul>
<li>[<code>flake8-naming</code>]: Respect import conventions
(<code>N817</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12922">#12922</a>)</li>
</ul>
<h2>0.6.0</h2>
<p>Check out the <a href="https://astral.sh/blog/ruff-v0.6.0">blog
post</a> for a migration guide and overview of the changes!</p>
<h3>Breaking changes</h3>
<p>See also, the &quot;Remapped rules&quot; section which may result in
disabled rules.</p>
<ul>
<li>Lint and format Jupyter Notebook by default (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12878">#12878</a>).</li>
<li>Detect imports in <code>src</code> layouts by default for
<code>isort</code> rules (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12848">#12848</a>)</li>
<li>The pytest rules <code>PT001</code> and <code>PT023</code> now
default to omitting the decorator parentheses when there are no
arguments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/12838">#12838</a>).</li>
</ul>
<h3>Deprecations</h3>
<p>The following rules are now deprecated:</p>
<ul>
<li><a
href="https://docs.astral.sh/ruff/rules/pytest-missing-fixture-name-underscore/"><code>pytest-missing-fixture-name-underscore</code></a>
(<code>PT004</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/pytest-incorrect-fixture-name-underscore/"><code>pytest-incorrect-fixture-name-underscore</code></a>
(<code>PT005</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/unpacked-list-comprehension/"><code>unpacked-list-comprehension</code></a>
(<code>UP027</code>)</li>
</ul>
<h3>Remapped rules</h3>
<p>The following rules have been remapped to new rule codes:</p>
<ul>
<li><a
href="https://docs.astral.sh/ruff/rules/unnecessary-dict-comprehension-for-iterable/"><code>unnecessary-dict-comprehension-for-iterable</code></a>:
<code>RUF025</code> to <code>C420</code></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="499c0bd875"><code>499c0bd</code></a>
Bump version to 0.6.1 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12937">#12937</a>)</li>
<li><a
href="4cb30b598f"><code>4cb30b5</code></a>
<code>N817</code> docs: refer to the correct setting (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12935">#12935</a>)</li>
<li><a
href="aba0d83c11"><code>aba0d83</code></a>
[<code>flake8-naming</code>]: Respect import conventions
(<code>N817</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12922">#12922</a>)</li>
<li><a
href="c319414e54"><code>c319414</code></a>
Ignore blank line rules for docs formatting (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12934">#12934</a>)</li>
<li><a
href="ef1f6d98a0"><code>ef1f6d9</code></a>
Fix description of where the contributor list comes from in instructions
for ...</li>
<li><a
href="b850b812de"><code>b850b81</code></a>
Use cell source code instead of the concatenated one (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12929">#12929</a>)</li>
<li><a
href="a87b27c075"><code>a87b27c</code></a>
[red-knot] Add support for relative imports (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12910">#12910</a>)</li>
<li><a
href="9b73532b11"><code>9b73532</code></a>
[<code>flake8-async</code>] Fix examples to use <code>async with</code>
(<a
href="https://redirect.github.com/astral-sh/ruff/issues/12924">#12924</a>)</li>
<li><a
href="d8debb7a36"><code>d8debb7</code></a>
Simplify logic for <code>RUF027</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12907">#12907</a>)</li>
<li><a
href="bd4a947b29"><code>bd4a947</code></a>
[red-knot] Add symbol and definition for parameters (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12862">#12862</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/0.5.0...0.6.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.5.0&new-version=0.6.1)](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>
2024-08-19 20:38:29 +00:00
dependabot[bot] 87e5f97281
chore(deps): Bump sentry-sdk from 2.11.0 to 2.12.0 in /cirrus/server (#11151)
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from
2.11.0 to 2.12.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.12.0</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>API: Expose the scope getters to top level API and use them
everywhere (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3357">#3357</a>)
by <a
href="https://github.com/sl0thentr0py"><code>@​sl0thentr0py</code></a></li>
<li>API: <code>push_scope</code> deprecation warning (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3355">#3355</a>)
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3355">#3355</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>API: Replace <code>push_scope</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3353">#3353</a>,
<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3354">#3354</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>API: Deprecate, avoid, or stop using <code>configure_scope</code>
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3348">#3348</a>,
<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3349">#3349</a>,
<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3350">#3350</a>,
<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3351">#3351</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>OTel: Remove experimental autoinstrumentation (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3239">#3239</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>Graphene: Add span for grapqhl operation (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2788">#2788</a>)
by <a href="https://github.com/czyber"><code>@​czyber</code></a></li>
<li>AI: Add async support for <code>ai_track</code> decorator (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3376">#3376</a>)
by <a href="https://github.com/czyber"><code>@​czyber</code></a></li>
<li>CI: Workaround bug preventing Django test runs (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3371">#3371</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>CI: Remove Django setuptools pin (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3378">#3378</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Tests: Test with Django 5.1 RC (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3370">#3370</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>Broaden <code>add_attachment</code> type (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3342">#3342</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Add span data to the transactions trace context (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3374">#3374</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li>
<li>Gracefully fail attachment path not found case (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3337">#3337</a>)
by <a
href="https://github.com/sl0thentr0py"><code>@​sl0thentr0py</code></a></li>
<li>Document attachment parameters (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3342">#3342</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Bump checkouts/data-schemas from <code>0feb234</code> to
<code>6d2c435</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3369">#3369</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>Bump checkouts/data-schemas from <code>88273a9</code> to
<code>0feb234</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3252">#3252</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
</ul>
</blockquote>
</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.12.0</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>API: Expose the scope getters to top level API and use them
everywhere (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3357">#3357</a>)
by <a
href="https://github.com/sl0thentr0py"><code>@​sl0thentr0py</code></a></li>
<li>API: <code>push_scope</code> deprecation warning (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3355">#3355</a>)
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3355">#3355</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>API: Replace <code>push_scope</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3353">#3353</a>,
<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3354">#3354</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>API: Deprecate, avoid, or stop using <code>configure_scope</code>
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3348">#3348</a>,
<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3349">#3349</a>,
<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3350">#3350</a>,
<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3351">#3351</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>OTel: Remove experimental autoinstrumentation (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3239">#3239</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>Graphene: Add span for grapqhl operation (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2788">#2788</a>)
by <a href="https://github.com/czyber"><code>@​czyber</code></a></li>
<li>AI: Add async support for <code>ai_track</code> decorator (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3376">#3376</a>)
by <a href="https://github.com/czyber"><code>@​czyber</code></a></li>
<li>CI: Workaround bug preventing Django test runs (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3371">#3371</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>CI: Remove Django setuptools pin (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3378">#3378</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Tests: Test with Django 5.1 RC (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3370">#3370</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>Broaden <code>add_attachment</code> type (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3342">#3342</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Add span data to the transactions trace context (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3374">#3374</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li>
<li>Gracefully fail attachment path not found case (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3337">#3337</a>)
by <a
href="https://github.com/sl0thentr0py"><code>@​sl0thentr0py</code></a></li>
<li>Document attachment parameters (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3342">#3342</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Bump checkouts/data-schemas from <code>0feb234</code> to
<code>6d2c435</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3369">#3369</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>Bump checkouts/data-schemas from <code>88273a9</code> to
<code>0feb234</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3252">#3252</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="441c0f76c1"><code>441c0f7</code></a>
Updated changelog</li>
<li><a
href="ab3eb1f591"><code>ab3eb1f</code></a>
release: 2.12.0</li>
<li><a
href="f8e5d2fbb4"><code>f8e5d2f</code></a>
Add span data to the transactions trace context (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3374">#3374</a>)</li>
<li><a
href="0f3e5db0c8"><code>0f3e5db</code></a>
ci: Remove Django setuptools pin</li>
<li><a
href="b658e4b804"><code>b658e4b</code></a>
feat(integrations): Add async support for <code>ai_track</code>
decorator</li>
<li><a
href="fc5db4f8c1"><code>fc5db4f</code></a>
ref(otel): Remove experimental autoinstrumentation (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3239">#3239</a>)</li>
<li><a
href="6bb2081373"><code>6bb2081</code></a>
build(deps): bump checkouts/data-schemas from <code>0feb234</code> to
<code>6d2c435</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3369">#3369</a>)</li>
<li><a
href="2ce6677e05"><code>2ce6677</code></a>
tests: Test with Django 5.1 RC (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3370">#3370</a>)</li>
<li><a
href="bd293e56d5"><code>bd293e5</code></a>
Expose the scope getters to top level API and use them everywhere (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3357">#3357</a>)</li>
<li><a
href="c9765cdf9f"><code>c9765cd</code></a>
ci: Workaround bug preventing Django test runs (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3371">#3371</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/getsentry/sentry-python/compare/2.11.0...2.12.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.11.0&new-version=2.12.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-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>
2024-08-05 22:53:54 +00:00
dependabot[bot] 52661a4a95
chore(deps): Bump fastapi from 0.111.1 to 0.112.0 in /cirrus/server (#11152)
Bumps [fastapi](https://github.com/fastapi/fastapi) from 0.111.1 to
0.112.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/fastapi/fastapi/releases">fastapi's
releases</a>.</em></p>
<blockquote>
<h2>0.112.0</h2>
<h3>Breaking Changes</h3>
<ul>
<li>♻️ Add support for <code>pip install
&quot;fastapi[standard]&quot;</code> with standard dependencies and
<code>python -m fastapi</code>. PR <a
href="https://redirect.github.com/fastapi/fastapi/pull/11935">#11935</a>
by <a
href="https://github.com/tiangolo"><code>@​tiangolo</code></a>.</li>
</ul>
<h4>Summary</h4>
<p>Install with:</p>
<pre lang="bash"><code>pip install &quot;fastapi[standard]&quot;
</code></pre>
<h4>Other Changes</h4>
<ul>
<li>This adds support for calling the CLI as:</li>
</ul>
<pre lang="bash"><code>python -m python
</code></pre>
<ul>
<li>And it upgrades <code>fastapi-cli[standard] &gt;=0.0.5</code>.</li>
</ul>
<h4>Technical Details</h4>
<p>Before this, <code>fastapi</code> would include the standard
dependencies, with Uvicorn and the <code>fastapi-cli</code>, etc.</p>
<p>And <code>fastapi-slim</code> would not include those standard
dependencies.</p>
<p>Now <code>fastapi</code> doesn't include those standard dependencies
unless you install with <code>pip install
&quot;fastapi[standard]&quot;</code>.</p>
<p>Before, you would install <code>pip install fastapi</code>, now you
should include the <code>standard</code> optional dependencies (unless
you want to exclude one of those): <code>pip install
&quot;fastapi[standard]&quot;</code>.</p>
<p>This change is because having the standard optional dependencies
installed by default was being inconvenient to several users, and having
to install instead <code>fastapi-slim</code> was not being a feasible
solution.</p>
<p>Discussed here: <a
href="https://redirect.github.com/fastapi/fastapi/pull/11522">#11522</a>
and here: <a
href="https://github.com/fastapi/fastapi/discussions/11525">#11525</a></p>
<h3>Docs</h3>
<ul>
<li>✏️ Fix typos in docs. PR <a
href="https://redirect.github.com/fastapi/fastapi/pull/11926">#11926</a>
by <a
href="https://github.com/jianghuyiyuan"><code>@​jianghuyiyuan</code></a>.</li>
<li>📝 Tweak management docs. PR <a
href="https://redirect.github.com/fastapi/fastapi/pull/11918">#11918</a>
by <a
href="https://github.com/tiangolo"><code>@​tiangolo</code></a>.</li>
<li>🚚 Rename GitHub links from tiangolo/fastapi to fastapi/fastapi. PR
<a
href="https://redirect.github.com/fastapi/fastapi/pull/11913">#11913</a>
by <a
href="https://github.com/tiangolo"><code>@​tiangolo</code></a>.</li>
<li>📝 Add docs about FastAPI team and project management. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11908">#11908</a>
by <a
href="https://github.com/tiangolo"><code>@​tiangolo</code></a>.</li>
<li>📝 Re-structure docs main menu. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11904">#11904</a>
by <a
href="https://github.com/tiangolo"><code>@​tiangolo</code></a>.</li>
<li>📝 Update Speakeasy URL. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11871">#11871</a>
by <a
href="https://github.com/ndimares"><code>@​ndimares</code></a>.</li>
</ul>
<h3>Translations</h3>
<ul>
<li>🌐 Update Portuguese translation for
<code>docs/pt/docs/alternatives.md</code>. PR <a
href="https://redirect.github.com/fastapi/fastapi/pull/11931">#11931</a>
by <a href="https://github.com/ceb10n"><code>@​ceb10n</code></a>.</li>
<li>🌐 Add Russian translation for
<code>docs/ru/docs/tutorial/dependencies/sub-dependencies.md</code>. PR
<a
href="https://redirect.github.com/tiangolo/fastapi/pull/10515">#10515</a>
by <a
href="https://github.com/AlertRED"><code>@​AlertRED</code></a>.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="b2e233867c"><code>b2e2338</code></a>
🔖 Release version 0.112.0</li>
<li><a
href="003d45428f"><code>003d454</code></a>
📝 Update release notes</li>
<li><a
href="450bff65f4"><code>450bff6</code></a>
📝 Update release notes</li>
<li><a
href="a25c92ceb9"><code>a25c92c</code></a>
♻️ Add support for <code>pip install
&quot;fastapi[standard]&quot;</code> with standard dependenci...</li>
<li><a
href="3990a0a510"><code>3990a0a</code></a>
📝 Update release notes</li>
<li><a
href="1f7dcc58de"><code>1f7dcc5</code></a>
🌐 Update Portuguese translation for
<code>docs/pt/docs/alternatives.md</code> (<a
href="https://redirect.github.com/fastapi/fastapi/issues/11931">#11931</a>)</li>
<li><a
href="12a4476c3d"><code>12a4476</code></a>
📝 Update release notes</li>
<li><a
href="efb4a077be"><code>efb4a07</code></a>
🔧 Update sponsors: add liblab (<a
href="https://redirect.github.com/fastapi/fastapi/issues/11934">#11934</a>)</li>
<li><a
href="9d41d6e8a8"><code>9d41d6e</code></a>
📝 Update release notes</li>
<li><a
href="643a87cc84"><code>643a87c</code></a>
👷 Update GitHub Action label-approved permissions (<a
href="https://redirect.github.com/fastapi/fastapi/issues/11933">#11933</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/fastapi/fastapi/compare/0.111.1...0.112.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=fastapi&package-manager=pip&previous-version=0.111.1&new-version=0.112.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-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>
2024-08-05 22:27:58 +00:00
dependabot[bot] d28a07e30d
chore(deps): Bump black from 24.4.0 to 24.8.0 in /cirrus/server (#11150)
Bumps [black](https://github.com/psf/black) from 24.4.0 to 24.8.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/psf/black/releases">black's
releases</a>.</em></p>
<blockquote>
<h2>24.8.0</h2>
<h3>Stable style</h3>
<ul>
<li>Fix crash when <code># fmt: off</code> is used before a closing
parenthesis or bracket. (<a
href="https://redirect.github.com/psf/black/issues/4363">#4363</a>)</li>
</ul>
<h3>Packaging</h3>
<ul>
<li>Packaging metadata updated: docs are explictly linked, the issue
tracker is now also
linked. This improves the PyPI listing for Black. (<a
href="https://redirect.github.com/psf/black/issues/4345">#4345</a>)</li>
</ul>
<h3>Parser</h3>
<ul>
<li>Fix regression where Black failed to parse a multiline f-string
containing another
multiline string (<a
href="https://redirect.github.com/psf/black/issues/4339">#4339</a>)</li>
<li>Fix regression where Black failed to parse an escaped single quote
inside an f-string
(<a
href="https://redirect.github.com/psf/black/issues/4401">#4401</a>)</li>
<li>Fix bug with Black incorrectly parsing empty lines with a backslash
(<a
href="https://redirect.github.com/psf/black/issues/4343">#4343</a>)</li>
<li>Fix bugs with Black's tokenizer not handling <code>\{</code> inside
f-strings very well (<a
href="https://redirect.github.com/psf/black/issues/4422">#4422</a>)</li>
<li>Fix incorrect line numbers in the tokenizer for certain tokens
within f-strings
(<a
href="https://redirect.github.com/psf/black/issues/4423">#4423</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Improve performance when a large directory is listed in
<code>.gitignore</code> (<a
href="https://redirect.github.com/psf/black/issues/4415">#4415</a>)</li>
</ul>
<h3><em>Blackd</em></h3>
<ul>
<li>Fix blackd (and all extras installs) for docker container (<a
href="https://redirect.github.com/psf/black/issues/4357">#4357</a>)</li>
</ul>
<h2>24.4.2</h2>
<p>This is a bugfix release to fix two regressions in the new f-string
parser introduced in
24.4.1.</p>
<h3>Parser</h3>
<ul>
<li>Fix regression where certain complex f-strings failed to parse (<a
href="https://redirect.github.com/psf/black/issues/4332">#4332</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Fix bad performance on certain complex string literals (<a
href="https://redirect.github.com/psf/black/issues/4331">#4331</a>)</li>
</ul>
<h2>24.4.1</h2>
<h3>Highlights</h3>
<ul>
<li>Add support for the new Python 3.12 f-string syntax introduced by
PEP 701 (<a
href="https://redirect.github.com/psf/black/issues/3822">#3822</a>)</li>
</ul>
<h3>Stable style</h3>
<ul>
<li>Fix crash involving indented dummy functions containing newlines (<a
href="https://redirect.github.com/psf/black/issues/4318">#4318</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/psf/black/blob/main/CHANGES.md">black's
changelog</a>.</em></p>
<blockquote>
<h2>24.8.0</h2>
<h3>Stable style</h3>
<ul>
<li>Fix crash when <code># fmt: off</code> is used before a closing
parenthesis or bracket. (<a
href="https://redirect.github.com/psf/black/issues/4363">#4363</a>)</li>
</ul>
<h3>Packaging</h3>
<ul>
<li>Packaging metadata updated: docs are explictly linked, the issue
tracker is now also
linked. This improves the PyPI listing for Black. (<a
href="https://redirect.github.com/psf/black/issues/4345">#4345</a>)</li>
</ul>
<h3>Parser</h3>
<ul>
<li>Fix regression where Black failed to parse a multiline f-string
containing another
multiline string (<a
href="https://redirect.github.com/psf/black/issues/4339">#4339</a>)</li>
<li>Fix regression where Black failed to parse an escaped single quote
inside an f-string
(<a
href="https://redirect.github.com/psf/black/issues/4401">#4401</a>)</li>
<li>Fix bug with Black incorrectly parsing empty lines with a backslash
(<a
href="https://redirect.github.com/psf/black/issues/4343">#4343</a>)</li>
<li>Fix bugs with Black's tokenizer not handling <code>\{</code> inside
f-strings very well (<a
href="https://redirect.github.com/psf/black/issues/4422">#4422</a>)</li>
<li>Fix incorrect line numbers in the tokenizer for certain tokens
within f-strings
(<a
href="https://redirect.github.com/psf/black/issues/4423">#4423</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Improve performance when a large directory is listed in
<code>.gitignore</code> (<a
href="https://redirect.github.com/psf/black/issues/4415">#4415</a>)</li>
</ul>
<h3><em>Blackd</em></h3>
<ul>
<li>Fix blackd (and all extras installs) for docker container (<a
href="https://redirect.github.com/psf/black/issues/4357">#4357</a>)</li>
</ul>
<h2>24.4.2</h2>
<p>This is a bugfix release to fix two regressions in the new f-string
parser introduced in
24.4.1.</p>
<h3>Parser</h3>
<ul>
<li>Fix regression where certain complex f-strings failed to parse (<a
href="https://redirect.github.com/psf/black/issues/4332">#4332</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Fix bad performance on certain complex string literals (<a
href="https://redirect.github.com/psf/black/issues/4331">#4331</a>)</li>
</ul>
<h2>24.4.1</h2>
<h3>Highlights</h3>
<ul>
<li>Add support for the new Python 3.12 f-string syntax introduced by
PEP 701 (<a
href="https://redirect.github.com/psf/black/issues/3822">#3822</a>)</li>
</ul>
<h3>Stable style</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="b965c2a502"><code>b965c2a</code></a>
Prepare release 24.8.0 (<a
href="https://redirect.github.com/psf/black/issues/4426">#4426</a>)</li>
<li><a
href="9ccf279a17"><code>9ccf279</code></a>
Document <code>find_project_root</code> ignoring
<code>pyproject.toml</code> without <code>[tool.black]</code>...</li>
<li><a
href="14b6e61970"><code>14b6e61</code></a>
fix: Enhace black efficiently to skip directories listed in .gitignore
(<a
href="https://redirect.github.com/psf/black/issues/4415">#4415</a>)</li>
<li><a
href="b1c4dd96d7"><code>b1c4dd9</code></a>
fix: respect braces better in f-string parsing (<a
href="https://redirect.github.com/psf/black/issues/4422">#4422</a>)</li>
<li><a
href="4b4ae43e8b"><code>4b4ae43</code></a>
Fix incorrect linenos on fstring tokens with escaped newlines (<a
href="https://redirect.github.com/psf/black/issues/4423">#4423</a>)</li>
<li><a
href="7fa1faf83a"><code>7fa1faf</code></a>
docs: fix the installation command of extra for blackd (<a
href="https://redirect.github.com/psf/black/issues/4413">#4413</a>)</li>
<li><a
href="8827accf56"><code>8827acc</code></a>
Bump sphinx from 7.3.7 to 7.4.0 in /docs (<a
href="https://redirect.github.com/psf/black/issues/4404">#4404</a>)</li>
<li><a
href="b0da11d370"><code>b0da11d</code></a>
Bump furo from 2024.5.6 to 2024.7.18 in /docs (<a
href="https://redirect.github.com/psf/black/issues/4409">#4409</a>)</li>
<li><a
href="721dff5493"><code>721dff5</code></a>
fix: avoid formatting backslash strings inside f-strings (<a
href="https://redirect.github.com/psf/black/issues/4401">#4401</a>)</li>
<li><a
href="7e2afc9bfd"><code>7e2afc9</code></a>
Update <code>actions/checkout</code> to v4 to stop node deprecation
warnings (<a
href="https://redirect.github.com/psf/black/issues/4379">#4379</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/psf/black/compare/24.4.0...24.8.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=black&package-manager=pip&previous-version=24.4.0&new-version=24.8.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-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>
2024-08-05 22:09:01 +00:00
Yashika Khurana 46ffb5b2fb
chore(cirrus): Update sentry sample rate (#11130)
Because

- Cirrus recorded a lot of duplicate errors when it was not able to find
.env variable it was expecting

This commit

- Update sample rate to control the errors, we will adjust this and see
which one works better for us as per the need
- Also changed the settings on sentry for cirrus prod and stage projects
to limit the reporting i.e 30 events in 5 minutes
<img width="1253" alt="Screenshot 2024-07-31 at 2 07 43 PM"
src="https://github.com/user-attachments/assets/edae487e-52a9-4914-b62d-9d4d7563400c">


Fixes #github_issue_number
2024-07-31 23:43:02 +00:00
Yashika Khurana 6a71bd5bcd
feat(cirrus): Fetch resources if url is provided (#11129)
Because

- Sentry reports many errors if the remote settings preview URL is not
set.

This commit

- Will not fetch from preview URL if it's not provided
- Will exit the server if remote setting live URL is not provided

Fixes #11123
2024-07-31 18:18:57 +00:00
dependabot[bot] c0be548167
chore(deps): Bump sentry-sdk from 2.8.0 to 2.11.0 in /cirrus/server (#11107)
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from
2.8.0 to 2.11.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.11.0</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>
<p>Add <code>disabled_integrations</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3328">#3328</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
<p>Disabling individual integrations is now much easier. Instead of
disabling all automatically enabled integrations and specifying the ones
you want to keep, you can now use the new <a
href="https://docs.sentry.io/platforms/python/configuration/options/#auto-enabling-integrations"><code>disabled_integrations</code></a>
config option to provide a list of integrations to disable:</p>
<pre lang="python"><code>import sentry_sdk
from sentry_sdk.integrations.flask import FlaskIntegration
<p>sentry_sdk.init(<br />
# Do not use the Flask integration even if Flask is installed.<br />
disabled_integrations=[<br />
FlaskIntegration(),<br />
],<br />
)<br />
</code></pre></p>
</li>
<li>
<p>Use operation name as transaction name in Strawberry (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3294">#3294</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
</li>
<li>
<p>WSGI integrations respect <code>SCRIPT_NAME</code> env variable (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2622">#2622</a>)
by <a
href="https://github.com/sarvaSanjay"><code>@​sarvaSanjay</code></a></p>
</li>
<li>
<p>Make Django DB spans have origin <code>auto.db.django</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3319">#3319</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>Sort breadcrumbs by time before sending (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3307">#3307</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>Fix <code>KeyError('sentry-monitor-start-timestamp-s')</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3278">#3278</a>)
by <a
href="https://github.com/Mohsen-Khodabakhshi"><code>@​Mohsen-Khodabakhshi</code></a></p>
</li>
<li>
<p>Set MongoDB tags directly on span data (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3290">#3290</a>)
by <a
href="https://github.com/0Calories"><code>@​0Calories</code></a></p>
</li>
<li>
<p>Lower logger level for some messages (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3305">#3305</a>)
by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a>
and <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>Emit deprecation warnings from <code>Hub</code> API (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3280">#3280</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Clarify that <code>instrumenter</code> is internal-only (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3299">#3299</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Support Django 5.1 (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3207">#3207</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
</li>
<li>
<p>Remove apparently unnecessary <code>if</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3298">#3298</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Preliminary support for Python 3.13 (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3200">#3200</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
</li>
<li>
<p>Move <code>sentry_sdk.init</code> out of <code>hub.py</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3276">#3276</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Unhardcode integration list (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3240">#3240</a>)
by <a href="https://github.com/rominf"><code>@​rominf</code></a></p>
</li>
<li>
<p>Allow passing of PostgreSQL port in tests (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3281">#3281</a>)
by <a href="https://github.com/rominf"><code>@​rominf</code></a></p>
</li>
<li>
<p>Add tests for <code>@ai_track</code> decorator (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3325">#3325</a>)
by <a
href="https://github.com/colin-sentry"><code>@​colin-sentry</code></a></p>
</li>
<li>
<p>Do not include type checking code in coverage report (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3327">#3327</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>Fix test_installed_modules (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3309">#3309</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Fix typos and grammar in a comment (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3293">#3293</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Fixed failed tests setup (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3303">#3303</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>Only assert warnings we are interested in (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3314">#3314</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
</ul>
<h2>2.10.0</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>
<p>Add client cert and key support to <code>HttpTransport</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3258">#3258</a>)
by <a
href="https://github.com/grammy-jiang"><code>@​grammy-jiang</code></a></p>
<p>Add <code>cert_file</code> and <code>key_file</code> to your
<code>sentry_sdk.init</code> to use a custom client cert and key.
Alternatively, the environment variables <code>CLIENT_CERT_FILE</code>
and <code>CLIENT_KEY_FILE</code> can be used as well.</p>
</li>
<li>
<p>OpenAI: Lazy initialize tiktoken to avoid http at import time (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3287">#3287</a>)
by <a
href="https://github.com/colin-sentry"><code>@​colin-sentry</code></a></p>
</li>
<li>
<p>OpenAI, Langchain: Make tiktoken encoding name configurable +
tiktoken usage opt-in (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3289">#3289</a>)
by <a
href="https://github.com/colin-sentry"><code>@​colin-sentry</code></a></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.11.0</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>
<p>Add <code>disabled_integrations</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3328">#3328</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
<p>Disabling individual integrations is now much easier.
Instead of disabling all automatically enabled integrations and
specifying the ones
you want to keep, you can now use the new
<a
href="https://docs.sentry.io/platforms/python/configuration/options/#auto-enabling-integrations"><code>disabled_integrations</code></a>
config option to provide a list of integrations to disable:</p>
<pre lang="python"><code>import sentry_sdk
from sentry_sdk.integrations.flask import FlaskIntegration
<p>sentry_sdk.init(<br />
# Do not use the Flask integration even if Flask is installed.<br />
disabled_integrations=[<br />
FlaskIntegration(),<br />
],<br />
)<br />
</code></pre></p>
</li>
<li>
<p>Use operation name as transaction name in Strawberry (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3294">#3294</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
</li>
<li>
<p>WSGI integrations respect <code>SCRIPT_NAME</code> env variable (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2622">#2622</a>)
by <a
href="https://github.com/sarvaSanjay"><code>@​sarvaSanjay</code></a></p>
</li>
<li>
<p>Make Django DB spans have origin <code>auto.db.django</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3319">#3319</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>Sort breadcrumbs by time before sending (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3307">#3307</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>Fix <code>KeyError('sentry-monitor-start-timestamp-s')</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3278">#3278</a>)
by <a
href="https://github.com/Mohsen-Khodabakhshi"><code>@​Mohsen-Khodabakhshi</code></a></p>
</li>
<li>
<p>Set MongoDB tags directly on span data (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3290">#3290</a>)
by <a
href="https://github.com/0Calories"><code>@​0Calories</code></a></p>
</li>
<li>
<p>Lower logger level for some messages (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3305">#3305</a>)
by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a>
and <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>Emit deprecation warnings from <code>Hub</code> API (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3280">#3280</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Clarify that <code>instrumenter</code> is internal-only (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3299">#3299</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Support Django 5.1 (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3207">#3207</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
</li>
<li>
<p>Remove apparently unnecessary <code>if</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3298">#3298</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Preliminary support for Python 3.13 (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3200">#3200</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
</li>
<li>
<p>Move <code>sentry_sdk.init</code> out of <code>hub.py</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3276">#3276</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Unhardcode integration list (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3240">#3240</a>)
by <a href="https://github.com/rominf"><code>@​rominf</code></a></p>
</li>
<li>
<p>Allow passing of PostgreSQL port in tests (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3281">#3281</a>)
by <a href="https://github.com/rominf"><code>@​rominf</code></a></p>
</li>
<li>
<p>Add tests for <code>@ai_track</code> decorator (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3325">#3325</a>)
by <a
href="https://github.com/colin-sentry"><code>@​colin-sentry</code></a></p>
</li>
<li>
<p>Do not include type checking code in coverage report (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3327">#3327</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>Fix test_installed_modules (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3309">#3309</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Fix typos and grammar in a comment (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3293">#3293</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Fixed failed tests setup (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3303">#3303</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>Only assert warnings we are interested in (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3314">#3314</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
</ul>
<h2>2.10.0</h2>
<h3>Various fixes &amp; improvements</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="065b23eb6e"><code>065b23e</code></a>
Update CHANGELOG.md</li>
<li><a
href="e9111a32fa"><code>e9111a3</code></a>
Update CHANGELOG.md</li>
<li><a
href="fe91f38678"><code>fe91f38</code></a>
release: 2.11.0</li>
<li><a
href="081285897e"><code>0812858</code></a>
feat(tests): Do not include type checking code in coverage report (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3327">#3327</a>)</li>
<li><a
href="357d6f5c1a"><code>357d6f5</code></a>
feat(integrations): Add <code>disabled_integrations</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3328">#3328</a>)</li>
<li><a
href="c81c17588c"><code>c81c175</code></a>
Add tests for <a
href="https://github.com/ai"><code>@​ai</code></a>_track decorator (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3325">#3325</a>)</li>
<li><a
href="25de71e5f7"><code>25de71e</code></a>
ref(logging): Lower logger level for some messages (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3305">#3305</a>)</li>
<li><a
href="52e4e23f94"><code>52e4e23</code></a>
feat(hub): Emit deprecation warnings from <code>Hub</code> API (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3280">#3280</a>)</li>
<li><a
href="fbe8ecc589"><code>fbe8ecc</code></a>
meta: Allow blank GitHub issues</li>
<li><a
href="624e7434d4"><code>624e743</code></a>
Merge branch 'master' into szokeasaurusrex/flaky-test</li>
<li>Additional commits viewable in <a
href="https://github.com/getsentry/sentry-python/compare/2.8.0...2.11.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.8.0&new-version=2.11.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-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>
2024-07-29 20:51:20 +00:00
Yashika Khurana dd543fadcb
feat(cirrus): Nimbus preview flag to return features based on preview experiments (#10998)
Because

- QA should be able to test web experiments on the prod of the
implementing application

This commit

- Supports Cirrus to handle the `nimbus_preview` flag so that it should
return a response based on the preview records

Fixes #10953

---------

Co-authored-by: Jared Lockhart <119884+jaredlockhart@users.noreply.github.com>
2024-07-24 16:48:06 +00:00
dependabot[bot] 517556d933
chore(deps): Bump sentry-sdk from 1.45.0 to 2.8.0 in /cirrus/server (#11070)
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from
1.45.0 to 2.8.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.8.0</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li><code>profiler_id</code> uses underscore (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3249">#3249</a>)
by <a
href="https://github.com/Zylphrex"><code>@​Zylphrex</code></a></li>
<li>Don't send full env to subprocess (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3251">#3251</a>)
by <a
href="https://github.com/kmichel-aiven"><code>@​kmichel-aiven</code></a></li>
<li>Stop using <code>Hub</code> in <code>HttpTransport</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3247">#3247</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Remove <code>ipdb</code> from test requirements (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3237">#3237</a>)
by <a href="https://github.com/rominf"><code>@​rominf</code></a></li>
<li>Avoid propagation of empty baggage (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2968">#2968</a>)
by <a
href="https://github.com/hartungstenio"><code>@​hartungstenio</code></a></li>
<li>Add entry point for <code>SentryPropagator</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3086">#3086</a>)
by <a href="https://github.com/mender"><code>@​mender</code></a></li>
<li>Bump checkouts/data-schemas from <code>8c13457</code> to
<code>88273a9</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3225">#3225</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
</ul>
<h2>2.7.1</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>fix(otel): Fix missing baggage (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3218">#3218</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>This is the config file of asdf-vm which we do not use. (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3215">#3215</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li>
<li>Added option to disable middleware spans in Starlette (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3052">#3052</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li>
<li>build: Update tornado version in setup.py to match code check. (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3206">#3206</a>)
by <a
href="https://github.com/aclemons"><code>@​aclemons</code></a></li>
</ul>
<h2>2.7.0</h2>
<ul>
<li>Add <code>origin</code> to spans and transactions (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3133">#3133</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li>
<li>OTel: Set up typing for OTel (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3168">#3168</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>OTel: Auto instrumentation skeleton (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3143">#3143</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>OpenAI: If there is an internal error, still return a value (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3192">#3192</a>)
by <a
href="https://github.com/colin-sentry"><code>@​colin-sentry</code></a></li>
<li>MongoDB: Add MongoDB collection span tag (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3182">#3182</a>)
by <a
href="https://github.com/0Calories"><code>@​0Calories</code></a></li>
<li>MongoDB: Change span operation from <code>db.query</code> to
<code>db</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3186">#3186</a>)
by <a
href="https://github.com/0Calories"><code>@​0Calories</code></a></li>
<li>MongoDB: Remove redundant command name in query description (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3189">#3189</a>)
by <a
href="https://github.com/0Calories"><code>@​0Calories</code></a></li>
<li>Apache Spark: Fix spark driver integration (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3162">#3162</a>)
by <a
href="https://github.com/seyoon-lim"><code>@​seyoon-lim</code></a></li>
<li>Apache Spark: Add Spark test suite to tox.ini and to CI (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3199">#3199</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>Codecov: Add failed test commits in PRs (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3190">#3190</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li>
<li>Update library, Python versions in tests (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3202">#3202</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>Remove Hub from our test suite (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3197">#3197</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li>
<li>Use env vars for default CA cert bundle location (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3160">#3160</a>)
by <a
href="https://github.com/DragoonAethis"><code>@​DragoonAethis</code></a></li>
<li>Create a separate test group for AI (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3198">#3198</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>Add additional stub packages for type checking (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3122">#3122</a>)
by <a
href="https://github.com/Daverball"><code>@​Daverball</code></a></li>
<li>Proper naming of requirements files (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3191">#3191</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li>
<li>Pinning pip because new version does not work with some versions of
Celery and Httpx (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3195">#3195</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li>
<li>build(deps): bump supercharge/redis-github-action from 1.7.0 to
1.8.0 (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3193">#3193</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>build(deps): bump actions/checkout from 4.1.6 to 4.1.7 (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3171">#3171</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>build(deps): update pytest-asyncio requirement (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3087">#3087</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
</ul>
<h2>2.6.0</h2>
<ul>
<li>Introduce continuous profiling mode (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2830">#2830</a>)
by <a
href="https://github.com/Zylphrex"><code>@​Zylphrex</code></a></li>
<li>Profiling: Add deprecation comment for profiler internals (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3167">#3167</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>Profiling: Move thread data to trace context (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3157">#3157</a>)
by <a
href="https://github.com/Zylphrex"><code>@​Zylphrex</code></a></li>
<li>Explicitly export cron symbols for typecheckers (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3072">#3072</a>)
by <a href="https://github.com/spladug"><code>@​spladug</code></a></li>
<li>Cleaning up ASGI tests for Django (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3180">#3180</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li>
<li>Celery: Add Celery receive latency (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3174">#3174</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li>
<li>Metrics: Update type hints for tag values (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3156">#3156</a>)
by <a href="https://github.com/elramen"><code>@​elramen</code></a></li>
<li>Django: Fix psycopg3 reconnect error (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3111">#3111</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></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.8.0</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li><code>profiler_id</code> uses underscore (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3249">#3249</a>)
by <a
href="https://github.com/Zylphrex"><code>@​Zylphrex</code></a></li>
<li>Don't send full env to subprocess (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3251">#3251</a>)
by <a
href="https://github.com/kmichel-aiven"><code>@​kmichel-aiven</code></a></li>
<li>Stop using <code>Hub</code> in <code>HttpTransport</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3247">#3247</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Remove <code>ipdb</code> from test requirements (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3237">#3237</a>)
by <a href="https://github.com/rominf"><code>@​rominf</code></a></li>
<li>Avoid propagation of empty baggage (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2968">#2968</a>)
by <a
href="https://github.com/hartungstenio"><code>@​hartungstenio</code></a></li>
<li>Add entry point for <code>SentryPropagator</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3086">#3086</a>)
by <a href="https://github.com/mender"><code>@​mender</code></a></li>
<li>Bump checkouts/data-schemas from <code>8c13457</code> to
<code>88273a9</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3225">#3225</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
</ul>
<h2>2.7.1</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>fix(otel): Fix missing baggage (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3218">#3218</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>This is the config file of asdf-vm which we do not use. (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3215">#3215</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li>
<li>Added option to disable middleware spans in Starlette (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3052">#3052</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li>
<li>build: Update tornado version in setup.py to match code check. (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3206">#3206</a>)
by <a
href="https://github.com/aclemons"><code>@​aclemons</code></a></li>
</ul>
<h2>2.7.0</h2>
<ul>
<li>Add <code>origin</code> to spans and transactions (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3133">#3133</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li>
<li>OTel: Set up typing for OTel (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3168">#3168</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>OTel: Auto instrumentation skeleton (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3143">#3143</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>OpenAI: If there is an internal error, still return a value (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3192">#3192</a>)
by <a
href="https://github.com/colin-sentry"><code>@​colin-sentry</code></a></li>
<li>MongoDB: Add MongoDB collection span tag (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3182">#3182</a>)
by <a
href="https://github.com/0Calories"><code>@​0Calories</code></a></li>
<li>MongoDB: Change span operation from <code>db.query</code> to
<code>db</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3186">#3186</a>)
by <a
href="https://github.com/0Calories"><code>@​0Calories</code></a></li>
<li>MongoDB: Remove redundant command name in query description (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3189">#3189</a>)
by <a
href="https://github.com/0Calories"><code>@​0Calories</code></a></li>
<li>Apache Spark: Fix spark driver integration (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3162">#3162</a>)
by <a
href="https://github.com/seyoon-lim"><code>@​seyoon-lim</code></a></li>
<li>Apache Spark: Add Spark test suite to tox.ini and to CI (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3199">#3199</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>Codecov: Add failed test commits in PRs (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3190">#3190</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li>
<li>Update library, Python versions in tests (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3202">#3202</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>Remove Hub from our test suite (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3197">#3197</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li>
<li>Use env vars for default CA cert bundle location (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3160">#3160</a>)
by <a
href="https://github.com/DragoonAethis"><code>@​DragoonAethis</code></a></li>
<li>Create a separate test group for AI (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3198">#3198</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>Add additional stub packages for type checking (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3122">#3122</a>)
by <a
href="https://github.com/Daverball"><code>@​Daverball</code></a></li>
<li>Proper naming of requirements files (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3191">#3191</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li>
<li>Pinning pip because new version does not work with some versions of
Celery and Httpx (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3195">#3195</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li>
<li>build(deps): bump supercharge/redis-github-action from 1.7.0 to
1.8.0 (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3193">#3193</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>build(deps): bump actions/checkout from 4.1.6 to 4.1.7 (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3171">#3171</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
<li>build(deps): update pytest-asyncio requirement (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3087">#3087</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
</ul>
<h2>2.6.0</h2>
<ul>
<li>Introduce continuous profiling mode (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2830">#2830</a>)
by <a
href="https://github.com/Zylphrex"><code>@​Zylphrex</code></a></li>
<li>Profiling: Add deprecation comment for profiler internals (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3167">#3167</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li>
<li>Profiling: Move thread data to trace context (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3157">#3157</a>)
by <a
href="https://github.com/Zylphrex"><code>@​Zylphrex</code></a></li>
<li>Explicitly export cron symbols for typecheckers (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3072">#3072</a>)
by <a href="https://github.com/spladug"><code>@​spladug</code></a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="6f4685e29b"><code>6f4685e</code></a>
Update CHANGELOG.md</li>
<li><a
href="7e6998e13f"><code>7e6998e</code></a>
release: 2.8.0</li>
<li><a
href="32335dde27"><code>32335dd</code></a>
fix(profiling): profiler_id uses underscore (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3249">#3249</a>)</li>
<li><a
href="763e40aa4c"><code>763e40a</code></a>
fix(integrations): don't send full env to subprocess (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3251">#3251</a>)</li>
<li><a
href="31efa62c90"><code>31efa62</code></a>
ref(transport): Stop using <code>Hub</code> in
<code>HttpTransport</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3247">#3247</a>)</li>
<li><a
href="defb448602"><code>defb448</code></a>
build: Remove ipdb from test requirements (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3237">#3237</a>)</li>
<li><a
href="407f651f66"><code>407f651</code></a>
feat(opentelemetry): Add entry point for SentryPropagator (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3086">#3086</a>)</li>
<li><a
href="eab218c91a"><code>eab218c</code></a>
build(deps): bump checkouts/data-schemas from <code>8c13457</code> to
<code>88273a9</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/3225">#3225</a>)</li>
<li><a
href="57825605d9"><code>5782560</code></a>
fix(opentelemetry): avoid propagation of empty baggage (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2968">#2968</a>)</li>
<li><a
href="6701616b61"><code>6701616</code></a>
Merge branch 'release/2.7.1'</li>
<li>Additional commits viewable in <a
href="https://github.com/getsentry/sentry-python/compare/1.45.0...2.8.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=1.45.0&new-version=2.8.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-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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/mozilla/experimenter/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-23 19:45:48 +00:00
dependabot[bot] ea3e58f73d
chore(deps): Bump fastapi from 0.110.0 to 0.111.1 in /cirrus/server (#11023)
Bumps [fastapi](https://github.com/tiangolo/fastapi) from 0.110.0 to
0.111.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/tiangolo/fastapi/releases">fastapi's
releases</a>.</em></p>
<blockquote>
<h2>0.111.1</h2>
<h3>Upgrades</h3>
<ul>
<li> Remove <code>orjson</code> and <code>ujson</code> from default
dependencies. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11842">#11842</a>
by <a href="https://github.com/tiangolo"><code>@​tiangolo</code></a>.
<ul>
<li>These dependencies are still installed when you install with
<code>pip install &quot;fastapi[all]&quot;</code>. But they not included
in <code>pip install fastapi</code>.</li>
</ul>
</li>
<li>📝 Restored Swagger-UI links to use the latest version possible. PR
<a
href="https://redirect.github.com/tiangolo/fastapi/pull/11459">#11459</a>
by <a
href="https://github.com/UltimateLobster"><code>@​UltimateLobster</code></a>.</li>
</ul>
<h3>Docs</h3>
<ul>
<li>✏️ Rewording in <code>docs/en/docs/fastapi-cli.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11716">#11716</a>
by <a
href="https://github.com/alejsdev"><code>@​alejsdev</code></a>.</li>
<li>📝 Update Hypercorn links in all the docs. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11744">#11744</a>
by <a
href="https://github.com/kittydoor"><code>@​kittydoor</code></a>.</li>
<li>📝 Update docs with Ariadne reference from Starlette to FastAPI. PR
<a
href="https://redirect.github.com/tiangolo/fastapi/pull/11797">#11797</a>
by <a
href="https://github.com/DamianCzajkowski"><code>@​DamianCzajkowski</code></a>.</li>
<li>📝 Update fastapi instrumentation external link. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11317">#11317</a>
by <a
href="https://github.com/softwarebloat"><code>@​softwarebloat</code></a>.</li>
<li>✏️ Fix links to alembic example repo in docs. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11628">#11628</a>
by <a href="https://github.com/augiwan"><code>@​augiwan</code></a>.</li>
<li>✏️ Update <code>docs/en/docs/fastapi-cli.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11715">#11715</a>
by <a
href="https://github.com/alejsdev"><code>@​alejsdev</code></a>.</li>
<li>📝 Update External Links . PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11500">#11500</a>
by <a
href="https://github.com/devon2018"><code>@​devon2018</code></a>.</li>
<li>📝 Add External Link: Tutorial de FastAPI, ¿el mejor framework de
Python?. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11618">#11618</a>
by <a
href="https://github.com/EduardoZepeda"><code>@​EduardoZepeda</code></a>.</li>
<li>📝 Fix typo in
<code>docs/en/docs/tutorial/body-multiple-params.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11698">#11698</a>
by <a href="https://github.com/mwb-u"><code>@​mwb-u</code></a>.</li>
<li>📝 Add External Link: Deploy a Serverless FastAPI App with Neon
Postgres and AWS App Runner at any scale. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11633">#11633</a>
by <a
href="https://github.com/ananis25"><code>@​ananis25</code></a>.</li>
<li>📝 Update <code>security/first-steps.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11674">#11674</a>
by <a
href="https://github.com/alejsdev"><code>@​alejsdev</code></a>.</li>
<li>📝 Update <code>security/first-steps.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11673">#11673</a>
by <a
href="https://github.com/alejsdev"><code>@​alejsdev</code></a>.</li>
<li>📝 Update note in <code>path-params-numeric-validations.md</code>. PR
<a
href="https://redirect.github.com/tiangolo/fastapi/pull/11672">#11672</a>
by <a
href="https://github.com/alejsdev"><code>@​alejsdev</code></a>.</li>
<li>📝 Tweak intro docs about <code>Annotated</code> and
<code>Query()</code> params. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11664">#11664</a>
by <a
href="https://github.com/tiangolo"><code>@​tiangolo</code></a>.</li>
<li>📝 Update JWT auth documentation to use PyJWT instead of pyhon-jose.
PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11589">#11589</a>
by <a
href="https://github.com/estebanx64"><code>@​estebanx64</code></a>.</li>
<li>📝 Update docs. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11603">#11603</a>
by <a
href="https://github.com/alejsdev"><code>@​alejsdev</code></a>.</li>
<li>✏️ Fix typo: convert every 're-use' to 'reuse'.. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11598">#11598</a>
by <a
href="https://github.com/hasansezertasan"><code>@​hasansezertasan</code></a>.</li>
<li>✏️ Fix typo in <code>fastapi/applications.py</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11593">#11593</a>
by <a
href="https://github.com/petarmaric"><code>@​petarmaric</code></a>.</li>
<li>✏️ Fix link in <code>fastapi-cli.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11524">#11524</a>
by <a
href="https://github.com/svlandeg"><code>@​svlandeg</code></a>.</li>
</ul>
<h3>Translations</h3>
<ul>
<li>🌐 Add Spanish translation for
<code>docs/es/docs/how-to/graphql.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11697">#11697</a>
by <a
href="https://github.com/camigomezdev"><code>@​camigomezdev</code></a>.</li>
<li>🌐 Add Portuguese translation for
<code>docs/pt/docs/reference/index.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11840">#11840</a>
by <a
href="https://github.com/lucasbalieiro"><code>@​lucasbalieiro</code></a>.</li>
<li>🌐 Fix link in German translation. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11836">#11836</a>
by <a
href="https://github.com/anitahammer"><code>@​anitahammer</code></a>.</li>
<li>🌐 Add Portuguese translation for
<code>docs/pt/docs/tutorial/dependencies/sub-dependencies.md</code>. PR
<a
href="https://redirect.github.com/tiangolo/fastapi/pull/11792">#11792</a>
by <a
href="https://github.com/Joao-Pedro-P-Holanda"><code>@​Joao-Pedro-P-Holanda</code></a>.</li>
<li>🌐 Add Turkish translation for
<code>docs/tr/docs/tutorial/request-forms.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11553">#11553</a>
by <a
href="https://github.com/hasansezertasan"><code>@​hasansezertasan</code></a>.</li>
<li>🌐 Add Portuguese translation for
<code>docs/pt/docs/reference/exceptions.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11834">#11834</a>
by <a
href="https://github.com/lucasbalieiro"><code>@​lucasbalieiro</code></a>.</li>
<li>🌐 Add Portuguese translation for
<code>docs/pt/docs/tutorial/dependencies/global-dependencies.md</code>.
PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11826">#11826</a>
by <a
href="https://github.com/Joao-Pedro-P-Holanda"><code>@​Joao-Pedro-P-Holanda</code></a>.</li>
<li>🌐 Add Portuguese translation for
<code>docs/pt/docs/how-to/general.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11825">#11825</a>
by <a
href="https://github.com/lucasbalieiro"><code>@​lucasbalieiro</code></a>.</li>
<li>🌐 Add Portuguese translation for
<code>docs/pt/docs/advanced/async-tests.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11808">#11808</a>
by <a href="https://github.com/ceb10n"><code>@​ceb10n</code></a>.</li>
<li>🌐 Add Ukrainian translation for
<code>docs/uk/docs/tutorial/first-steps.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11809">#11809</a>
by <a
href="https://github.com/vkhoroshchak"><code>@​vkhoroshchak</code></a>.</li>
<li>🌐 Add Portuguese translation for
<code>docs/pt/docs/tutorial/dependencies/dependencies-in-path-operation-operators.md</code>.
PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11804">#11804</a>
by <a
href="https://github.com/Joao-Pedro-P-Holanda"><code>@​Joao-Pedro-P-Holanda</code></a>.</li>
<li>🌐 Add Chinese translation for
<code>docs/zh/docs/fastapi-cli.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11786">#11786</a>
by <a
href="https://github.com/logan2d5"><code>@​logan2d5</code></a>.</li>
<li>🌐 Add Portuguese translation for
<code>docs/pt/docs/advanced/openapi-webhooks.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11791">#11791</a>
by <a href="https://github.com/ceb10n"><code>@​ceb10n</code></a>.</li>
<li>🌐 Update Chinese translation for
<code>docs/tutorial/security/oauth2-jwt.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11781">#11781</a>
by <a
href="https://github.com/logan2d5"><code>@​logan2d5</code></a>.</li>
<li>📝 Fix image missing in French translation for
<code>docs/fr/docs/async.md</code> . PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11787">#11787</a>
by <a
href="https://github.com/pe-brian"><code>@​pe-brian</code></a>.</li>
<li>🌐 Add Portuguese translation for
<code>docs/pt/docs/advanced/advanced-dependencies.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11775">#11775</a>
by <a href="https://github.com/ceb10n"><code>@​ceb10n</code></a>.</li>
<li>🌐 Add Portuguese translation for
<code>docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md</code>.
PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11768">#11768</a>
by <a
href="https://github.com/Joao-Pedro-P-Holanda"><code>@​Joao-Pedro-P-Holanda</code></a>.</li>
<li>🌐 Add Portuguese translation for
<code>docs/pt/docs/advanced/additional-status-codes.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11753">#11753</a>
by <a href="https://github.com/ceb10n"><code>@​ceb10n</code></a>.</li>
<li>🌐 Add Portuguese translation for
<code>docs/pt/docs/tutorial/dependencies/index.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11757">#11757</a>
by <a
href="https://github.com/Joao-Pedro-P-Holanda"><code>@​Joao-Pedro-P-Holanda</code></a>.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="b199364246"><code>b199364</code></a>
🔖 Release version 0.111.1</li>
<li><a
href="38db0a5858"><code>38db0a5</code></a>
📝 Update release notes</li>
<li><a
href="0f22c76d7d"><code>0f22c76</code></a>
📝 Update release notes</li>
<li><a
href="4d3ef06029"><code>4d3ef06</code></a>
 Remove orjson and ujson from default dependencies (<a
href="https://redirect.github.com/tiangolo/fastapi/issues/11842">#11842</a>)</li>
<li><a
href="7a9396c839"><code>7a9396c</code></a>
📝 Update release notes</li>
<li><a
href="0b1e2ec2a6"><code>0b1e2ec</code></a>
✏️ Rewording in <code>docs/en/docs/fastapi-cli.md</code> (<a
href="https://redirect.github.com/tiangolo/fastapi/issues/11716">#11716</a>)</li>
<li><a
href="fb15c48556"><code>fb15c48</code></a>
📝 Update release notes</li>
<li><a
href="9d74b23670"><code>9d74b23</code></a>
♻️ Simplify internal docs script (<a
href="https://redirect.github.com/tiangolo/fastapi/issues/11777">#11777</a>)</li>
<li><a
href="3a8f6cd1a2"><code>3a8f6cd</code></a>
📝 Update release notes</li>
<li><a
href="60f7fe4006"><code>60f7fe4</code></a>
📝 Update Hypercorn links in all the docs (<a
href="https://redirect.github.com/tiangolo/fastapi/issues/11744">#11744</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/tiangolo/fastapi/compare/0.110.0...0.111.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=fastapi&package-manager=pip&previous-version=0.110.0&new-version=0.111.1)](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>
Co-authored-by: yashikakhurana <yashikakhuranayashika@gmail.com>
2024-07-16 22:05:39 +00:00
dependabot[bot] 5df083edca
chore(deps): Bump ruff from 0.4.1 to 0.5.0 in /cirrus/server (#10923)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.4.1 to 0.5.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/releases">ruff's
releases</a>.</em></p>
<blockquote>
<h2>0.5.0</h2>
<h2>Release Notes</h2>
<p>Check out the <a href="https://astral.sh/blog/ruff-v0.5.0">blog
post</a> for a migration guide and overview of the changes!</p>
<h3>Breaking changes</h3>
<p>See also, the &quot;Remapped rules&quot; section which may result in
disabled rules.</p>
<ul>
<li>Follow the XDG specification to discover user-level configurations
on macOS (same as on other Unix platforms)</li>
<li>Selecting <code>ALL</code> now excludes deprecated rules</li>
<li>The released archives now include an extra level of nesting, which
can be removed with <code>--strip-components=1</code> when
untarring.</li>
<li>The release artifact's file name no longer includes the version tag.
This enables users to install via <code>/latest</code> URLs on
GitHub.</li>
<li>The diagnostic ranges for some <code>flake8-bandit</code> rules were
modified (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10667">#10667</a>).</li>
</ul>
<h3>Deprecations</h3>
<p>The following rules are now deprecated:</p>
<ul>
<li><a
href="https://docs.astral.sh/ruff/rules/syntax-error/"><code>syntax-error</code></a>
(<code>E999</code>): Syntax errors are now always shown</li>
</ul>
<h3>Remapped rules</h3>
<p>The following rules have been remapped to new rule codes:</p>
<ul>
<li><a
href="https://docs.astral.sh/ruff/rules/blocking-http-call-in-async-function/"><code>blocking-http-call-in-async-function</code></a>:
<code>ASYNC100</code> to <code>ASYNC210</code></li>
<li><a
href="https://docs.astral.sh/ruff/rules/open-sleep-or-subprocess-in-async-function/"><code>open-sleep-or-subprocess-in-async-function</code></a>:
<code>ASYNC101</code> split into <code>ASYNC220</code>,
<code>ASYNC221</code>, <code>ASYNC230</code>, and
<code>ASYNC251</code></li>
<li><a
href="https://docs.astral.sh/ruff/rules/blocking-os-call-in-async-function/"><code>blocking-os-call-in-async-function</code></a>:
<code>ASYNC102</code> has been merged into <code>ASYNC220</code> and
<code>ASYNC221</code></li>
<li><a
href="https://docs.astral.sh/ruff/rules/trio-timeout-without-await/"><code>trio-timeout-without-await</code></a>:
<code>TRIO100</code> to <code>ASYNC100</code></li>
<li><a
href="https://docs.astral.sh/ruff/rules/trio-sync-call/"><code>trio-sync-call</code></a>:
<code>TRIO105</code> to <code>ASYNC105</code></li>
<li><a
href="https://docs.astral.sh/ruff/rules/trio-async-function-with-timeout/"><code>trio-async-function-with-timeout</code></a>:
<code>TRIO109</code> to <code>ASYNC109</code></li>
<li><a
href="https://docs.astral.sh/ruff/rules/trio-unneeded-sleep/"><code>trio-unneeded-sleep</code></a>:
<code>TRIO110</code> to <code>ASYNC110</code></li>
<li><a
href="https://docs.astral.sh/ruff/rules/trio-zero-sleep-call/"><code>trio-zero-sleep-call</code></a>:
<code>TRIO115</code> to <code>ASYNC115</code></li>
<li><a
href="https://docs.astral.sh/ruff/rules/repeated-isinstance-calls/"><code>repeated-isinstance-calls</code></a>:
<code>PLR1701</code> to <code>SIM101</code></li>
</ul>
<h3>Stabilization</h3>
<p>The following rules have been stabilized and are no longer in
preview:</p>
<ul>
<li><a
href="https://docs.astral.sh/ruff/rules/mutable-fromkeys-value/"><code>mutable-fromkeys-value</code></a>
(<code>RUF024</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/default-factory-kwarg/"><code>default-factory-kwarg</code></a>
(<code>RUF026</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/django-extra/"><code>django-extra</code></a>
(<code>S610</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/manual-dict-comprehension/"><code>manual-dict-comprehension</code></a>
(<code>PERF403</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/print-empty-string/"><code>print-empty-string</code></a>
(<code>FURB105</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/readlines-in-for/"><code>readlines-in-for</code></a>
(<code>FURB129</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/if-expr-min-max/"><code>if-expr-min-max</code></a>
(<code>FURB136</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/bit-count/"><code>bit-count</code></a>
(<code>FURB161</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/redundant-log-base/"><code>redundant-log-base</code></a>
(<code>FURB163</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/regex-flag-alias/"><code>regex-flag-alias</code></a>
(<code>FURB167</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/isinstance-type-none/"><code>isinstance-type-none</code></a>
(<code>FURB168</code>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's
changelog</a>.</em></p>
<blockquote>
<h2>0.5.0</h2>
<p>Check out the <a href="https://astral.sh/blog/ruff-v0.5.0">blog
post</a> for a migration guide and overview of the changes!</p>
<h3>Breaking changes</h3>
<p>See also, the &quot;Remapped rules&quot; section which may result in
disabled rules.</p>
<ul>
<li>Follow the XDG specification to discover user-level configurations
on macOS (same as on other Unix platforms)</li>
<li>Selecting <code>ALL</code> now excludes deprecated rules</li>
<li>The released archives now include an extra level of nesting, which
can be removed with <code>--strip-components=1</code> when
untarring.</li>
<li>The release artifact's file name no longer includes the version tag.
This enables users to install via <code>/latest</code> URLs on
GitHub.</li>
<li>The diagnostic ranges for some <code>flake8-bandit</code> rules were
modified (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10667">#10667</a>).</li>
</ul>
<h3>Deprecations</h3>
<p>The following rules are now deprecated:</p>
<ul>
<li><a
href="https://docs.astral.sh/ruff/rules/syntax-error/"><code>syntax-error</code></a>
(<code>E999</code>): Syntax errors are now always shown</li>
</ul>
<h3>Remapped rules</h3>
<p>The following rules have been remapped to new rule codes:</p>
<ul>
<li><a
href="https://docs.astral.sh/ruff/rules/blocking-http-call-in-async-function/"><code>blocking-http-call-in-async-function</code></a>:
<code>ASYNC100</code> to <code>ASYNC210</code></li>
<li><a
href="https://docs.astral.sh/ruff/rules/open-sleep-or-subprocess-in-async-function/"><code>open-sleep-or-subprocess-in-async-function</code></a>:
<code>ASYNC101</code> split into <code>ASYNC220</code>,
<code>ASYNC221</code>, <code>ASYNC230</code>, and
<code>ASYNC251</code></li>
<li><a
href="https://docs.astral.sh/ruff/rules/blocking-os-call-in-async-function/"><code>blocking-os-call-in-async-function</code></a>:
<code>ASYNC102</code> has been merged into <code>ASYNC220</code> and
<code>ASYNC221</code></li>
<li><a
href="https://docs.astral.sh/ruff/rules/trio-timeout-without-await/"><code>trio-timeout-without-await</code></a>:
<code>TRIO100</code> to <code>ASYNC100</code></li>
<li><a
href="https://docs.astral.sh/ruff/rules/trio-sync-call/"><code>trio-sync-call</code></a>:
<code>TRIO105</code> to <code>ASYNC105</code></li>
<li><a
href="https://docs.astral.sh/ruff/rules/trio-async-function-with-timeout/"><code>trio-async-function-with-timeout</code></a>:
<code>TRIO109</code> to <code>ASYNC109</code></li>
<li><a
href="https://docs.astral.sh/ruff/rules/trio-unneeded-sleep/"><code>trio-unneeded-sleep</code></a>:
<code>TRIO110</code> to <code>ASYNC110</code></li>
<li><a
href="https://docs.astral.sh/ruff/rules/trio-zero-sleep-call/"><code>trio-zero-sleep-call</code></a>:
<code>TRIO115</code> to <code>ASYNC115</code></li>
<li><a
href="https://docs.astral.sh/ruff/rules/repeated-isinstance-calls/"><code>repeated-isinstance-calls</code></a>:
<code>PLR1701</code> to <code>SIM101</code></li>
</ul>
<h3>Stabilization</h3>
<p>The following rules have been stabilized and are no longer in
preview:</p>
<ul>
<li><a
href="https://docs.astral.sh/ruff/rules/mutable-fromkeys-value/"><code>mutable-fromkeys-value</code></a>
(<code>RUF024</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/default-factory-kwarg/"><code>default-factory-kwarg</code></a>
(<code>RUF026</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/django-extra/"><code>django-extra</code></a>
(<code>S610</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/manual-dict-comprehension/"><code>manual-dict-comprehension</code></a>
(<code>PERF403</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/print-empty-string/"><code>print-empty-string</code></a>
(<code>FURB105</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/readlines-in-for/"><code>readlines-in-for</code></a>
(<code>FURB129</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/if-expr-min-max/"><code>if-expr-min-max</code></a>
(<code>FURB136</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/bit-count/"><code>bit-count</code></a>
(<code>FURB161</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/redundant-log-base/"><code>redundant-log-base</code></a>
(<code>FURB163</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/regex-flag-alias/"><code>regex-flag-alias</code></a>
(<code>FURB167</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/isinstance-type-none/"><code>isinstance-type-none</code></a>
(<code>FURB168</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/type-none-comparison/"><code>type-none-comparison</code></a>
(<code>FURB169</code>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="244b923f61"><code>244b923</code></a>
Add necessary permissions for cargo-dist Docker build (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12072">#12072</a>)</li>
<li><a
href="a8b48fce7e"><code>a8b48fc</code></a>
Release v0.5.0 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12068">#12068</a>)</li>
<li><a
href="04c8597b8a"><code>04c8597</code></a>
[<code>flake8-simplify</code>] Stabilize detection of Yoda conditions
for &quot;constant&quot; col...</li>
<li><a
href="4029a25ebd"><code>4029a25</code></a>
[Ruff v0.5] Stabilise 15 pylint rules (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12051">#12051</a>)</li>
<li><a
href="0917ce16f4"><code>0917ce1</code></a>
Update documentation to mention <code>etcetera</code> crate instead of
<code>dirs</code> for user c...</li>
<li><a
href="22cebdf29b"><code>22cebdf</code></a>
Add server config to filter out syntax error diagnostics (<a
href="https://redirect.github.com/astral-sh/ruff/issues/12059">#12059</a>)</li>
<li><a
href="72b6c26101"><code>72b6c26</code></a>
Simplify <code>LinterResult</code>, avoid cloning
<code>ParseError</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11903">#11903</a>)</li>
<li><a
href="73851e73ab"><code>73851e7</code></a>
Avoid displaying syntax error as log message (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11902">#11902</a>)</li>
<li><a
href="e7b49694a7"><code>e7b4969</code></a>
Remove <code>E999</code> as a rule, disallow any disablement methods for
syntax error (#...</li>
<li><a
href="c98d8a040f"><code>c98d8a0</code></a>
[<code>pyflakes</code>] Stabilize detection of is comparisons to lists,
etc. (<code>F632</code>) (#...</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/v0.4.1...0.5.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.4.1&new-version=0.5.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>
Co-authored-by: Jared Lockhart <119884+jaredlockhart@users.noreply.github.com>
2024-07-03 20:52:15 +00:00
dependabot[bot] bab1c70bb7
chore(deps): Bump urllib3 from 2.0.7 to 2.2.2 in /cirrus/server (#10869)
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.0.7 to 2.2.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/urllib3/urllib3/releases">urllib3's
releases</a>.</em></p>
<blockquote>
<h2>2.2.2</h2>
<h2>🚀 urllib3 is fundraising for HTTP/2 support</h2>
<p><a
href="https://sethmlarson.dev/urllib3-is-fundraising-for-http2-support">urllib3
is raising ~$40,000 USD</a> to release HTTP/2 support and ensure
long-term sustainable maintenance of the project after a sharp decline
in financial support for 2023. If your company or organization uses
Python and would benefit from HTTP/2 support in Requests, pip, cloud
SDKs, and thousands of other projects <a
href="https://opencollective.com/urllib3">please consider contributing
financially</a> to ensure HTTP/2 support is developed sustainably and
maintained for the long-haul.</p>
<p>Thank you for your support.</p>
<h2>Changes</h2>
<ul>
<li>Added the <code>Proxy-Authorization</code> header to the list of
headers to strip from requests when redirecting to a different host. As
before, different headers can be set via
<code>Retry.remove_headers_on_redirect</code>.</li>
<li>Allowed passing negative integers as <code>amt</code> to read
methods of <code>http.client.HTTPResponse</code> as an alternative to
<code>None</code>. (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3122">#3122</a>)</li>
<li>Fixed return types representing copying actions to use
<code>typing.Self</code>. (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3363">#3363</a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/urllib3/urllib3/compare/2.2.1...2.2.2">https://github.com/urllib3/urllib3/compare/2.2.1...2.2.2</a></p>
<h2>2.2.1</h2>
<h2>🚀 urllib3 is fundraising for HTTP/2 support</h2>
<p><a
href="https://sethmlarson.dev/urllib3-is-fundraising-for-http2-support">urllib3
is raising ~$40,000 USD</a> to release HTTP/2 support and ensure
long-term sustainable maintenance of the project after a sharp decline
in financial support for 2023. If your company or organization uses
Python and would benefit from HTTP/2 support in Requests, pip, cloud
SDKs, and thousands of other projects <a
href="https://opencollective.com/urllib3">please consider contributing
financially</a> to ensure HTTP/2 support is developed sustainably and
maintained for the long-haul.</p>
<p>Thank you for your support.</p>
<h2>Changes</h2>
<ul>
<li>Fixed issue where <code>InsecureRequestWarning</code> was emitted
for HTTPS connections when using Emscripten. (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3331">#3331</a>)</li>
<li>Fixed <code>HTTPConnectionPool.urlopen</code> to stop automatically
casting non-proxy headers to <code>HTTPHeaderDict</code>. This change
was premature as it did not apply to proxy headers and
<code>HTTPHeaderDict</code> does not handle byte header values correctly
yet. (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3343">#3343</a>)</li>
<li>Changed <code>ProtocolError</code> to
<code>InvalidChunkLength</code> when response terminates before the
chunk length is sent. (<a
href="https://redirect.github.com/urllib3/urllib3/issues/2860">#2860</a>)</li>
<li>Changed <code>ProtocolError</code> to be more verbose on incomplete
reads with excess content. (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3261">#3261</a>)</li>
</ul>
<h2>2.2.0</h2>
<h2>🖥️ urllib3 now works in the browser</h2>
<p>🎉 <strong>This release adds experimental support for <a
href="https://urllib3.readthedocs.io/en/stable/reference/contrib/emscripten.html">using
urllib3 in the browser with Pyodide</a>!</strong> 🎉</p>
<p>Thanks to Joe Marshall (<a
href="https://github.com/joemarshall"><code>@​joemarshall</code></a>)
for contributing this feature. This change was possible thanks to work
done in urllib3 v2.0 to detach our API from <code>http.client</code>.
Please report all bugs to the <a
href="https://github.com/urllib3/urllib3/issues">urllib3 issue
tracker</a>.</p>
<h2>🚀 urllib3 is fundraising for HTTP/2 support</h2>
<p><a
href="https://sethmlarson.dev/urllib3-is-fundraising-for-http2-support">urllib3
is raising ~$40,000 USD</a> to release HTTP/2 support and ensure
long-term sustainable maintenance of the project after a sharp decline
in financial support for 2023. If your company or organization uses
Python and would benefit from HTTP/2 support in Requests, pip, cloud
SDKs, and thousands of other projects <a
href="https://opencollective.com/urllib3">please consider contributing
financially</a> to ensure HTTP/2 support is developed sustainably and
maintained for the long-haul.</p>
<p>Thank you for your support.</p>
<h2>Changes</h2>
<ul>
<li>Added support for <a
href="https://urllib3.readthedocs.io/en/latest/reference/contrib/emscripten.html">Emscripten
and Pyodide</a>, including streaming support in cross-origin isolated
browser environments where threading is enabled. (<a
href="https://redirect.github.com/urllib3/urllib3/issues/2951">#2951</a>)</li>
<li>Added support for <code>HTTPResponse.read1()</code> method. (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3186">#3186</a>)</li>
<li>Added rudimentary support for HTTP/2. (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3284">#3284</a>)</li>
<li>Fixed issue where requests against urls with trailing dots were
failing due to SSL errors
when using proxy. (<a
href="https://redirect.github.com/urllib3/urllib3/issues/2244">#2244</a>)</li>
<li>Fixed <code>HTTPConnection.proxy_is_verified</code> and
<code>HTTPSConnection.proxy_is_verified</code> to be always set to a
boolean after connecting to a proxy. It could be <code>None</code> in
some cases previously. (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3130">#3130</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/urllib3/urllib3/blob/main/CHANGES.rst">urllib3's
changelog</a>.</em></p>
<blockquote>
<h1>2.2.2 (2024-06-17)</h1>
<ul>
<li>Added the <code>Proxy-Authorization</code> header to the list of
headers to strip from requests when redirecting to a different host. As
before, different headers can be set via
<code>Retry.remove_headers_on_redirect</code>.</li>
<li>Allowed passing negative integers as <code>amt</code> to read
methods of <code>http.client.HTTPResponse</code> as an alternative to
<code>None</code>.
(<code>[#3122](https://github.com/urllib3/urllib3/issues/3122)
&lt;https://github.com/urllib3/urllib3/issues/3122&gt;</code>__)</li>
<li>Fixed return types representing copying actions to use
<code>typing.Self</code>.
(<code>[#3363](https://github.com/urllib3/urllib3/issues/3363)
&lt;https://github.com/urllib3/urllib3/issues/3363&gt;</code>__)</li>
</ul>
<h1>2.2.1 (2024-02-16)</h1>
<ul>
<li>Fixed issue where <code>InsecureRequestWarning</code> was emitted
for HTTPS connections when using Emscripten.
(<code>[#3331](https://github.com/urllib3/urllib3/issues/3331)
&lt;https://github.com/urllib3/urllib3/issues/3331&gt;</code>__)</li>
<li>Fixed <code>HTTPConnectionPool.urlopen</code> to stop automatically
casting non-proxy headers to <code>HTTPHeaderDict</code>. This change
was premature as it did not apply to proxy headers and
<code>HTTPHeaderDict</code> does not handle byte header values correctly
yet. (<code>[#3343](https://github.com/urllib3/urllib3/issues/3343)
&lt;https://github.com/urllib3/urllib3/issues/3343&gt;</code>__)</li>
<li>Changed <code>InvalidChunkLength</code> to
<code>ProtocolError</code> when response terminates before the chunk
length is sent.
(<code>[#2860](https://github.com/urllib3/urllib3/issues/2860)
&lt;https://github.com/urllib3/urllib3/issues/2860&gt;</code>__)</li>
<li>Changed <code>ProtocolError</code> to be more verbose on incomplete
reads with excess content.
(<code>[#3261](https://github.com/urllib3/urllib3/issues/3261)
&lt;https://github.com/urllib3/urllib3/issues/3261&gt;</code>__)</li>
</ul>
<h1>2.2.0 (2024-01-30)</h1>
<ul>
<li>Added support for <code>Emscripten and Pyodide
&lt;https://urllib3.readthedocs.io/en/latest/reference/contrib/emscripten.html&gt;</code><strong>,
including streaming support in cross-origin isolated browser
environments where threading is enabled.
(<code>[#2951](https://github.com/urllib3/urllib3/issues/2951)
&lt;https://github.com/urllib3/urllib3/issues/2951&gt;</code></strong>)</li>
<li>Added support for <code>HTTPResponse.read1()</code> method.
(<code>[#3186](https://github.com/urllib3/urllib3/issues/3186)
&lt;https://github.com/urllib3/urllib3/issues/3186&gt;</code>__)</li>
<li>Added rudimentary support for HTTP/2.
(<code>[#3284](https://github.com/urllib3/urllib3/issues/3284)
&lt;https://github.com/urllib3/urllib3/issues/3284&gt;</code>__)</li>
<li>Fixed issue where requests against urls with trailing dots were
failing due to SSL errors
when using proxy.
(<code>[#2244](https://github.com/urllib3/urllib3/issues/2244)
&lt;https://github.com/urllib3/urllib3/issues/2244&gt;</code>__)</li>
<li>Fixed <code>HTTPConnection.proxy_is_verified</code> and
<code>HTTPSConnection.proxy_is_verified</code>
to be always set to a boolean after connecting to a proxy. It could be
<code>None</code> in some cases previously.
(<code>[#3130](https://github.com/urllib3/urllib3/issues/3130)
&lt;https://github.com/urllib3/urllib3/issues/3130&gt;</code>__)</li>
<li>Fixed an issue where <code>headers</code> passed in a request with
<code>json=</code> would be mutated
(<code>[#3203](https://github.com/urllib3/urllib3/issues/3203)
&lt;https://github.com/urllib3/urllib3/issues/3203&gt;</code>__)</li>
<li>Fixed <code>HTTPSConnection.is_verified</code> to be set to
<code>False</code> when connecting
from a HTTPS proxy to an HTTP target. It was set to <code>True</code>
previously.
(<code>[#3267](https://github.com/urllib3/urllib3/issues/3267)
&lt;https://github.com/urllib3/urllib3/issues/3267&gt;</code>__)</li>
<li>Fixed handling of new error message from OpenSSL 3.2.0 when
configuring an HTTP proxy as HTTPS
(<code>[#3268](https://github.com/urllib3/urllib3/issues/3268)
&lt;https://github.com/urllib3/urllib3/issues/3268&gt;</code>__)</li>
<li>Fixed TLS 1.3 post-handshake auth when the server certificate
validation is disabled
(<code>[#3325](https://github.com/urllib3/urllib3/issues/3325)
&lt;https://github.com/urllib3/urllib3/issues/3325&gt;</code>__)</li>
<li>Note for downstream distributors: To run integration tests, you now
need to run the tests a second
time with the <code>--integration</code> pytest flag.
(<code>[#3181](https://github.com/urllib3/urllib3/issues/3181)
&lt;https://github.com/urllib3/urllib3/issues/3181&gt;</code>__)</li>
</ul>
<h1>2.1.0 (2023-11-13)</h1>
<ul>
<li>Removed support for the deprecated urllib3[secure] extra.
(<code>[#2680](https://github.com/urllib3/urllib3/issues/2680)
&lt;https://github.com/urllib3/urllib3/issues/2680&gt;</code>__)</li>
<li>Removed support for the deprecated SecureTransport TLS
implementation.
(<code>[#2681](https://github.com/urllib3/urllib3/issues/2681)
&lt;https://github.com/urllib3/urllib3/issues/2681&gt;</code>__)</li>
<li>Removed support for the end-of-life Python 3.7.
(<code>[#3143](https://github.com/urllib3/urllib3/issues/3143)
&lt;https://github.com/urllib3/urllib3/issues/3143&gt;</code>__)</li>
<li>Allowed loading CA certificates from memory for proxies.
(<code>[#3065](https://github.com/urllib3/urllib3/issues/3065)
&lt;https://github.com/urllib3/urllib3/issues/3065&gt;</code>__)</li>
<li>Fixed decoding Gzip-encoded responses which specified
<code>x-gzip</code> content-encoding.
(<code>[#3174](https://github.com/urllib3/urllib3/issues/3174)
&lt;https://github.com/urllib3/urllib3/issues/3174&gt;</code>__)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="27e2a5c5a7"><code>27e2a5c</code></a>
Release 2.2.2 (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3406">#3406</a>)</li>
<li><a
href="accff72ecc"><code>accff72</code></a>
Merge pull request from GHSA-34jh-p97f-mpxf</li>
<li><a
href="34be4a57e5"><code>34be4a5</code></a>
Pin CFFI to a new release candidate instead of a Git commit (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3398">#3398</a>)</li>
<li><a
href="da410581b6"><code>da41058</code></a>
Bump browser-actions/setup-chrome from 1.6.0 to 1.7.1 (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3399">#3399</a>)</li>
<li><a
href="b07a669bd9"><code>b07a669</code></a>
Bump github/codeql-action from 2.13.4 to 3.25.6 (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3396">#3396</a>)</li>
<li><a
href="b8589ec9f8"><code>b8589ec</code></a>
Measure coverage with v4 of artifact actions (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3394">#3394</a>)</li>
<li><a
href="f3bdc55851"><code>f3bdc55</code></a>
Allow triggering CI manually (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3391">#3391</a>)</li>
<li><a
href="52392654b3"><code>5239265</code></a>
Fix HTTP version in debug log (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3316">#3316</a>)</li>
<li><a
href="b34619f94e"><code>b34619f</code></a>
Bump actions/checkout to 4.1.4 (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3387">#3387</a>)</li>
<li><a
href="9961d14de7"><code>9961d14</code></a>
Bump browser-actions/setup-chrome from 1.5.0 to 1.6.0 (<a
href="https://redirect.github.com/urllib3/urllib3/issues/3386">#3386</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/urllib3/urllib3/compare/2.0.7...2.2.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=urllib3&package-manager=pip&previous-version=2.0.7&new-version=2.2.2)](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-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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/mozilla/experimenter/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 13:56:48 +00:00
dependabot[bot] 700bc67462
chore(deps): Bump uvicorn from 0.29.0 to 0.30.1 in /cirrus/server (#10787)
Bumps [uvicorn](https://github.com/encode/uvicorn) from 0.29.0 to
0.30.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/encode/uvicorn/releases">uvicorn's
releases</a>.</em></p>
<blockquote>
<h2>Version 0.30.1</h2>
<h3>Fixed</h3>
<ul>
<li>Allow horizontal tabs <code>\t</code> in response header values (<a
href="https://redirect.github.com/encode/uvicorn/issues/2345">#2345</a>)</li>
</ul>
<hr />
<p><strong>Full Changelog</strong>: <a
href="https://github.com/encode/uvicorn/compare/0.30.0...0.30.1">https://github.com/encode/uvicorn/compare/0.30.0...0.30.1</a></p>
<h2>Version 0.30.0</h2>
<h3>Added</h3>
<ul>
<li>New multiprocess manager (<a
href="https://redirect.github.com/encode/uvicorn/issues/2183">#2183</a>)</li>
<li>Allow <code>ConfigParser</code> or a <code>io.IO[Any]</code> on
<code>log_config</code> (<a
href="https://redirect.github.com/encode/uvicorn/issues/1976">#1976</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Suppress side effects of signal propagation (<a
href="https://redirect.github.com/encode/uvicorn/issues/2317">#2317</a>)</li>
<li>Send <code>content-length</code> header on 5xx (<a
href="https://redirect.github.com/encode/uvicorn/issues/2304">#2304</a>)</li>
</ul>
<h3>Deprecated</h3>
<ul>
<li>Deprecate the <code>uvicorn.workers</code> module (<a
href="https://redirect.github.com/encode/uvicorn/issues/2302">#2302</a>)</li>
</ul>
<hr />
<p><strong>Full Changelog</strong>: <a
href="https://github.com/encode/uvicorn/compare/0.29.0...0.30.0">https://github.com/encode/uvicorn/compare/0.29.0...0.30.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/encode/uvicorn/blob/master/CHANGELOG.md">uvicorn's
changelog</a>.</em></p>
<blockquote>
<h2>0.30.1 (2024-06-02)</h2>
<h3>Fixed</h3>
<ul>
<li>Allow horizontal tabs <code>\t</code> in response header values (<a
href="https://redirect.github.com/encode/uvicorn/issues/2345">#2345</a>)</li>
</ul>
<h2>0.30.0 (2024-05-28)</h2>
<h3>Added</h3>
<ul>
<li>New multiprocess manager (<a
href="https://redirect.github.com/encode/uvicorn/issues/2183">#2183</a>)</li>
<li>Allow <code>ConfigParser</code> or a <code>io.IO[Any]</code> on
<code>log_config</code> (<a
href="https://redirect.github.com/encode/uvicorn/issues/1976">#1976</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Suppress side-effects of signal propagation (<a
href="https://redirect.github.com/encode/uvicorn/issues/2317">#2317</a>)</li>
<li>Send <code>content-length</code> header on 5xx (<a
href="https://redirect.github.com/encode/uvicorn/issues/2304">#2304</a>)</li>
</ul>
<h3>Deprecated</h3>
<ul>
<li>Deprecate the <code>uvicorn.workers</code> module (<a
href="https://redirect.github.com/encode/uvicorn/issues/2302">#2302</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="44a3071654"><code>44a3071</code></a>
Version 0.30.1 (<a
href="https://redirect.github.com/encode/uvicorn/issues/2349">#2349</a>)</li>
<li><a
href="6d666d99a2"><code>6d666d9</code></a>
Allow horizontal tabs <code>\t</code> in response header values (<a
href="https://redirect.github.com/encode/uvicorn/issues/2345">#2345</a>)</li>
<li><a
href="9a6b3a8249"><code>9a6b3a8</code></a>
Version 0.30.0 (<a
href="https://redirect.github.com/encode/uvicorn/issues/2348">#2348</a>)</li>
<li><a
href="53fa273822"><code>53fa273</code></a>
New multiprocess manager (<a
href="https://redirect.github.com/encode/uvicorn/issues/2183">#2183</a>)</li>
<li><a
href="22873a9918"><code>22873a9</code></a>
Suppress side-effects of signal propagation (<a
href="https://redirect.github.com/encode/uvicorn/issues/2317">#2317</a>)</li>
<li><a
href="14ffba8316"><code>14ffba8</code></a>
Simplify CHANGELOG (<a
href="https://redirect.github.com/encode/uvicorn/issues/2337">#2337</a>)</li>
<li><a
href="5c78192e8f"><code>5c78192</code></a>
Add favicon and logo to the documentation (<a
href="https://redirect.github.com/encode/uvicorn/issues/2336">#2336</a>)</li>
<li><a
href="b9c03a80ab"><code>b9c03a8</code></a>
Improve type hints on WebSockets implementations (<a
href="https://redirect.github.com/encode/uvicorn/issues/2335">#2335</a>)</li>
<li><a
href="14bdf047f6"><code>14bdf04</code></a>
Use <code>pytestmark</code> to simplify test suite (<a
href="https://redirect.github.com/encode/uvicorn/issues/2334">#2334</a>)</li>
<li><a
href="0efd3835da"><code>0efd383</code></a>
Send <code>content-length</code> header on 5xx (<a
href="https://redirect.github.com/encode/uvicorn/issues/2304">#2304</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/encode/uvicorn/compare/0.29.0...0.30.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=uvicorn&package-manager=pip&previous-version=0.29.0&new-version=0.30.1)](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-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>
2024-06-04 00:24:20 +00:00
dependabot[bot] 0ab6aa6d39
chore(deps): Bump requests from 2.31.0 to 2.32.0 in /cirrus/server (#10736)
Bumps [requests](https://github.com/psf/requests) from 2.31.0 to 2.32.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/psf/requests/releases">requests's
releases</a>.</em></p>
<blockquote>
<h2>v2.32.0</h2>
<h2>2.32.0 (2024-05-20)</h2>
<h2>🐍 PYCON US 2024 EDITION 🐍</h2>
<p><strong>Security</strong></p>
<ul>
<li>Fixed an issue where setting <code>verify=False</code> on the first
request from a
Session will cause subsequent requests to the <em>same origin</em> to
also ignore
cert verification, regardless of the value of <code>verify</code>.
(<a
href="https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56">https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56</a>)</li>
</ul>
<p><strong>Improvements</strong></p>
<ul>
<li><code>verify=True</code> now reuses a global SSLContext which should
improve
request time variance between first and subsequent requests. It should
also minimize certificate load time on Windows systems when using a
Python
version built with OpenSSL 3.x. (<a
href="https://redirect.github.com/psf/requests/issues/6667">#6667</a>)</li>
<li>Requests now supports optional use of character detection
(<code>chardet</code> or <code>charset_normalizer</code>) when
repackaged or vendored.
This enables <code>pip</code> and other projects to minimize their
vendoring
surface area. The <code>Response.text()</code> and
<code>apparent_encoding</code> APIs
will default to <code>utf-8</code> if neither library is present. (<a
href="https://redirect.github.com/psf/requests/issues/6702">#6702</a>)</li>
</ul>
<p><strong>Bugfixes</strong></p>
<ul>
<li>Fixed bug in length detection where emoji length was incorrectly
calculated in the request content-length. (<a
href="https://redirect.github.com/psf/requests/issues/6589">#6589</a>)</li>
<li>Fixed deserialization bug in JSONDecodeError. (<a
href="https://redirect.github.com/psf/requests/issues/6629">#6629</a>)</li>
<li>Fixed bug where an extra leading <code>/</code> (path separator)
could lead
urllib3 to unnecessarily reparse the request URI. (<a
href="https://redirect.github.com/psf/requests/issues/6644">#6644</a>)</li>
</ul>
<p><strong>Deprecations</strong></p>
<ul>
<li>Requests has officially added support for CPython 3.12 (<a
href="https://redirect.github.com/psf/requests/issues/6503">#6503</a>)</li>
<li>Requests has officially added support for PyPy 3.9 and 3.10 (<a
href="https://redirect.github.com/psf/requests/issues/6641">#6641</a>)</li>
<li>Requests has officially dropped support for CPython 3.7 (<a
href="https://redirect.github.com/psf/requests/issues/6642">#6642</a>)</li>
<li>Requests has officially dropped support for PyPy 3.7 and 3.8 (<a
href="https://redirect.github.com/psf/requests/issues/6641">#6641</a>)</li>
</ul>
<p><strong>Documentation</strong></p>
<ul>
<li>Various typo fixes and doc improvements.</li>
</ul>
<p><strong>Packaging</strong></p>
<ul>
<li>Requests has started adopting some modern packaging practices.
The source files for the projects (formerly <code>requests</code>) is
now located
in <code>src/requests</code> in the Requests sdist. (<a
href="https://redirect.github.com/psf/requests/issues/6506">#6506</a>)</li>
<li>Starting in Requests 2.33.0, Requests will migrate to a PEP 517
build system
using <code>hatchling</code>. This should not impact the average user,
but extremely old
versions of packaging utilities may have issues with the new packaging
format.</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/matthewarmand"><code>@​matthewarmand</code></a>
made their first contribution in <a
href="https://redirect.github.com/psf/requests/pull/6258">psf/requests#6258</a></li>
<li><a href="https://github.com/cpzt"><code>@​cpzt</code></a> made their
first contribution in <a
href="https://redirect.github.com/psf/requests/pull/6456">psf/requests#6456</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/psf/requests/blob/main/HISTORY.md">requests's
changelog</a>.</em></p>
<blockquote>
<h2>2.32.0 (2024-05-20)</h2>
<p><strong>Security</strong></p>
<ul>
<li>Fixed an issue where setting <code>verify=False</code> on the first
request from a
Session will cause subsequent requests to the <em>same origin</em> to
also ignore
cert verification, regardless of the value of <code>verify</code>.
(<a
href="https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56">https://github.com/psf/requests/security/advisories/GHSA-9wx4-h78v-vm56</a>)</li>
</ul>
<p><strong>Improvements</strong></p>
<ul>
<li><code>verify=True</code> now reuses a global SSLContext which should
improve
request time variance between first and subsequent requests. It should
also minimize certificate load time on Windows systems when using a
Python
version built with OpenSSL 3.x. (<a
href="https://redirect.github.com/psf/requests/issues/6667">#6667</a>)</li>
<li>Requests now supports optional use of character detection
(<code>chardet</code> or <code>charset_normalizer</code>) when
repackaged or vendored.
This enables <code>pip</code> and other projects to minimize their
vendoring
surface area. The <code>Response.text()</code> and
<code>apparent_encoding</code> APIs
will default to <code>utf-8</code> if neither library is present. (<a
href="https://redirect.github.com/psf/requests/issues/6702">#6702</a>)</li>
</ul>
<p><strong>Bugfixes</strong></p>
<ul>
<li>Fixed bug in length detection where emoji length was incorrectly
calculated in the request content-length. (<a
href="https://redirect.github.com/psf/requests/issues/6589">#6589</a>)</li>
<li>Fixed deserialization bug in JSONDecodeError. (<a
href="https://redirect.github.com/psf/requests/issues/6629">#6629</a>)</li>
<li>Fixed bug where an extra leading <code>/</code> (path separator)
could lead
urllib3 to unnecessarily reparse the request URI. (<a
href="https://redirect.github.com/psf/requests/issues/6644">#6644</a>)</li>
</ul>
<p><strong>Deprecations</strong></p>
<ul>
<li>Requests has officially added support for CPython 3.12 (<a
href="https://redirect.github.com/psf/requests/issues/6503">#6503</a>)</li>
<li>Requests has officially added support for PyPy 3.9 and 3.10 (<a
href="https://redirect.github.com/psf/requests/issues/6641">#6641</a>)</li>
<li>Requests has officially dropped support for CPython 3.7 (<a
href="https://redirect.github.com/psf/requests/issues/6642">#6642</a>)</li>
<li>Requests has officially dropped support for PyPy 3.7 and 3.8 (<a
href="https://redirect.github.com/psf/requests/issues/6641">#6641</a>)</li>
</ul>
<p><strong>Documentation</strong></p>
<ul>
<li>Various typo fixes and doc improvements.</li>
</ul>
<p><strong>Packaging</strong></p>
<ul>
<li>Requests has started adopting some modern packaging practices.
The source files for the projects (formerly <code>requests</code>) is
now located
in <code>src/requests</code> in the Requests sdist. (<a
href="https://redirect.github.com/psf/requests/issues/6506">#6506</a>)</li>
<li>Starting in Requests 2.33.0, Requests will migrate to a PEP 517
build system
using <code>hatchling</code>. This should not impact the average user,
but extremely old
versions of packaging utilities may have issues with the new packaging
format.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="d6ebc4a2f1"><code>d6ebc4a</code></a>
v2.32.0</li>
<li><a
href="9a40d12778"><code>9a40d12</code></a>
Avoid reloading root certificates to improve concurrent performance (<a
href="https://redirect.github.com/psf/requests/issues/6667">#6667</a>)</li>
<li><a
href="0c030f78d2"><code>0c030f7</code></a>
Merge pull request <a
href="https://redirect.github.com/psf/requests/issues/6702">#6702</a>
from nateprewitt/no_char_detection</li>
<li><a
href="555b870eb1"><code>555b870</code></a>
Allow character detection dependencies to be optional in post-packaging
steps</li>
<li><a
href="d6dded3f00"><code>d6dded3</code></a>
Merge pull request <a
href="https://redirect.github.com/psf/requests/issues/6700">#6700</a>
from franekmagiera/update-redirect-to-invalid-uri-test</li>
<li><a
href="bf24b7d8d1"><code>bf24b7d</code></a>
Use an invalid URI that will not cause httpbin to throw 500</li>
<li><a
href="2d5f54779a"><code>2d5f547</code></a>
Pin 3.8 and 3.9 runners back to macos-13 (<a
href="https://redirect.github.com/psf/requests/issues/6688">#6688</a>)</li>
<li><a
href="f1bb07d39b"><code>f1bb07d</code></a>
Merge pull request <a
href="https://redirect.github.com/psf/requests/issues/6687">#6687</a>
from psf/dependabot/github_actions/github/codeql-act...</li>
<li><a
href="60047ade64"><code>60047ad</code></a>
Bump github/codeql-action from 3.24.0 to 3.25.0</li>
<li><a
href="31ebb8102c"><code>31ebb81</code></a>
Merge pull request <a
href="https://redirect.github.com/psf/requests/issues/6682">#6682</a>
from frenzymadness/pytest8</li>
<li>Additional commits viewable in <a
href="https://github.com/psf/requests/compare/v2.31.0...v2.32.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=requests&package-manager=pip&previous-version=2.31.0&new-version=2.32.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-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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/mozilla/experimenter/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-22 16:48:54 +00:00
dependabot[bot] 018116ed9b
chore(deps): Bump jinja2 from 3.1.3 to 3.1.4 in /cirrus/server (#10659)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pallets/jinja/releases">jinja2's
releases</a>.</em></p>
<blockquote>
<h2>3.1.4</h2>
<p>This is the Jinja 3.1.4 security release, which fixes security issues
and bugs but does not otherwise change behavior and should not result in
breaking changes.</p>
<p>PyPI: <a
href="https://pypi.org/project/Jinja2/3.1.4/">https://pypi.org/project/Jinja2/3.1.4/</a>
Changes: <a
href="https://jinja.palletsprojects.com/en/3.1.x/changes/#version-3-1-4">https://jinja.palletsprojects.com/en/3.1.x/changes/#version-3-1-4</a></p>
<ul>
<li>The <code>xmlattr</code> filter does not allow keys with
<code>/</code> solidus, <code>&gt;</code> greater-than sign, or
<code>=</code> equals sign, in addition to disallowing spaces.
Regardless of any validation done by Jinja, user input should never be
used as keys to this filter, or must be separately validated first.
GHSA-h75v-3vvj-5mfj</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pallets/jinja/blob/main/CHANGES.rst">jinja2's
changelog</a>.</em></p>
<blockquote>
<h2>Version 3.1.4</h2>
<p>Released 2024-05-05</p>
<ul>
<li>The <code>xmlattr</code> filter does not allow keys with
<code>/</code> solidus, <code>&gt;</code>
greater-than sign, or <code>=</code> equals sign, in addition to
disallowing spaces.
Regardless of any validation done by Jinja, user input should never be
used
as keys to this filter, or must be separately validated first.
:ghsa:<code>h75v-3vvj-5mfj</code></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="dd4a8b5466"><code>dd4a8b5</code></a>
release version 3.1.4</li>
<li><a
href="0668239dc6"><code>0668239</code></a>
Merge pull request from GHSA-h75v-3vvj-5mfj</li>
<li><a
href="d655030770"><code>d655030</code></a>
disallow invalid characters in keys to xmlattr filter</li>
<li><a
href="a7863ba9d3"><code>a7863ba</code></a>
add ghsa links</li>
<li><a
href="b5c98e78c2"><code>b5c98e7</code></a>
start version 3.1.4</li>
<li><a
href="da3a9f0b80"><code>da3a9f0</code></a>
update project files (<a
href="https://redirect.github.com/pallets/jinja/issues/1968">#1968</a>)</li>
<li><a
href="0ee5eb41d1"><code>0ee5eb4</code></a>
satisfy formatter, linter, and strict mypy</li>
<li><a
href="20477c6357"><code>20477c6</code></a>
update project files (<a
href="https://redirect.github.com/pallets/jinja/issues/5457">#5457</a>)</li>
<li><a
href="e491223739"><code>e491223</code></a>
update pyyaml dev dependency</li>
<li><a
href="36f98854c7"><code>36f9885</code></a>
fix pr link</li>
<li>Additional commits viewable in <a
href="https://github.com/pallets/jinja/compare/3.1.3...3.1.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=jinja2&package-manager=pip&previous-version=3.1.3&new-version=3.1.4)](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-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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/mozilla/experimenter/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 15:25:42 +00:00
Yashika Khurana b052961a3b
feat(cirrus): Initialize sentry on startup (#10619)
Because

- Sentry was getting initializing after glean initialization, hence we
were not getting glean error reports on sentry

This commit

- changes the sequence of sentry initialization

Fixes #10614
2024-04-25 20:10:21 +00:00
dependabot[bot] 45850d4def
chore(deps): Bump ruff from 0.3.0 to 0.4.1 in /cirrus/server (#10607)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.3.0 to 0.4.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/releases">ruff's
releases</a>.</em></p>
<blockquote>
<h2>v0.4.1</h2>
<h2>Changes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>pylint</code>] Implement <code>invalid-hash-returned</code>
(<code>PLE0309</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10961">#10961</a>)</li>
<li>[<code>pylint</code>] Implement <code>invalid-index-returned</code>
(<code>PLE0305</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10962">#10962</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>pylint</code>] Allow <code>NoReturn</code>-like functions for
<code>__str__</code>, <code>__len__</code>, etc. (<code>PLE0307</code>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/11017">#11017</a>)</li>
<li>Parser: Use empty range when there's &quot;gap&quot; in token source
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/11032">#11032</a>)</li>
<li>[<code>ruff</code>] Ignore stub functions in
<code>unused-async</code> (<code>RUF029</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11026">#11026</a>)</li>
<li>Parser: Expect indented case block instead of match stmt (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11033">#11033</a>)</li>
</ul>
<h2>Contributors</h2>
<ul>
<li><a
href="https://github.com/AlexWaygood"><code>@​AlexWaygood</code></a></li>
<li><a
href="https://github.com/HenryAsa"><code>@​HenryAsa</code></a></li>
<li><a
href="https://github.com/MithicSpirit"><code>@​MithicSpirit</code></a></li>
<li><a
href="https://github.com/charliermarsh"><code>@​charliermarsh</code></a></li>
<li><a
href="https://github.com/dhruvmanila"><code>@​dhruvmanila</code></a></li>
<li><a
href="https://github.com/tibor-reiss"><code>@​tibor-reiss</code></a></li>
</ul>
<h2>v0.4.0</h2>
<h2>Changes</h2>
<h3>A new, hand-written parser</h3>
<p>Ruff's new parser is <strong>&gt;2x faster</strong>, which translates
to a <strong>20-40% speedup</strong> for all linting and formatting
invocations. There's a lot to say about this exciting change, so check
out the <a href="https://astral.sh/blog/ruff-v0.4.0">blog post</a> for
more details!</p>
<p>See <a
href="https://redirect.github.com/astral-sh/ruff/pull/10036">#10036</a>
for implementation details.</p>
<h3>A new language server in Rust</h3>
<p>With this release, we also want to highlight our new language server.
<code>ruff server</code> is a Rust-powered language server that comes
built-in with Ruff. It can be used with any editor that supports the <a
href="https://microsoft.github.io/language-server-protocol/">Language
Server Protocol</a> (LSP). It uses a multi-threaded, lock-free
architecture inspired by <code>rust-analyzer</code> and it will open the
door for a lot of exciting features. It’s also faster than our previous
<a href="https://github.com/astral-sh/ruff-lsp">Python-based language
server</a> -- but you probably guessed that already.</p>
<p><code>ruff server</code> is only in alpha, but it has a lot of
features that you can try out today:</p>
<ul>
<li>Lints Python files automatically and shows quick-fixes when
available</li>
<li>Formats Python files, with support for range formatting</li>
<li>Comes with commands for quickly performing actions:
<code>ruff.applyAutofix</code>, <code>ruff.applyFormat</code>, and
<code>ruff.applyOrganizeImports</code></li>
<li>Supports <code>source.fixAll</code> and
<code>source.organizeImports</code> source actions</li>
<li>Automatically reloads your project configuration when you change
it</li>
</ul>
<p>To setup <code>ruff server</code> with your editor, refer to the <a
href="https://github.com/astral-sh/ruff/blob/main/crates/ruff_server/README.md">README.md</a>.</p>
<h3>Preview features</h3>
<ul>
<li>[<code>pycodestyle</code>] Do not trigger <code>E3</code> rules on
<code>def</code>s following a function/method with a dummy body (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10704">#10704</a>)</li>
<li>[<code>pylint</code>] Implement <code>invalid-bytes-returned</code>
(<code>E0308</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10959">#10959</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's
changelog</a>.</em></p>
<blockquote>
<h2>0.4.1</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>pylint</code>] Implement <code>invalid-hash-returned</code>
(<code>PLE0309</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10961">#10961</a>)</li>
<li>[<code>pylint</code>] Implement <code>invalid-index-returned</code>
(<code>PLE0305</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10962">#10962</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>pylint</code>] Allow <code>NoReturn</code>-like functions for
<code>__str__</code>, <code>__len__</code>, etc. (<code>PLE0307</code>)
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/11017">#11017</a>)</li>
<li>Parser: Use empty range when there's &quot;gap&quot; in token source
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/11032">#11032</a>)</li>
<li>[<code>ruff</code>] Ignore stub functions in
<code>unused-async</code> (<code>RUF029</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11026">#11026</a>)</li>
<li>Parser: Expect indented case block instead of match stmt (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11033">#11033</a>)</li>
</ul>
<h2>0.4.0</h2>
<h3>A new, hand-written parser</h3>
<p>Ruff's new parser is <strong>&gt;2x faster</strong>, which translates
to a <strong>20-40% speedup</strong> for all linting and formatting
invocations.
There's a lot to say about this exciting change, so check out the <a
href="https://astral.sh/blog/ruff-v0.4.0">blog post</a> for more
details!</p>
<p>See <a
href="https://redirect.github.com/astral-sh/ruff/pull/10036">#10036</a>
for implementation details.</p>
<h3>A new language server in Rust</h3>
<p>With this release, we also want to highlight our new language server.
<code>ruff server</code> is a Rust-powered language
server that comes built-in with Ruff. It can be used with any editor
that supports the <a
href="https://microsoft.github.io/language-server-protocol/">Language
Server Protocol</a> (LSP).
It uses a multi-threaded, lock-free architecture inspired by
<code>rust-analyzer</code> and it will open the door for a lot
of exciting features. It’s also faster than our previous <a
href="https://github.com/astral-sh/ruff-lsp">Python-based language
server</a>
-- but you probably guessed that already.</p>
<p><code>ruff server</code> is only in alpha, but it has a lot of
features that you can try out today:</p>
<ul>
<li>Lints Python files automatically and shows quick-fixes when
available</li>
<li>Formats Python files, with support for range formatting</li>
<li>Comes with commands for quickly performing actions:
<code>ruff.applyAutofix</code>, <code>ruff.applyFormat</code>, and
<code>ruff.applyOrganizeImports</code></li>
<li>Supports <code>source.fixAll</code> and
<code>source.organizeImports</code> source actions</li>
<li>Automatically reloads your project configuration when you change
it</li>
</ul>
<p>To setup <code>ruff server</code> with your editor, refer to the <a
href="https://github.com/astral-sh/ruff/blob/main/crates/ruff_server/README.md">README.md</a>.</p>
<h3>Preview features</h3>
<ul>
<li>[<code>pycodestyle</code>] Do not trigger <code>E3</code> rules on
<code>def</code>s following a function/method with a dummy body (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10704">#10704</a>)</li>
<li>[<code>pylint</code>] Implement <code>invalid-bytes-returned</code>
(<code>E0308</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10959">#10959</a>)</li>
<li>[<code>pylint</code>] Implement <code>invalid-length-returned</code>
(<code>E0303</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10963">#10963</a>)</li>
<li>[<code>pylint</code>] Implement <code>self-cls-assignment</code>
(<code>W0642</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9267">#9267</a>)</li>
<li>[<code>pylint</code>] Omit stubs from <code>invalid-bool</code> and
<code>invalid-str-return-type</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/11008">#11008</a>)</li>
<li>[<code>ruff</code>] New rule <code>unused-async</code>
(<code>RUF029</code>) to detect unneeded <code>async</code> keywords on
functions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9966">#9966</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="0ff25a540c"><code>0ff25a5</code></a>
Bump version to 0.4.1 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11035">#11035</a>)</li>
<li><a
href="34873ec009"><code>34873ec</code></a>
Add a script to fuzz the parser (courtesy of
<code>pysource-codegen</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11015">#11015</a>)</li>
<li><a
href="d3cd61f804"><code>d3cd61f</code></a>
Use empty range when there's &quot;gap&quot; in token source (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11032">#11032</a>)</li>
<li><a
href="9b80cc09ee"><code>9b80cc0</code></a>
Select fewer ruff rules when linting Python files in
<code>scripts/</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11034">#11034</a>)</li>
<li><a
href="9bb23b0a38"><code>9bb23b0</code></a>
Expect indented case block instead of match stmt (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11033">#11033</a>)</li>
<li><a
href="06c248a126"><code>06c248a</code></a>
[<code>ruff]</code> Ignore stub functions in <code>unused-async</code>
(<code>RUF029</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11026">#11026</a>)</li>
<li><a
href="27902b7130"><code>27902b7</code></a>
[<code>pylint</code>] Implement <code>invalid-index-returned</code>
(<code>PLE0305</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10962">#10962</a>)</li>
<li><a
href="97acf1d59b"><code>97acf1d</code></a>
ENH: Bump <code>ruff</code> dependency versions to support the latest
release of `v0.4.0...</li>
<li><a
href="adf63d9013"><code>adf63d9</code></a>
[<code>pylint</code>] Implement <code>invalid-hash-returned</code>
(<code>PLE0309</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10961">#10961</a>)</li>
<li><a
href="5d3c9f2637"><code>5d3c9f2</code></a>
<code>ruff server</code>: fix Neovim setup guide command (<a
href="https://redirect.github.com/astral-sh/ruff/issues/11021">#11021</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/v0.3.0...v0.4.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.3.0&new-version=0.4.1)](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-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>
2024-04-23 13:56:22 +00:00
Yashika Khurana e06a648fe6
chore(cirrus): Assign permission to cirrus user (#10595)
Because

- We recently added support for non root user for the cirrus docker
image, but non root user is having difficulty to work with glean data
directories

This commit

- Give appropriate permission to the user

Fixes #10594
2024-04-17 18:15:57 +00:00
dependabot[bot] 3bade053cf
chore(deps): Bump black from 24.3.0 to 24.4.0 in /cirrus/server (#10571)
Bumps [black](https://github.com/psf/black) from 24.3.0 to 24.4.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/psf/black/releases">black's
releases</a>.</em></p>
<blockquote>
<h2>24.4.0</h2>
<h3>Stable style</h3>
<ul>
<li>Fix unwanted crashes caused by AST equivalency check (<a
href="https://redirect.github.com/psf/black/issues/4290">#4290</a>)</li>
</ul>
<h3>Preview style</h3>
<ul>
<li><code>if</code> guards in <code>case</code> blocks are now wrapped
in parentheses when the line is too long.
(<a
href="https://redirect.github.com/psf/black/issues/4269">#4269</a>)</li>
<li>Stop moving multiline strings to a new line unless inside brackets
(<a
href="https://redirect.github.com/psf/black/issues/4289">#4289</a>)</li>
</ul>
<h3>Integrations</h3>
<ul>
<li>Add a new option <code>use_pyproject</code> to the GitHub Action
<code>psf/black</code>. This will read the
Black version from <code>pyproject.toml</code>. (<a
href="https://redirect.github.com/psf/black/issues/4294">#4294</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/psf/black/blob/main/CHANGES.md">black's
changelog</a>.</em></p>
<blockquote>
<h2>24.4.0</h2>
<h3>Stable style</h3>
<ul>
<li>Fix unwanted crashes caused by AST equivalency check (<a
href="https://redirect.github.com/psf/black/issues/4290">#4290</a>)</li>
</ul>
<h3>Preview style</h3>
<ul>
<li><code>if</code> guards in <code>case</code> blocks are now wrapped
in parentheses when the line is too long.
(<a
href="https://redirect.github.com/psf/black/issues/4269">#4269</a>)</li>
<li>Stop moving multiline strings to a new line unless inside brackets
(<a
href="https://redirect.github.com/psf/black/issues/4289">#4289</a>)</li>
</ul>
<h3>Integrations</h3>
<ul>
<li>Add a new option <code>use_pyproject</code> to the GitHub Action
<code>psf/black</code>. This will read the
Black version from <code>pyproject.toml</code>. (<a
href="https://redirect.github.com/psf/black/issues/4294">#4294</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="8fe627072f"><code>8fe6270</code></a>
Prepare release 24.4.0 (<a
href="https://redirect.github.com/psf/black/issues/4307">#4307</a>)</li>
<li><a
href="6b25e7cdab"><code>6b25e7c</code></a>
Bump peter-evans/find-comment from 3.0.0 to 3.1.0 (<a
href="https://redirect.github.com/psf/black/issues/4304">#4304</a>)</li>
<li><a
href="07fe1ca88a"><code>07fe1ca</code></a>
docs: remove repetitive word (<a
href="https://redirect.github.com/psf/black/issues/4303">#4303</a>)</li>
<li><a
href="3383f531bc"><code>3383f53</code></a>
GitHub Action: Allow reading version from pyproject.toml (<a
href="https://redirect.github.com/psf/black/issues/4294">#4294</a>)</li>
<li><a
href="c8f1a5542c"><code>c8f1a55</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/psf/black/issues/4297">#4297</a>)</li>
<li><a
href="836acad863"><code>836acad</code></a>
Improve AST safety check (<a
href="https://redirect.github.com/psf/black/issues/4290">#4290</a>)</li>
<li><a
href="13bd0925eb"><code>13bd092</code></a>
fix: Stop moving multiline strings to a new line unless inside brackets
(<a
href="https://redirect.github.com/psf/black/issues/4289">#4289</a>)</li>
<li><a
href="c9d2635b55"><code>c9d2635</code></a>
Remove mocking from tests (<a
href="https://redirect.github.com/psf/black/issues/4287">#4287</a>)</li>
<li><a
href="bf1195612c"><code>bf11956</code></a>
Fix two logging calls in the test helper (<a
href="https://redirect.github.com/psf/black/issues/4286">#4286</a>)</li>
<li><a
href="97993f997f"><code>97993f9</code></a>
Bump pypa/cibuildwheel from 2.16.5 to 2.17.0 (<a
href="https://redirect.github.com/psf/black/issues/4283">#4283</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/psf/black/compare/24.3.0...24.4.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=black&package-manager=pip&previous-version=24.3.0&new-version=24.4.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>
2024-04-15 19:54:08 +00:00
dependabot[bot] bebac97796
chore(deps): Bump sentry-sdk from 1.44.0 to 1.45.0 in /cirrus/server (#10572)
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from
1.44.0 to 1.45.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>1.45.0</h2>
<p>This is the final 1.x release for the forseeable future. Development
will continue on the 2.x release line. The first 2.x version will be
available in the next few weeks.</p>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>
<p>Allow to upsert monitors (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2929">#2929</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
<p>It's now possible to provide <code>monitor_config</code> to the
<code>monitor</code> decorator/context manager directly:</p>
<pre lang="python"><code>from sentry_sdk.crons import monitor
<h1>All keys except <code>schedule</code> are optional</h1>
<p>monitor_config = {
&quot;schedule&quot;: {&quot;type&quot;: &quot;crontab&quot;,
&quot;value&quot;: &quot;0 0 * * *&quot;},
&quot;timezone&quot;: &quot;Europe/Vienna&quot;,
&quot;checkin_margin&quot;: 10,
&quot;max_runtime&quot;: 10,
&quot;failure_issue_threshold&quot;: 5,
&quot;recovery_threshold&quot;: 5,
}</p>
<p><a
href="https://github.com/monitor"><code>@​monitor</code></a>(monitor_slug='&lt;monitor-slug&gt;',
monitor_config=monitor_config)
def tell_the_world():
print('My scheduled task...')
</code></pre></p>
<p>Check out <a
href="https://docs.sentry.io/platforms/python/crons/">the cron docs</a>
for details.</p>
</li>
<li>
<p>Add Django <code>signals_denylist</code> to filter signals that are
attached to by <code>signals_spans</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2758">#2758</a>)
by <a href="https://github.com/lieryan"><code>@​lieryan</code></a></p>
<p>If you want to exclude some Django signals from performance tracking,
you can use the new <code>signals_denylist</code> Django option:</p>
<pre lang="python"><code>import django.db.models.signals
import sentry_sdk
<p>sentry_sdk.init(
...
integrations=[
DjangoIntegration(
...
signals_denylist=[
django.db.models.signals.pre_init,
django.db.models.signals.post_init,
],
),
],
)
</code></pre></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>1.45.0</h2>
<p>This is the final 1.x release for the forseeable future. Development
will continue on the 2.x release line. The first 2.x version will be
available in the next few weeks.</p>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>
<p>Allow to upsert monitors (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2929">#2929</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
<p>It's now possible to provide <code>monitor_config</code> to the
<code>monitor</code> decorator/context manager directly:</p>
<pre lang="python"><code>from sentry_sdk.crons import monitor
<h1>All keys except <code>schedule</code> are optional</h1>
<p>monitor_config = {
&quot;schedule&quot;: {&quot;type&quot;: &quot;crontab&quot;,
&quot;value&quot;: &quot;0 0 * * *&quot;},
&quot;timezone&quot;: &quot;Europe/Vienna&quot;,
&quot;checkin_margin&quot;: 10,
&quot;max_runtime&quot;: 10,
&quot;failure_issue_threshold&quot;: 5,
&quot;recovery_threshold&quot;: 5,
}</p>
<p><a
href="https://github.com/monitor"><code>@​monitor</code></a>(monitor_slug='&lt;monitor-slug&gt;',
monitor_config=monitor_config)
def tell_the_world():
print('My scheduled task...')
</code></pre></p>
<p>Check out <a
href="https://docs.sentry.io/platforms/python/crons/">the cron docs</a>
for details.</p>
</li>
<li>
<p>Add Django <code>signals_denylist</code> to filter signals that are
attached to by <code>signals_spans</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2758">#2758</a>)
by <a href="https://github.com/lieryan"><code>@​lieryan</code></a></p>
<p>If you want to exclude some Django signals from performance tracking,
you can use the new <code>signals_denylist</code> Django option:</p>
<pre lang="python"><code>import django.db.models.signals
import sentry_sdk
<p>sentry_sdk.init(
...
integrations=[
DjangoIntegration(
...
signals_denylist=[
django.db.models.signals.pre_init,
django.db.models.signals.post_init,
],
),
],
)
</code></pre></p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="51a906c1b7"><code>51a906c</code></a>
Update CHANGELOG.md</li>
<li><a
href="7570e39ae3"><code>7570e39</code></a>
release: 1.45.0</li>
<li><a
href="e22abb636f"><code>e22abb6</code></a>
fix(metrics): Change <code>data_category</code> from <code>statsd</code>
to <code>metric_bucket</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2954">#2954</a>)</li>
<li><a
href="fab65e6574"><code>fab65e6</code></a>
feat(metrics): New normalization of keys, values, units (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2946">#2946</a>)</li>
<li><a
href="a584653e6e"><code>a584653</code></a>
feat(typing): Make monitor_config a TypedDict (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2931">#2931</a>)</li>
<li><a
href="a1ab33901d"><code>a1ab339</code></a>
feat(metrics): Add value, unit to before_emit_metric (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2958">#2958</a>)</li>
<li><a
href="18ccb8f464"><code>18ccb8f</code></a>
chore: Remove experimental metric summary options (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2957">#2957</a>)</li>
<li><a
href="a422dd781d"><code>a422dd7</code></a>
fix(profiler): Accessing <strong>mro</strong> might throw a ValueError
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2952">#2952</a>)</li>
<li><a
href="11e1f9aa1f"><code>11e1f9a</code></a>
feat(integrations): Add django signals_denylist to filter signals that
are at...</li>
<li><a
href="f5ec34cb63"><code>f5ec34c</code></a>
build(deps): bump types-protobuf from 4.24.0.20240311 to 4.24.0.20240408
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2941">#2941</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/getsentry/sentry-python/compare/1.44.0...1.45.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=1.44.0&new-version=1.45.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-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>
2024-04-15 19:28:34 +00:00
dependabot[bot] f9a7cccb85
chore(deps): Bump idna from 3.4 to 3.7 in /cirrus/server (#10563)
Bumps [idna](https://github.com/kjd/idna) from 3.4 to 3.7.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/kjd/idna/releases">idna's
releases</a>.</em></p>
<blockquote>
<h2>v3.7</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix issue where specially crafted inputs to encode() could take
exceptionally long amount of time to process. [CVE-2024-3651]</li>
</ul>
<p>Thanks to Guido Vranken for reporting the issue.</p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/kjd/idna/compare/v3.6...v3.7">https://github.com/kjd/idna/compare/v3.6...v3.7</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/kjd/idna/blob/master/HISTORY.rst">idna's
changelog</a>.</em></p>
<blockquote>
<p>3.7 (2024-04-11)
++++++++++++++++</p>
<ul>
<li>Fix issue where specially crafted inputs to encode() could
take exceptionally long amount of time to process. [CVE-2024-3651]</li>
</ul>
<p>Thanks to Guido Vranken for reporting the issue.</p>
<p>3.6 (2023-11-25)
++++++++++++++++</p>
<ul>
<li>Fix regression to include tests in source distribution.</li>
</ul>
<p>3.5 (2023-11-24)
++++++++++++++++</p>
<ul>
<li>Update to Unicode 15.1.0</li>
<li>String codec name is now &quot;idna2008&quot; as overriding the
system codec
&quot;idna&quot; was not working.</li>
<li>Fix typing error for codec encoding</li>
<li>&quot;setup.cfg&quot; has been added for this release due to some
downstream
lack of adherence to PEP 517. Should be removed in a future release
so please prepare accordingly.</li>
<li>Removed reliance on a symlink for the &quot;idna-data&quot; tool to
comport
with PEP 517 and the Python Packaging User Guide for sdist
archives.</li>
<li>Added security reporting protocol for project</li>
</ul>
<p>Thanks Jon Ribbens, Diogo Teles Sant'Anna, Wu Tingfeng for
contributions
to this release.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="1d365e17e1"><code>1d365e1</code></a>
Release v3.7</li>
<li><a
href="c1b3154939"><code>c1b3154</code></a>
Merge pull request <a
href="https://redirect.github.com/kjd/idna/issues/172">#172</a> from
kjd/optimize-contextj</li>
<li><a
href="0394ec76ff"><code>0394ec7</code></a>
Merge branch 'master' into optimize-contextj</li>
<li><a
href="cd58a23173"><code>cd58a23</code></a>
Merge pull request <a
href="https://redirect.github.com/kjd/idna/issues/152">#152</a> from
elliotwutingfeng/dev</li>
<li><a
href="5beb28b9dd"><code>5beb28b</code></a>
More efficient resolution of joiner contexts</li>
<li><a
href="1b121483ed"><code>1b12148</code></a>
Update ossf/scorecard-action to v2.3.1</li>
<li><a
href="d516b874c3"><code>d516b87</code></a>
Update Github actions/checkout to v4</li>
<li><a
href="c095c75943"><code>c095c75</code></a>
Merge branch 'master' into dev</li>
<li><a
href="60a0a4cb61"><code>60a0a4c</code></a>
Fix typo in GitHub Actions workflow key</li>
<li><a
href="5918a0ef80"><code>5918a0e</code></a>
Merge branch 'master' into dev</li>
<li>Additional commits viewable in <a
href="https://github.com/kjd/idna/compare/v3.4...v3.7">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=idna&package-manager=pip&previous-version=3.4&new-version=3.7)](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-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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/mozilla/experimenter/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 16:07:24 +00:00
dependabot[bot] 4b7ea2e635
chore(deps): Bump sentry-sdk from 1.43.0 to 1.44.0 in /cirrus/server (#10500)
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from
1.43.0 to 1.44.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>1.44.0</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>ref: Define types at runtime (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2914">#2914</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Explicit reexport of types (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2866">#2866</a>)
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2913">#2913</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>feat(profiling): Add thread data to spans (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2843">#2843</a>)
by <a
href="https://github.com/Zylphrex"><code>@​Zylphrex</code></a></li>
</ul>
</blockquote>
</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>1.44.0</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>ref: Define types at runtime (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2914">#2914</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>Explicit reexport of types (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2866">#2866</a>)
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2913">#2913</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li>
<li>feat(profiling): Add thread data to spans (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2843">#2843</a>)
by <a
href="https://github.com/Zylphrex"><code>@​Zylphrex</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4d8db7187c"><code>4d8db71</code></a>
Update CHANGELOG.md</li>
<li><a
href="a4e44fa6a2"><code>a4e44fa</code></a>
release: 1.44.0</li>
<li><a
href="6c2eb539f7"><code>6c2eb53</code></a>
ref: Define types at runtime (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2914">#2914</a>)</li>
<li><a
href="790ee6a819"><code>790ee6a</code></a>
Explicit reexport of types (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2866">#2866</a>)
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2913">#2913</a>)</li>
<li><a
href="05d1e5ca94"><code>05d1e5c</code></a>
build(deps): bump checkouts/data-schemas from <code>8232f17</code> to
<code>1e17eb5</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2901">#2901</a>)</li>
<li><a
href="48d77672a4"><code>48d7767</code></a>
feat(profiling): Add thread data to spans (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2843">#2843</a>)</li>
<li><a
href="500e087b99"><code>500e087</code></a>
Merge branch 'release/1.43.0'</li>
<li>See full diff in <a
href="https://github.com/getsentry/sentry-python/compare/1.43.0...1.44.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=1.43.0&new-version=1.44.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-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>
2024-04-02 13:41:57 +00:00
Yashika Khurana a448354848
feat(cirrus): Support non-root user (#10494)
Because

- Fxa can run the cirrus image in a container in the GCP v2 environment
as a non-root user only due to security policies.

This commit

- Support cirrus images to run as non-root users too.

Fixes #10459
2024-03-29 18:42:36 +00:00
dependabot[bot] 4952339d4a
chore(deps): Bump pytest-mock from 3.12.0 to 3.14.0 in /cirrus/server (#10474)
Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from
3.12.0 to 3.14.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pytest-mock/releases">pytest-mock's
releases</a>.</em></p>
<blockquote>
<h2>v3.14.0</h2>
<ul>
<li><a
href="https://redirect.github.com/pytest-dev/pytest-mock/pull/415">#415</a>:
<code>MockType</code> and <code>AsyncMockType</code> can be imported
from <code>pytest_mock</code> for type annotation purposes.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest-mock/issues/420">#420</a>:
Fixed a regression which would cause <code>mocker.patch.object</code> to
not being properly cleared between tests.</li>
</ul>
<h2>v3.13.0</h2>
<ul>
<li><a
href="https://redirect.github.com/pytest-dev/pytest-mock/pull/417">#417</a>:
<code>spy</code> now has <code>spy_return_list</code>, which is a list
containing all the values returned by the spied function.</li>
<li><code>pytest-mock</code> now requires
<code>pytest&gt;=6.2.5</code>.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest-mock/pull/410">#410</a>:
pytest-mock's <code>setup.py</code> file is removed.
If you relied on this file, e.g. to install pytest using <code>setup.py
install</code>,
please see <a
href="https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary">Why
you shouldn't invoke setup.py directly</a> for alternatives.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst">pytest-mock's
changelog</a>.</em></p>
<blockquote>
<h2>3.14.0 (2024-03-21)</h2>
<ul>
<li>
<p><code>[#415](https://github.com/pytest-dev/pytest-mock/issues/415)
&lt;https://github.com/pytest-dev/pytest-mock/pull/415&gt;</code>_:
<code>MockType</code> and <code>AsyncMockType</code> can be imported
from <code>pytest_mock</code> for type annotation purposes.</p>
</li>
<li>
<p><code>[#420](https://github.com/pytest-dev/pytest-mock/issues/420)
&lt;https://github.com/pytest-dev/pytest-mock/issues/420&gt;</code>_:
Fixed a regression which would cause <code>mocker.patch.object</code> to
not being properly cleared between tests.</p>
</li>
</ul>
<h2>3.13.0 (2024-03-21)</h2>
<ul>
<li><code>[#417](https://github.com/pytest-dev/pytest-mock/issues/417)
&lt;https://github.com/pytest-dev/pytest-mock/pull/417&gt;</code>_:
<code>spy</code> now has <code>spy_return_list</code>, which is a list
containing all the values returned by the spied function.</li>
<li><code>pytest-mock</code> now requires
<code>pytest&gt;=6.2.5</code>.</li>
<li><code>[#410](https://github.com/pytest-dev/pytest-mock/issues/410)
&lt;https://github.com/pytest-dev/pytest-mock/pull/410&gt;</code><em>:
pytest-mock's <code>setup.py</code> file is removed.
If you relied on this file, e.g. to install pytest using <code>setup.py
install</code>,
please see <code>Why you shouldn't invoke setup.py directly
&lt;https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary&gt;</code></em>
for alternatives.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="8733134b61"><code>8733134</code></a>
Update CHANGELOG for 3.14.0</li>
<li><a
href="5257e3c0df"><code>5257e3c</code></a>
Refactor MockCache to have a narrow interface</li>
<li><a
href="4faf92ae23"><code>4faf92a</code></a>
Fix regression with mocker.patch not being undone correctly</li>
<li><a
href="6bd8712a14"><code>6bd8712</code></a>
Drop pre-Python 3.8 support code</li>
<li><a
href="366966bff1"><code>366966b</code></a>
Export <code>MockType</code>/<code>AsyncMockType</code> for type
annotations (<a
href="https://redirect.github.com/pytest-dev/pytest-mock/issues/415">#415</a>)</li>
<li><a
href="852116b0af"><code>852116b</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest-mock/issues/418">#418</a>
from pytest-dev/release-3.13.0</li>
<li><a
href="ef9461b8b5"><code>ef9461b</code></a>
Add instructions on how to start deploy from command-line</li>
<li><a
href="5b9d2858f5"><code>5b9d285</code></a>
Release 3.13.0</li>
<li><a
href="6d5d6dc227"><code>6d5d6dc</code></a>
Implement <code>spy_return_list</code> (<a
href="https://redirect.github.com/pytest-dev/pytest-mock/issues/417">#417</a>)</li>
<li><a
href="dc28a0ec7b"><code>dc28a0e</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/pytest-dev/pytest-mock/issues/416">#416</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest-mock/compare/v3.12.0...v3.14.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-mock&package-manager=pip&previous-version=3.12.0&new-version=3.14.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-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>
2024-03-26 00:31:11 +00:00
dependabot[bot] 958a70e173
chore(deps): Bump sentry-sdk from 1.42.0 to 1.43.0 in /cirrus/server (#10473)
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from
1.42.0 to 1.43.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>1.43.0</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>
<p>Add optional <code>keep_alive</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2842">#2842</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
<p>If you're experiencing frequent network issues between the SDK and
Sentry, you can try turning on TCP keep-alive:</p>
<pre lang="python"><code>import sentry_sdk
<p>sentry_sdk.init(
# ...your usual settings...
keep_alive=True,
)
</code></pre></p>
</li>
<li>
<p>Add support for Celery Redbeat cron tasks (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2643">#2643</a>)
by <a href="https://github.com/kwigley"><code>@​kwigley</code></a></p>
<p>The SDK now supports the Redbeat scheduler in addition to the default
Celery Beat scheduler for auto instrumenting crons. See <a
href="https://docs.sentry.io/platforms/python/integrations/celery/crons/">the
docs</a> for more information about how to set this up.</p>
</li>
<li>
<p><code>aws_event</code> can be an empty list (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2849">#2849</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
</li>
<li>
<p>Re-export <code>Event</code> in <code>types.py</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2829">#2829</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Small API docs improvement (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2828">#2828</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>Fixed OpenAI tests (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2834">#2834</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>Bump <code>checkouts/data-schemas</code> from <code>ed078ed</code> to
<code>8232f17</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2832">#2832</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></p>
</li>
</ul>
</blockquote>
</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>1.43.0</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>
<p>Add optional <code>keep_alive</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2842">#2842</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
<p>If you're experiencing frequent network issues between the SDK and
Sentry,
you can try turning on TCP keep-alive:</p>
<pre lang="python"><code>import sentry_sdk
<p>sentry_sdk.init(
# ...your usual settings...
keep_alive=True,
)
</code></pre></p>
</li>
<li>
<p>Add support for Celery Redbeat cron tasks (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2643">#2643</a>)
by <a href="https://github.com/kwigley"><code>@​kwigley</code></a></p>
<p>The SDK now supports the Redbeat scheduler in addition to the default
Celery Beat scheduler for auto instrumenting crons. See
<a
href="https://docs.sentry.io/platforms/python/integrations/celery/crons/">the
docs</a>
for more information about how to set this up.</p>
</li>
<li>
<p><code>aws_event</code> can be an empty list (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2849">#2849</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
</li>
<li>
<p>Re-export <code>Event</code> in <code>types.py</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2829">#2829</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Small API docs improvement (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2828">#2828</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>Fixed OpenAI tests (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2834">#2834</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>Bump <code>checkouts/data-schemas</code> from <code>ed078ed</code> to
<code>8232f17</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2832">#2832</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="970c57790c"><code>970c577</code></a>
Update CHANGELOG.md</li>
<li><a
href="2020ecac89"><code>2020eca</code></a>
release: 1.43.0</li>
<li><a
href="a116c55199"><code>a116c55</code></a>
feat: Add optional <code>keep_alive</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2842">#2842</a>)</li>
<li><a
href="856e5bce74"><code>856e5bc</code></a>
fix(awslambda): aws_event can be an empty list (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2849">#2849</a>)</li>
<li><a
href="8e44430728"><code>8e44430</code></a>
build(deps): bump checkouts/data-schemas from <code>ed078ed</code> to
<code>8232f17</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2832">#2832</a>)</li>
<li><a
href="68b9180480"><code>68b9180</code></a>
feat(integrations): Add support for celery-redbeat cron tasks (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2643">#2643</a>)</li>
<li><a
href="9bdd029cc7"><code>9bdd029</code></a>
Small APIdocs improvement (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2828">#2828</a>)</li>
<li><a
href="9dc517b7dd"><code>9dc517b</code></a>
Re-export <code>Event</code> in <code>types.py</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2829">#2829</a>)</li>
<li><a
href="ab0c32e284"><code>ab0c32e</code></a>
Fixed OpenAI tests (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2834">#2834</a>)</li>
<li><a
href="16d25e2009"><code>16d25e2</code></a>
Merge branch 'release/1.42.0'</li>
<li>See full diff in <a
href="https://github.com/getsentry/sentry-python/compare/1.42.0...1.43.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=1.42.0&new-version=1.43.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-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>
2024-03-25 23:40:52 +00:00
dependabot[bot] 1af6ddc57e
chore(deps): Bump uvicorn from 0.28.0 to 0.29.0 in /cirrus/server (#10472)
Bumps [uvicorn](https://github.com/encode/uvicorn) from 0.28.0 to
0.29.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/encode/uvicorn/releases">uvicorn's
releases</a>.</em></p>
<blockquote>
<h2>Version 0.29.0</h2>
<h2>Added</h2>
<ul>
<li>Cooperative signal handling by <a
href="https://github.com/maxfischer2781"><code>@​maxfischer2781</code></a>
in <a
href="https://redirect.github.com/encode/uvicorn/pull/1600">encode/uvicorn#1600</a></li>
</ul>
<hr />
<p><strong>Full Changelog</strong>: <a
href="https://github.com/encode/uvicorn/compare/0.28.1...0.29.0">https://github.com/encode/uvicorn/compare/0.28.1...0.29.0</a></p>
<h2>Version 0.28.1</h2>
<h2>Fixed</h2>
<ul>
<li>Revert raise <code>ClientDisconnected</code> on HTTP (<a
href="https://redirect.github.com/encode/uvicorn/issues/2276">#2276</a>)</li>
</ul>
<hr />
<p><strong>Full Changelog</strong>: <a
href="https://github.com/encode/uvicorn/compare/0.28.0...0.28.1">https://github.com/encode/uvicorn/compare/0.28.0...0.28.1</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/encode/uvicorn/blob/master/CHANGELOG.md">uvicorn's
changelog</a>.</em></p>
<blockquote>
<h2>0.29.0 - 2024-03-19</h2>
<h3>Added</h3>
<ul>
<li>Cooperative signal handling (<a
href="https://redirect.github.com/encode/uvicorn/issues/1600">#1600</a>)
19/03/24</li>
</ul>
<h2>0.28.1 - 2024-03-19</h2>
<h3>Fixed</h3>
<ul>
<li>Revert raise <code>ClientDisconnected</code> on HTTP (<a
href="https://redirect.github.com/encode/uvicorn/issues/2276">#2276</a>)
19/03/24</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="fe85206c5c"><code>fe85206</code></a>
Version 0.29.0 (<a
href="https://redirect.github.com/encode/uvicorn/issues/2279">#2279</a>)</li>
<li><a
href="9e32e8ebad"><code>9e32e8e</code></a>
Cooperative signal handling (<a
href="https://redirect.github.com/encode/uvicorn/issues/1600">#1600</a>)</li>
<li><a
href="f73b8beeb1"><code>f73b8be</code></a>
Version 0.28.1 (<a
href="https://redirect.github.com/encode/uvicorn/issues/2277">#2277</a>)</li>
<li><a
href="76a3812ad5"><code>76a3812</code></a>
Revert raise <code>ClientDisconnected</code> on HTTP (<a
href="https://redirect.github.com/encode/uvicorn/issues/2276">#2276</a>)
(<a
href="https://redirect.github.com/encode/uvicorn/issues/2276">#2276</a>)</li>
<li>See full diff in <a
href="https://github.com/encode/uvicorn/compare/0.28.0...0.29.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=uvicorn&package-manager=pip&previous-version=0.28.0&new-version=0.29.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-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>
2024-03-25 23:08:12 +00:00
dependabot[bot] fefc5b6069
chore(deps): Bump black from 23.12.1 to 24.3.0 in /cirrus/server (#10443)
Bumps [black](https://github.com/psf/black) from 23.12.1 to 24.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/psf/black/releases">black's
releases</a>.</em></p>
<blockquote>
<h2>24.3.0</h2>
<h3>Highlights</h3>
<p>This release is a milestone: it fixes Black's first CVE security
vulnerability. If you
run Black on untrusted input, or if you habitually put thousands of
leading tab
characters in your docstrings, you are strongly encouraged to upgrade
immediately to fix
<a
href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.</p>
<p>This release also fixes a bug in Black's AST safety check that
allowed Black to make
incorrect changes to certain f-strings that are valid in Python 3.12 and
higher.</p>
<h3>Stable style</h3>
<ul>
<li>Don't move comments along with delimiters, which could cause crashes
(<a
href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li>
<li>Strengthen AST safety check to catch more unsafe changes to strings.
Previous versions
of Black would incorrectly format the contents of certain unusual
f-strings containing
nested strings with the same quote type. Now, Black will crash on such
strings until
support for the new f-string syntax is implemented. (<a
href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li>
<li>Fix a bug where line-ranges exceeding the last code line would not
work as expected
(<a
href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Fix catastrophic performance on docstrings that contain large
numbers of leading tab
characters. This fixes
<a
href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.
(<a
href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Note what happens when <code>--check</code> is used with
<code>--quiet</code> (<a
href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li>
</ul>
<h2>24.2.0</h2>
<h3>Stable style</h3>
<ul>
<li>Fixed a bug where comments where mistakenly removed along with
redundant parentheses
(<a
href="https://redirect.github.com/psf/black/issues/4218">#4218</a>)</li>
</ul>
<h3>Preview style</h3>
<ul>
<li>Move the <code>hug_parens_with_braces_and_square_brackets</code>
feature to the unstable style
due to an outstanding crash and proposed formatting tweaks (<a
href="https://redirect.github.com/psf/black/issues/4198">#4198</a>)</li>
<li>Fixed a bug where base expressions caused inconsistent formatting of
** in tenary
expression (<a
href="https://redirect.github.com/psf/black/issues/4154">#4154</a>)</li>
<li>Checking for newline before adding one on docstring that is almost
at the line limit
(<a
href="https://redirect.github.com/psf/black/issues/4185">#4185</a>)</li>
<li>Remove redundant parentheses in <code>case</code> statement
<code>if</code> guards (<a
href="https://redirect.github.com/psf/black/issues/4214">#4214</a>).</li>
</ul>
<h3>Configuration</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/psf/black/blob/main/CHANGES.md">black's
changelog</a>.</em></p>
<blockquote>
<h2>24.3.0</h2>
<h3>Highlights</h3>
<p>This release is a milestone: it fixes Black's first CVE security
vulnerability. If you
run Black on untrusted input, or if you habitually put thousands of
leading tab
characters in your docstrings, you are strongly encouraged to upgrade
immediately to fix
<a
href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.</p>
<p>This release also fixes a bug in Black's AST safety check that
allowed Black to make
incorrect changes to certain f-strings that are valid in Python 3.12 and
higher.</p>
<h3>Stable style</h3>
<ul>
<li>Don't move comments along with delimiters, which could cause crashes
(<a
href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li>
<li>Strengthen AST safety check to catch more unsafe changes to strings.
Previous versions
of Black would incorrectly format the contents of certain unusual
f-strings containing
nested strings with the same quote type. Now, Black will crash on such
strings until
support for the new f-string syntax is implemented. (<a
href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li>
<li>Fix a bug where line-ranges exceeding the last code line would not
work as expected
(<a
href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Fix catastrophic performance on docstrings that contain large
numbers of leading tab
characters. This fixes
<a
href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21503">CVE-2024-21503</a>.
(<a
href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Note what happens when <code>--check</code> is used with
<code>--quiet</code> (<a
href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li>
</ul>
<h2>24.2.0</h2>
<h3>Stable style</h3>
<ul>
<li>Fixed a bug where comments where mistakenly removed along with
redundant parentheses
(<a
href="https://redirect.github.com/psf/black/issues/4218">#4218</a>)</li>
</ul>
<h3>Preview style</h3>
<ul>
<li>Move the <code>hug_parens_with_braces_and_square_brackets</code>
feature to the unstable style
due to an outstanding crash and proposed formatting tweaks (<a
href="https://redirect.github.com/psf/black/issues/4198">#4198</a>)</li>
<li>Fixed a bug where base expressions caused inconsistent formatting of
** in tenary
expression (<a
href="https://redirect.github.com/psf/black/issues/4154">#4154</a>)</li>
<li>Checking for newline before adding one on docstring that is almost
at the line limit
(<a
href="https://redirect.github.com/psf/black/issues/4185">#4185</a>)</li>
<li>Remove redundant parentheses in <code>case</code> statement
<code>if</code> guards (<a
href="https://redirect.github.com/psf/black/issues/4214">#4214</a>).</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="552baf8229"><code>552baf8</code></a>
Prepare release 24.3.0 (<a
href="https://redirect.github.com/psf/black/issues/4279">#4279</a>)</li>
<li><a
href="f000936726"><code>f000936</code></a>
Fix catastrophic performance in lines_with_leading_tabs_expanded() (<a
href="https://redirect.github.com/psf/black/issues/4278">#4278</a>)</li>
<li><a
href="7b5a657285"><code>7b5a657</code></a>
Fix --line-ranges behavior when ranges are at EOF (<a
href="https://redirect.github.com/psf/black/issues/4273">#4273</a>)</li>
<li><a
href="1abcffc818"><code>1abcffc</code></a>
Use regex where we ignore case on windows (<a
href="https://redirect.github.com/psf/black/issues/4252">#4252</a>)</li>
<li><a
href="719e67462c"><code>719e674</code></a>
Fix 4227: Improve documentation for --quiet --check (<a
href="https://redirect.github.com/psf/black/issues/4236">#4236</a>)</li>
<li><a
href="e5510afc06"><code>e5510af</code></a>
update plugin url for Thonny (<a
href="https://redirect.github.com/psf/black/issues/4259">#4259</a>)</li>
<li><a
href="6af7d11096"><code>6af7d11</code></a>
Fix AST safety check false negative (<a
href="https://redirect.github.com/psf/black/issues/4270">#4270</a>)</li>
<li><a
href="f03ee113c9"><code>f03ee11</code></a>
Ensure <code>blib2to3.pygram</code> is initialized before use (<a
href="https://redirect.github.com/psf/black/issues/4224">#4224</a>)</li>
<li><a
href="e4bfedbec2"><code>e4bfedb</code></a>
fix: Don't move comments while splitting delimiters (<a
href="https://redirect.github.com/psf/black/issues/4248">#4248</a>)</li>
<li><a
href="d0287e1f75"><code>d0287e1</code></a>
Make trailing comma logic more concise (<a
href="https://redirect.github.com/psf/black/issues/4202">#4202</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/psf/black/compare/23.12.1...24.3.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=black&package-manager=pip&previous-version=23.12.1&new-version=24.3.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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/mozilla/experimenter/network/alerts).

</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jared Lockhart <119884+jaredlockhart@users.noreply.github.com>
2024-03-21 13:51:28 +00:00
dependabot[bot] 011b378bae
chore(deps): Bump sentry-sdk from 1.41.0 to 1.42.0 in /cirrus/server (#10434)
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from
1.41.0 to 1.42.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>1.42.0</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>
<p><strong>New integration:</strong> <a
href="https://docs.sentry.io/platforms/python/integrations/openai/">OpenAI
integration</a> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2791">#2791</a>)
by <a
href="https://github.com/colin-sentry"><code>@​colin-sentry</code></a></p>
<p>We added an integration for OpenAI to capture errors and also
performance data when using the OpenAI Python SDK.</p>
<p>Useage:</p>
<p>This integrations is auto-enabling, so if you have the
<code>openai</code> package in your project it will be enabled. Just
initialize Sentry before you create your OpenAI client.</p>
<pre lang="python"><code>from openai import OpenAI
<p>import sentry_sdk</p>
<p>sentry_sdk.init(
dsn=&quot;<em><strong>PUBLIC_DSN</strong></em>&quot;,
enable_tracing=True,
traces_sample_rate=1.0,
)</p>
<p>client = OpenAI()
</code></pre></p>
<p>For more information, see the documentation for <a
href="https://docs.sentry.io/platforms/python/integrations/openai/">OpenAI
integration</a>.</p>
</li>
<li>
<p>Discard open OpenTelemetry spans after 10 minutes (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2801">#2801</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>Propagate sentry-trace and baggage headers to Huey tasks (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2792">#2792</a>)
by <a href="https://github.com/cnschn"><code>@​cnschn</code></a></p>
</li>
<li>
<p>Added Event type (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2753">#2753</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Improve scrub_dict typing (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2768">#2768</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Dependencies: bump types-protobuf from 4.24.0.20240302 to
4.24.0.20240311 (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2797">#2797</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></p>
</li>
</ul>
</blockquote>
</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>1.42.0</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>
<p><strong>New integration:</strong> <a
href="https://docs.sentry.io/platforms/python/integrations/openai/">OpenAI
integration</a> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2791">#2791</a>)
by <a
href="https://github.com/colin-sentry"><code>@​colin-sentry</code></a></p>
<p>We added an integration for OpenAI to capture errors and also
performance data when using the OpenAI Python SDK.</p>
<p>Useage:</p>
<p>This integrations is auto-enabling, so if you have the
<code>openai</code> package in your project it will be enabled. Just
initialize Sentry before you create your OpenAI client.</p>
<pre lang="python"><code>from openai import OpenAI
<p>import sentry_sdk</p>
<p>sentry_sdk.init(
dsn=&quot;<em><strong>PUBLIC_DSN</strong></em>&quot;,
enable_tracing=True,
traces_sample_rate=1.0,
)</p>
<p>client = OpenAI()
</code></pre></p>
<p>For more information, see the documentation for <a
href="https://docs.sentry.io/platforms/python/integrations/openai/">OpenAI
integration</a>.</p>
</li>
<li>
<p>Discard open OpenTelemetry spans after 10 minutes (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2801">#2801</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>Propagate sentry-trace and baggage headers to Huey tasks (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2792">#2792</a>)
by <a href="https://github.com/cnschn"><code>@​cnschn</code></a></p>
</li>
<li>
<p>Added Event type (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2753">#2753</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Improve scrub_dict typing (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2768">#2768</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Dependencies: bump types-protobuf from 4.24.0.20240302 to
4.24.0.20240311 (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2797">#2797</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="d27c5cddec"><code>d27c5cd</code></a>
Update changelog</li>
<li><a
href="8f9d49e269"><code>8f9d49e</code></a>
release: 1.42.0</li>
<li><a
href="e7535c112a"><code>e7535c1</code></a>
build(deps): bump types-protobuf from 4.24.0.20240302 to 4.24.0.20240311
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2797">#2797</a>)</li>
<li><a
href="5717f1b17e"><code>5717f1b</code></a>
ref: Event Type (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2753">#2753</a>)</li>
<li><a
href="1a8db5e99e"><code>1a8db5e</code></a>
Discard open spans after 10 minutes (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2801">#2801</a>)</li>
<li><a
href="f40e27f16e"><code>f40e27f</code></a>
Add a method for normalizing data passed to set_data (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2800">#2800</a>)</li>
<li><a
href="ff0a94b5f1"><code>ff0a94b</code></a>
OpenAI integration (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2791">#2791</a>)</li>
<li><a
href="46a632d10a"><code>46a632d</code></a>
Propagate sentry-trace and baggage to huey tasks (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2792">#2792</a>)</li>
<li><a
href="461bd59cf1"><code>461bd59</code></a>
ref: Improve scrub_dict typing (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2768">#2768</a>)</li>
<li><a
href="1b0e932c3f"><code>1b0e932</code></a>
Merge branch 'release/1.41.0'</li>
<li>See full diff in <a
href="https://github.com/getsentry/sentry-python/compare/1.41.0...1.42.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=1.41.0&new-version=1.42.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-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>
2024-03-19 06:28:16 +00:00
dependabot[bot] 401c806993
chore(deps): Bump uvicorn from 0.27.0 to 0.28.0 in /cirrus/server (#10390)
Bumps [uvicorn](https://github.com/encode/uvicorn) from 0.27.0 to
0.28.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/encode/uvicorn/releases">uvicorn's
releases</a>.</em></p>
<blockquote>
<h2>Version 0.28.0</h2>
<h2>Added</h2>
<ul>
<li>Raise <code>ClientDisconnected</code> on <code>send()</code> when
client disconnected (<a
href="https://redirect.github.com/encode/uvicorn/issues/2220">#2220</a>)
12/02/24</li>
</ul>
<h2>Fixed</h2>
<ul>
<li>Except <code>AttributeError</code> on
<code>sys.stdin.fileno()</code> for Windows IIS10 (<a
href="https://redirect.github.com/encode/uvicorn/issues/1947">#1947</a>)
29/02/24</li>
<li>Use <code>X-Forwarded-Proto</code> for WebSockets scheme when the
proxy provides it (<a
href="https://redirect.github.com/encode/uvicorn/issues/2258">#2258</a>)
01/03/24</li>
</ul>
<hr />
<p><strong>Full Changelog</strong>: <a
href="https://github.com/encode/uvicorn/compare/0.27.1...0.28.0">https://github.com/encode/uvicorn/compare/0.27.1...0.28.0</a></p>
<h2>Version 0.27.1</h2>
<h2>Fixed</h2>
<ul>
<li>Fix spurious <code>h11.LocalProtocolError</code> errors when
processing pipelined requests (<a
href="https://redirect.github.com/encode/uvicorn/issues/2243">#2243</a>)
10/02/24</li>
</ul>
<hr />
<p><strong>Full Changelog</strong>: <a
href="https://github.com/encode/uvicorn/compare/0.27.0.post1...0.27.1">https://github.com/encode/uvicorn/compare/0.27.0.post1...0.27.1</a></p>
<h2>Version 0.27.0.post1</h2>
<h2>Fixed</h2>
<ul>
<li>Fix nav overrides for newer version of Mkdocs Material (<a
href="https://redirect.github.com/encode/uvicorn/issues/2233">#2233</a>)
26/01/24</li>
</ul>
<hr />
<p><strong>Full Changelog</strong>: <a
href="https://github.com/encode/uvicorn/compare/0.27.0...0.27.0.post1">https://github.com/encode/uvicorn/compare/0.27.0...0.27.0.post1</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/encode/uvicorn/blob/master/CHANGELOG.md">uvicorn's
changelog</a>.</em></p>
<blockquote>
<h2>0.28.0 - 2024-03-09</h2>
<h3>Added</h3>
<ul>
<li>Raise <code>ClientDisconnected</code> on <code>send()</code> when
client disconnected (<a
href="https://redirect.github.com/encode/uvicorn/issues/2220">#2220</a>)
12/02/24</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Except <code>AttributeError</code> on
<code>sys.stdin.fileno()</code> for Windows IIS10 (<a
href="https://redirect.github.com/encode/uvicorn/issues/1947">#1947</a>)
29/02/24</li>
<li>Use <code>X-Forwarded-Proto</code> for WebSockets scheme when the
proxy provides it (<a
href="https://redirect.github.com/encode/uvicorn/issues/2258">#2258</a>)
01/03/24</li>
</ul>
<h2>0.27.1 - 2024-02-10</h2>
<ul>
<li>Fix spurious LocalProtocolError errors when processing pipelined
requests (<a
href="https://redirect.github.com/encode/uvicorn/issues/2243">#2243</a>)
10/02/24</li>
</ul>
<h2>0.27.0.post1 - 2024-01-29</h2>
<h3>Fixed</h3>
<ul>
<li>Fix nav overrides for newer version of Mkdocs Material (<a
href="https://redirect.github.com/encode/uvicorn/issues/2233">#2233</a>)
26/01/24</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="a05ae6426c"><code>a05ae64</code></a>
Version 0.28.0 (<a
href="https://redirect.github.com/encode/uvicorn/issues/2269">#2269</a>)</li>
<li><a
href="4a503d84fa"><code>4a503d8</code></a>
Change ruff rules (<a
href="https://redirect.github.com/encode/uvicorn/issues/2251">#2251</a>)</li>
<li><a
href="0d4747e602"><code>0d4747e</code></a>
Use <code>X-Forwarded-Proto</code> for WebSockets scheme when the proxy
provides it (<a
href="https://redirect.github.com/encode/uvicorn/issues/2258">#2258</a>)</li>
<li><a
href="93897b5118"><code>93897b5</code></a>
Except <code>AttributeError</code> on <code>sys.stdin.fileno()</code>
for Windows IIS10 (<a
href="https://redirect.github.com/encode/uvicorn/issues/1947">#1947</a>)</li>
<li><a
href="ed2d655902"><code>ed2d655</code></a>
Bump cryptography from 42.0.2 to 42.0.4 (<a
href="https://redirect.github.com/encode/uvicorn/issues/2253">#2253</a>)</li>
<li><a
href="1e5f1be767"><code>1e5f1be</code></a>
Raise <code>ClientDisconnected</code> on <code>send()</code> when client
disconnected (<a
href="https://redirect.github.com/encode/uvicorn/issues/2220">#2220</a>)</li>
<li><a
href="bd552df8f9"><code>bd552df</code></a>
Version 0.27.1 (<a
href="https://redirect.github.com/encode/uvicorn/issues/2250">#2250</a>)</li>
<li><a
href="2ff704b91c"><code>2ff704b</code></a>
Fix spurious LocalProtocolError errors when processing pipelined
requests (<a
href="https://redirect.github.com/encode/uvicorn/issues/2">#2</a>...</li>
<li><a
href="4f74ed1447"><code>4f74ed1</code></a>
Bump the python-packages group with 5 updates (<a
href="https://redirect.github.com/encode/uvicorn/issues/2241">#2241</a>)</li>
<li><a
href="f39933c850"><code>f39933c</code></a>
Version 0.27.0.post1 (<a
href="https://redirect.github.com/encode/uvicorn/issues/2239">#2239</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/encode/uvicorn/compare/0.27.0...0.28.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=uvicorn&package-manager=pip&previous-version=0.27.0&new-version=0.28.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-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>
Co-authored-by: Yashika Khurana <yashikakhuranayashika@gmail.com>
2024-03-11 22:30:01 +00:00
dependabot[bot] 0e853a3267
chore(deps): Bump sentry-sdk from 1.40.0 to 1.41.0 in /cirrus/server (#10389)
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from
1.40.0 to 1.41.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>1.41.0</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>
<p>Add recursive scrubbing to <code>EventScrubber</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2755">#2755</a>)
by <a
href="https://github.com/Cheapshot003"><code>@​Cheapshot003</code></a></p>
<p>By default, the <code>EventScrubber</code> will not search your
events for potential
PII recursively. With this release, you can enable this behavior
with:</p>
<pre lang="python"><code>import sentry_sdk
from sentry_sdk.scrubber import EventScrubber
<p>sentry_sdk.init(
# ...your usual settings...
event_scrubber=EventScrubber(recursive=True),
)
</code></pre></p>
</li>
<li>
<p>Expose <code>socket_options</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2786">#2786</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
<p>If the SDK is experiencing connection issues (connection resets,
server
closing connection without response, etc.) while sending events to
Sentry,
tweaking the default <code>urllib3</code> socket options to the
following can help:</p>
<pre lang="python"><code>import socket
from urllib3.connection import HTTPConnection
import sentry_sdk
<p>sentry_sdk.init(
# ...your usual settings...
socket_options=HTTPConnection.default_socket_options + [
(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1),
# note: skip the following line if you're on MacOS since TCP_KEEPIDLE
doesn't exist there
(socket.SOL_TCP, socket.TCP_KEEPIDLE, 45),
(socket.SOL_TCP, socket.TCP_KEEPINTVL, 10),
(socket.SOL_TCP, socket.TCP_KEEPCNT, 6),
],
)
</code></pre></p>
</li>
<li>
<p>Allow to configure merge target for releases (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2777">#2777</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
</li>
<li>
<p>Allow empty character in metric tags values (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2775">#2775</a>)
by <a href="https://github.com/viglia"><code>@​viglia</code></a></p>
</li>
<li>
<p>Replace invalid tag values with an empty string instead of _ (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2773">#2773</a>)
by <a href="https://github.com/markushi"><code>@​markushi</code></a></p>
</li>
<li>
<p>Add documentation comment to <code>scrub_list</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2769">#2769</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Fixed regex to parse version in lambda package file (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2767">#2767</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>xfail broken AWS Lambda tests for now (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2794">#2794</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
</li>
<li>
<p>Removed print statements because it messes with the tests (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2789">#2789</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>Bump <code>types-protobuf</code> from 4.24.0.20240129 to
4.24.0.20240302 (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2782">#2782</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></p>
</li>
<li>
<p>Bump <code>checkouts/data-schemas</code> from <code>eb941c2</code> to
<code>ed078ed</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2781">#2781</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></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>1.41.0</h2>
<h3>Various fixes &amp; improvements</h3>
<ul>
<li>
<p>Add recursive scrubbing to <code>EventScrubber</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2755">#2755</a>)
by <a
href="https://github.com/Cheapshot003"><code>@​Cheapshot003</code></a></p>
<p>By default, the <code>EventScrubber</code> will not search your
events for potential
PII recursively. With this release, you can enable this behavior
with:</p>
<pre lang="python"><code>import sentry_sdk
from sentry_sdk.scrubber import EventScrubber
<p>sentry_sdk.init(
# ...your usual settings...
event_scrubber=EventScrubber(recursive=True),
)
</code></pre></p>
</li>
<li>
<p>Expose <code>socket_options</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2786">#2786</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
<p>If the SDK is experiencing connection issues (connection resets,
server
closing connection without response, etc.) while sending events to
Sentry,
tweaking the default <code>urllib3</code> socket options to the
following can help:</p>
<pre lang="python"><code>import socket
from urllib3.connection import HTTPConnection
import sentry_sdk
<p>sentry_sdk.init(
# ...your usual settings...
socket_options=HTTPConnection.default_socket_options + [
(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1),
# note: skip the following line if you're on MacOS since TCP_KEEPIDLE
doesn't exist there
(socket.SOL_TCP, socket.TCP_KEEPIDLE, 45),
(socket.SOL_TCP, socket.TCP_KEEPINTVL, 10),
(socket.SOL_TCP, socket.TCP_KEEPCNT, 6),
],
)
</code></pre></p>
</li>
<li>
<p>Allow to configure merge target for releases (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2777">#2777</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
</li>
<li>
<p>Allow empty character in metric tags values (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2775">#2775</a>)
by <a href="https://github.com/viglia"><code>@​viglia</code></a></p>
</li>
<li>
<p>Replace invalid tag values with an empty string instead of _ (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2773">#2773</a>)
by <a href="https://github.com/markushi"><code>@​markushi</code></a></p>
</li>
<li>
<p>Add documentation comment to <code>scrub_list</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2769">#2769</a>)
by <a
href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></p>
</li>
<li>
<p>Fixed regex to parse version in lambda package file (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2767">#2767</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>xfail broken AWS Lambda tests for now (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2794">#2794</a>)
by <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p>
</li>
<li>
<p>Removed print statements because it messes with the tests (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2789">#2789</a>)
by <a
href="https://github.com/antonpirker"><code>@​antonpirker</code></a></p>
</li>
<li>
<p>Bump <code>types-protobuf</code> from 4.24.0.20240129 to
4.24.0.20240302 (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2782">#2782</a>)
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="df9841ed26"><code>df9841e</code></a>
Update CHANGELOG.md</li>
<li><a
href="fc7061113a"><code>fc70611</code></a>
release: 1.41.0</li>
<li><a
href="8f1a125818"><code>8f1a125</code></a>
ref(awslambda): xfail broken tests for now (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2794">#2794</a>)</li>
<li><a
href="d62dc906ef"><code>d62dc90</code></a>
Removed print statements because it messes with the tests (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2789">#2789</a>)</li>
<li><a
href="b96f03d6b6"><code>b96f03d</code></a>
build(deps): bump types-protobuf from 4.24.0.20240129 to 4.24.0.20240302
(<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2782">#2782</a>)</li>
<li><a
href="22dd50ca63"><code>22dd50c</code></a>
build(deps): bump checkouts/data-schemas from <code>eb941c2</code> to
<code>ed078ed</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2781">#2781</a>)</li>
<li><a
href="c5785fb4b6"><code>c5785fb</code></a>
feat(transport): Expose <code>socket_options</code> (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2786">#2786</a>)</li>
<li><a
href="0901953c93"><code>0901953</code></a>
Allow to configure merge target for releases (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2777">#2777</a>)</li>
<li><a
href="e07a128a5f"><code>e07a128</code></a>
fix(docs): allow empty character in metric tags values (<a
href="https://redirect.github.com/getsentry/sentry-python/issues/2775">#2775</a>)</li>
<li><a
href="f87440749c"><code>f874407</code></a>
fix(metrics): Replace invalid tag values with an empty string instead of
_ (#...</li>
<li>Additional commits viewable in <a
href="https://github.com/getsentry/sentry-python/compare/1.40.0...1.41.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=1.40.0&new-version=1.41.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-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>
2024-03-11 22:00:31 +00:00
dependabot[bot] af0c12a573
chore(deps): Bump ruff from 0.2.0 to 0.3.0 in /cirrus/server (#10359)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.2.0 to 0.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/releases">ruff's
releases</a>.</em></p>
<blockquote>
<h2>v0.3.0</h2>
<p>This release introduces the new Ruff formatter 2024.2 style and adds
a new lint rule to
detect invalid formatter suppression comments.</p>
<h2>Changes</h2>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-bandit</code>] Remove suspicious-lxml-import
(<code>S410</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10154">#10154</a>)</li>
<li>[<code>pycodestyle</code>] Allow <code>os.environ</code>
modifications between imports (<code>E402</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10066">#10066</a>)</li>
<li>[<code>pycodestyle</code>] Don't warn about a single whitespace
character before a comma in a tuple (<code>E203</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10094">#10094</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>eradicate</code>] Detect commented out <code>case</code>
statements (<code>ERA001</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10055">#10055</a>)</li>
<li>[<code>eradicate</code>] Detect single-line code for
<code>try:</code>, <code>except:</code>, etc. (<code>ERA001</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10057">#10057</a>)</li>
<li>[<code>flake8-boolean-trap</code>] Allow boolean positionals in
<code>__post_init__</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10027">#10027</a>)</li>
<li>[<code>flake8-copyright</code>] Allow © in copyright notices (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10065">#10065</a>)</li>
<li>[<code>isort</code>]: Use one blank line after imports in typing
stub files (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9971">#9971</a>)</li>
<li>[<code>pylint</code>] New Rule <code>dict-iter-missing-items</code>
(<code>PLE1141</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9845">#9845</a>)</li>
<li>[<code>pylint</code>] Ignore <code>sys.version</code> and
<code>sys.platform</code> (<code>PLR1714</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10054">#10054</a>)</li>
<li>[<code>pyupgrade</code>] Detect literals with unary operators
(<code>UP018</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10060">#10060</a>)</li>
<li>[<code>ruff</code>] Expand rule for
<code>list(iterable).pop(0)</code> idiom (<code>RUF015</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10148">#10148</a>)</li>
</ul>
<h3>Formatter</h3>
<p>This release introduces the Ruff 2024.2 style, stabilizing the
following changes:</p>
<ul>
<li>Prefer splitting the assignment's value over the target or type
annotation (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8943">#8943</a>)</li>
<li>Remove blank lines before class docstrings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9154">#9154</a>)</li>
<li>Wrap multiple context managers in <code>with</code> parentheses when
targeting Python 3.9 or newer (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9222">#9222</a>)</li>
<li>Add a blank line after nested classes with a dummy body
(<code>...</code>) in typing stub files (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9155">#9155</a>)</li>
<li>Reduce vertical spacing for classes and functions with a dummy
(<code>...</code>) body (<a
href="https://redirect.github.com/astral-sh/ruff/issues/7440">#7440</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/9240">#9240</a>)</li>
<li>Add a blank line after the module docstring (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8283">#8283</a>)</li>
<li>Parenthesize long type hints in assignments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9210">#9210</a>)</li>
<li>Preserve indent for single multiline-string call-expressions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9637">#9673</a>)</li>
<li>Normalize hex escape and unicode escape sequences (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9280">#9280</a>)</li>
<li>Format module docstrings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9725">#9725</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Explicitly disallow <code>extend</code> as part of a
<code>--config</code> flag (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10135">#10135</a>)</li>
<li>Remove <code>build</code> from the default exclusion list (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10093">#10093</a>)</li>
<li>Deprecate <code>ruff &lt;path&gt;</code>, <code>ruff
--explain</code>, <code>ruff --clean</code>, and <code>ruff
--generate-shell-completion</code> in favor of <code>ruff check
&lt;path&gt;</code>, <code>ruff rule</code>, <code>ruff clean</code>,
and <code>ruff generate-shell-completion</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10169">#10169</a>)</li>
<li>Remove the deprecated CLI option <code>--format</code> from
<code>ruff rule</code> and <code>ruff linter</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10170">#10170</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>flake8-bugbear</code>] Avoid adding default initializers to
stubs (<code>B006</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10152">#10152</a>)</li>
<li>[<code>flake8-type-checking</code>] Respect runtime-required
decorators for function signatures (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10091">#10091</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's
changelog</a>.</em></p>
<blockquote>
<h2>0.3.0</h2>
<p>This release introduces the new Ruff formatter 2024.2 style and adds
a new lint rule to
detect invalid formatter suppression comments.</p>
<h3>Preview features</h3>
<ul>
<li>[<code>flake8-bandit</code>] Remove suspicious-lxml-import
(<code>S410</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10154">#10154</a>)</li>
<li>[<code>pycodestyle</code>] Allow <code>os.environ</code>
modifications between imports (<code>E402</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10066">#10066</a>)</li>
<li>[<code>pycodestyle</code>] Don't warn about a single whitespace
character before a comma in a tuple (<code>E203</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10094">#10094</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>eradicate</code>] Detect commented out <code>case</code>
statements (<code>ERA001</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10055">#10055</a>)</li>
<li>[<code>eradicate</code>] Detect single-line code for
<code>try:</code>, <code>except:</code>, etc. (<code>ERA001</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10057">#10057</a>)</li>
<li>[<code>flake8-boolean-trap</code>] Allow boolean positionals in
<code>__post_init__</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10027">#10027</a>)</li>
<li>[<code>flake8-copyright</code>] Allow © in copyright notices (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10065">#10065</a>)</li>
<li>[<code>isort</code>]: Use one blank line after imports in typing
stub files (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9971">#9971</a>)</li>
<li>[<code>pylint</code>] New Rule <code>dict-iter-missing-items</code>
(<code>PLE1141</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9845">#9845</a>)</li>
<li>[<code>pylint</code>] Ignore <code>sys.version</code> and
<code>sys.platform</code> (<code>PLR1714</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10054">#10054</a>)</li>
<li>[<code>pyupgrade</code>] Detect literals with unary operators
(<code>UP018</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10060">#10060</a>)</li>
<li>[<code>ruff</code>] Expand rule for
<code>list(iterable).pop(0)</code> idiom (<code>RUF015</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10148">#10148</a>)</li>
</ul>
<h3>Formatter</h3>
<p>This release introduces the Ruff 2024.2 style, stabilizing the
following changes:</p>
<ul>
<li>Prefer splitting the assignment's value over the target or type
annotation (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8943">#8943</a>)</li>
<li>Remove blank lines before class docstrings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9154">#9154</a>)</li>
<li>Wrap multiple context managers in <code>with</code> parentheses when
targeting Python 3.9 or newer (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9222">#9222</a>)</li>
<li>Add a blank line after nested classes with a dummy body
(<code>...</code>) in typing stub files (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9155">#9155</a>)</li>
<li>Reduce vertical spacing for classes and functions with a dummy
(<code>...</code>) body (<a
href="https://redirect.github.com/astral-sh/ruff/issues/7440">#7440</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/9240">#9240</a>)</li>
<li>Add a blank line after the module docstring (<a
href="https://redirect.github.com/astral-sh/ruff/pull/8283">#8283</a>)</li>
<li>Parenthesize long type hints in assignments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9210">#9210</a>)</li>
<li>Preserve indent for single multiline-string call-expressions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9637">#9673</a>)</li>
<li>Normalize hex escape and unicode escape sequences (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9280">#9280</a>)</li>
<li>Format module docstrings (<a
href="https://redirect.github.com/astral-sh/ruff/pull/9725">#9725</a>)</li>
</ul>
<h3>CLI</h3>
<ul>
<li>Explicitly disallow <code>extend</code> as part of a
<code>--config</code> flag (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10135">#10135</a>)</li>
<li>Remove <code>build</code> from the default exclusion list (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10093">#10093</a>)</li>
<li>Deprecate <code>ruff &lt;path&gt;</code>, <code>ruff
--explain</code>, <code>ruff --clean</code>, and <code>ruff
--generate-shell-completion</code> in favor of <code>ruff check
&lt;path&gt;</code>, <code>ruff rule</code>, <code>ruff clean</code>,
and <code>ruff generate-shell-completion</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10169">#10169</a>)</li>
<li>Remove the deprecated CLI option <code>--format</code> from
<code>ruff rule</code> and <code>ruff linter</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10170">#10170</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>[<code>flake8-bugbear</code>] Avoid adding default initializers to
stubs (<code>B006</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10152">#10152</a>)</li>
<li>[<code>flake8-type-checking</code>] Respect runtime-required
decorators for function signatures (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10091">#10091</a>)</li>
<li>[<code>pycodestyle</code>] Mark fixes overlapping with a multiline
string as unsafe (<code>W293</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/10049">#10049</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="b53118ed00"><code>b53118e</code></a>
Bump version to v0.3.0 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10151">#10151</a>)</li>
<li><a
href="52f4c1e41b"><code>52f4c1e</code></a>
Remove deprecated CLI option <code>--format</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10170">#10170</a>)</li>
<li><a
href="eceffe74a0"><code>eceffe7</code></a>
Deprecate <code>ruff \&lt;path&gt;</code> <code>ruff --explain</code>,
<code>ruff --clean</code> and `ruff --generate...</li>
<li><a
href="c73c497477"><code>c73c497</code></a>
[<code>pydocstyle</code>] Trim whitespace when removing blank lines
after section (`D413...</li>
<li><a
href="c9c98c4fe3"><code>c9c98c4</code></a>
Fix mkdocs local link (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10167">#10167</a>)</li>
<li><a
href="72ccb34ba6"><code>72ccb34</code></a>
Fix ecosystem check for indico (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10164">#10164</a>)</li>
<li><a
href="dcc92f50cf"><code>dcc92f5</code></a>
Update black tests (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10166">#10166</a>)</li>
<li><a
href="a6f32ddc5e"><code>a6f32dd</code></a>
Ruff 2024.2 style (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9639">#9639</a>)</li>
<li><a
href="0293908b71"><code>0293908</code></a>
Implement RUF028 to detect useless formatter suppression comments (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9899">#9899</a>)</li>
<li><a
href="36bc725eaa"><code>36bc725</code></a>
[<code>flake8-bugbear</code>] Avoid adding default initializers to stubs
(<code>B006</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/issues/10152">#10152</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/v0.2.0...v0.3.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.2.0&new-version=0.3.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-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>
2024-03-04 20:37:16 +00:00
dependabot[bot] 3767b1ff7c
chore(deps): Bump httpx from 0.26.0 to 0.27.0 in /cirrus/server (#10320)
Bumps [httpx](https://github.com/encode/httpx) from 0.26.0 to 0.27.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/encode/httpx/releases">httpx's
releases</a>.</em></p>
<blockquote>
<h2>Version 0.27.0</h2>
<h2>0.27.0 (21st February, 2024)</h2>
<h3>Deprecated</h3>
<ul>
<li>The <code>app=...</code> shortcut has been deprecated. Use the
explicit style of <code>transport=httpx.WSGITransport()</code> or
<code>transport=httpx.ASGITransport()</code> instead.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Respect the <code>http1</code> argument while configuring proxy
transports. (<a
href="https://redirect.github.com/encode/httpx/issues/3023">#3023</a>)</li>
<li>Fix RFC 2069 mode digest authentication. (<a
href="https://redirect.github.com/encode/httpx/issues/3045">#3045</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/encode/httpx/blob/master/CHANGELOG.md">httpx's
changelog</a>.</em></p>
<blockquote>
<h2>0.27.0 (21st February, 2024)</h2>
<h3>Deprecated</h3>
<ul>
<li>The <code>app=...</code> shortcut has been deprecated. Use the
explicit style of <code>transport=httpx.WSGITransport()</code> or
<code>transport=httpx.ASGITransport()</code> instead.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Respect the <code>http1</code> argument while configuring proxy
transports. (<a
href="https://redirect.github.com/encode/httpx/issues/3023">#3023</a>)</li>
<li>Fix RFC 2069 mode digest authentication. (<a
href="https://redirect.github.com/encode/httpx/issues/3045">#3045</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="326b9431c7"><code>326b943</code></a>
Version 0.27.0 (<a
href="https://redirect.github.com/encode/httpx/issues/3095">#3095</a>)</li>
<li><a
href="3faa4a8f2e"><code>3faa4a8</code></a>
Improve 'Custom transports' docs (<a
href="https://redirect.github.com/encode/httpx/issues/3081">#3081</a>)</li>
<li><a
href="c51af4ba52"><code>c51af4b</code></a>
Extensions docs (<a
href="https://redirect.github.com/encode/httpx/issues/3080">#3080</a>)</li>
<li><a
href="cabd1c095e"><code>cabd1c0</code></a>
Deprecate <code>app=...</code> in favor of explicit
<code>WSGITransport</code>/<code>ASGITransport</code>. (<a
href="https://redirect.github.com/encode/httpx/issues/3">#3</a>...</li>
<li><a
href="6f461522a5"><code>6f46152</code></a>
Bump the python-packages group with 6 updates (<a
href="https://redirect.github.com/encode/httpx/issues/3077">#3077</a>)</li>
<li><a
href="37a2901af3"><code>37a2901</code></a>
Mention NO_PROXY environment variable on Advanced Usage page (<a
href="https://redirect.github.com/encode/httpx/issues/3066">#3066</a>)</li>
<li><a
href="371b6e946c"><code>371b6e9</code></a>
Use <code>__future__.annotations</code> (<a
href="https://redirect.github.com/encode/httpx/issues/3068">#3068</a>)</li>
<li><a
href="4f6edf36e9"><code>4f6edf3</code></a>
test <code>parse_header_links</code> via public api (<a
href="https://redirect.github.com/encode/httpx/issues/3061">#3061</a>)</li>
<li><a
href="c7cd6aa5bd"><code>c7cd6aa</code></a>
test <code>obfuscate_sensitive_headers</code> via public api (<a
href="https://redirect.github.com/encode/httpx/issues/3063">#3063</a>)</li>
<li><a
href="15f925336c"><code>15f9253</code></a>
Drop outdated section (<a
href="https://redirect.github.com/encode/httpx/issues/3057">#3057</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/encode/httpx/compare/0.26.0...0.27.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=httpx&package-manager=pip&previous-version=0.26.0&new-version=0.27.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-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>
2024-02-26 20:51:21 +00:00
dependabot[bot] 787f7dedb3
chore(deps): Bump fastapi from 0.109.1 to 0.110.0 in /cirrus/server (#10321)
Bumps [fastapi](https://github.com/tiangolo/fastapi) from 0.109.1 to
0.110.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/tiangolo/fastapi/releases">fastapi's
releases</a>.</em></p>
<blockquote>
<h2>0.110.0</h2>
<h3>Breaking Changes</h3>
<ul>
<li>🐛 Fix unhandled growing memory for internal server errors, refactor
dependencies with <code>yield</code> and <code>except</code> to require
raising again as in regular Python. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11191">#11191</a>
by <a href="https://github.com/tiangolo"><code>@​tiangolo</code></a>.
<ul>
<li>This is a breaking change (and only slightly) if you used
dependencies with <code>yield</code>, used <code>except</code> in those
dependencies, and didn't raise again.</li>
<li>This was reported internally by <a
href="https://github.com/rushilsrivastava"><code>@​rushilsrivastava</code></a>
as a memory leak when the server had unhandled exceptions that would
produce internal server errors, the memory allocated before that point
would not be released.</li>
<li>Read the new docs: <a
href="https://fastapi.tiangolo.com/tutorial/dependencies/dependencies-with-yield/#dependencies-with-yield-and-except">Dependencies
with <code>yield</code> and <code>except</code></a>.</li>
</ul>
</li>
</ul>
<p>In short, if you had dependencies that looked like:</p>
<pre lang="Python"><code>def my_dep():
    try:
        yield
    except SomeException:
        pass
</code></pre>
<p>Now you need to make sure you raise again after <code>except</code>,
just as you would in regular Python:</p>
<pre lang="Python"><code>def my_dep():
    try:
        yield
    except SomeException:
        raise
</code></pre>
<h3>Docs</h3>
<ul>
<li>✏️ Fix minor typos in <code>docs/ko/docs/</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11126">#11126</a>
by <a href="https://github.com/KaniKim"><code>@​KaniKim</code></a>.</li>
<li>✏️ Fix minor typo in <code>fastapi/applications.py</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11099">#11099</a>
by <a
href="https://github.com/JacobHayes"><code>@​JacobHayes</code></a>.</li>
</ul>
<h3>Translations</h3>
<ul>
<li>🌐 Add German translation for
<code>docs/de/docs/reference/background.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/10820">#10820</a>
by <a
href="https://github.com/nilslindemann"><code>@​nilslindemann</code></a>.</li>
<li>🌐 Add German translation for
<code>docs/de/docs/reference/templating.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/10842">#10842</a>
by <a
href="https://github.com/nilslindemann"><code>@​nilslindemann</code></a>.</li>
<li>🌐 Add German translation for
<code>docs/de/docs/external-links.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/10852">#10852</a>
by <a
href="https://github.com/nilslindemann"><code>@​nilslindemann</code></a>.</li>
<li>🌐 Update Turkish translation for
<code>docs/tr/docs/tutorial/query-params.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11162">#11162</a>
by <a
href="https://github.com/hasansezertasan"><code>@​hasansezertasan</code></a>.</li>
<li>🌐 Add German translation for
<code>docs/de/docs/reference/encoders.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/10840">#10840</a>
by <a
href="https://github.com/nilslindemann"><code>@​nilslindemann</code></a>.</li>
<li>🌐 Add German translation for
<code>docs/de/docs/reference/responses.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/10825">#10825</a>
by <a
href="https://github.com/nilslindemann"><code>@​nilslindemann</code></a>.</li>
<li>🌐 Add German translation for
<code>docs/de/docs/reference/request.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/10821">#10821</a>
by <a
href="https://github.com/nilslindemann"><code>@​nilslindemann</code></a>.</li>
<li>🌐 Add Turkish translation for
<code>docs/tr/docs/tutorial/query-params.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11078">#11078</a>
by <a
href="https://github.com/emrhnsyts"><code>@​emrhnsyts</code></a>.</li>
<li>🌐 Add German translation for
<code>docs/de/docs/reference/fastapi.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/10813">#10813</a>
by <a
href="https://github.com/nilslindemann"><code>@​nilslindemann</code></a>.</li>
<li>🌐 Add German translation for
<code>docs/de/docs/newsletter.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/10853">#10853</a>
by <a
href="https://github.com/nilslindemann"><code>@​nilslindemann</code></a>.</li>
<li>🌐 Add Traditional Chinese translation for
<code>docs/zh-hant/docs/learn/index.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11142">#11142</a>
by <a
href="https://github.com/hsuanchi"><code>@​hsuanchi</code></a>.</li>
<li>🌐 Add Korean translation for
<code>/docs/ko/docs/tutorial/dependencies/global-dependencies.md</code>.
PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11123">#11123</a>
by <a href="https://github.com/riroan"><code>@​riroan</code></a>.</li>
<li>🌐 Add Korean translation for
<code>/docs/ko/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md</code>.
PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11124">#11124</a>
by <a href="https://github.com/riroan"><code>@​riroan</code></a>.</li>
<li>🌐 Add Korean translation for
<code>/docs/ko/docs/tutorial/schema-extra-example.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11121">#11121</a>
by <a href="https://github.com/KaniKim"><code>@​KaniKim</code></a>.</li>
<li>🌐 Add Korean translation for
<code>/docs/ko/docs/tutorial/body-fields.md</code>. PR <a
href="https://redirect.github.com/tiangolo/fastapi/pull/11112">#11112</a>
by <a href="https://github.com/KaniKim"><code>@​KaniKim</code></a>.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="e40747f10a"><code>e40747f</code></a>
🔖 Release version 0.110.0</li>
<li><a
href="32b56a8d08"><code>32b56a8</code></a>
📝 Update release notes</li>
<li><a
href="b6b0f2a7e6"><code>b6b0f2a</code></a>
📝 Update release notes</li>
<li><a
href="bf771bd781"><code>bf771bd</code></a>
🐛 Fix unhandled growing memory for internal server errors, refactor
dependenc...</li>
<li><a
href="6336604906"><code>6336604</code></a>
📝 Update release notes</li>
<li><a
href="cb93874014"><code>cb93874</code></a>
📝 Update release notes</li>
<li><a
href="9210e6a330"><code>9210e6a</code></a>
🌐 Add German translation for
<code>docs/de/docs/reference/background.md</code> (<a
href="https://redirect.github.com/tiangolo/fastapi/issues/10820">#10820</a>)</li>
<li><a
href="dec45c534f"><code>dec45c5</code></a>
🌐 Add German translation for
<code>docs/de/docs/reference/templating.md</code> (<a
href="https://redirect.github.com/tiangolo/fastapi/issues/10842">#10842</a>)</li>
<li><a
href="5da35ff980"><code>5da35ff</code></a>
📝 Update release notes</li>
<li><a
href="626b066e56"><code>626b066</code></a>
🌐 Add German translation for <code>docs/de/docs/external-links.md</code>
(<a
href="https://redirect.github.com/tiangolo/fastapi/issues/10852">#10852</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/tiangolo/fastapi/compare/0.109.1...0.110.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=fastapi&package-manager=pip&previous-version=0.109.1&new-version=0.110.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-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>
2024-02-26 20:32:54 +00:00
dependabot[bot] 0667abb95c
chore(deps): Bump ruff from 0.1.0 to 0.2.0 in /cirrus/server (#10221)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.1.0 to 0.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/releases">ruff's
releases</a>.</em></p>
<blockquote>
<h2>v0.2.0</h2>
<p>Check out the <a href="https://astral.sh/blog/ruff-v0.2.0">blog
post</a> for a migration guide and overview of the changes!</p>
<h2>Changes</h2>
<h3>Breaking changes</h3>
<ul>
<li>The <code>NURSERY</code> selector cannot be used anymore</li>
<li>Legacy selection of nursery rules by exact codes is no longer
allowed without preview enabled</li>
</ul>
<p>See also, the &quot;Remapped rules&quot; section which may result in
disabled rules.</p>
<h3>Deprecations</h3>
<p>The following rules are now deprecated:</p>
<ul>
<li><a
href="https://docs.astral.sh/ruff/rules/missing-type-self/"><code>missing-type-self</code></a>
(<code>ANN101</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/missing-type-cls/"><code>missing-type-cls</code></a>
(<code>ANN102</code>)</li>
</ul>
<p>The following command line options are now deprecated:</p>
<ul>
<li><code>--show-source</code>; use <code>--output-format full</code>
instead</li>
<li><code>--no-show-source</code>; use <code>--output-format
concise</code> instead</li>
<li><code>--output-format text</code>; use <code>full</code> or
<code>concise</code> instead</li>
</ul>
<p>The following settings have moved and the previous name is
deprecated:</p>
<ul>
<li><code>ruff.allowed-confusables</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_allowed-confusables"><code>ruff.lint.allowed-confusables</code></a></li>
<li><code>ruff.dummy-variable-rgx</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_dummy-variable-rgx"><code>ruff.lint.dummy-variable-rgx</code></a></li>
<li><code>ruff.explicit-preview-rules</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_explicit-preview-rules"><code>ruff.lint.explicit-preview-rules</code></a></li>
<li><code>ruff.extend-fixable</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_extend-fixable"><code>ruff.lint.extend-fixable</code></a></li>
<li><code>ruff.extend-ignore</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_extend-ignore"><code>ruff.lint.extend-ignore</code></a></li>
<li><code>ruff.extend-per-file-ignores</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_extend-per-file-ignores"><code>ruff.lint.extend-per-file-ignores</code></a></li>
<li><code>ruff.extend-safe-fixes</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_extend-safe-fixes"><code>ruff.lint.extend-safe-fixes</code></a></li>
<li><code>ruff.extend-select</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_extend-select"><code>ruff.lint.extend-select</code></a></li>
<li><code>ruff.extend-unfixable</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_extend-unfixable"><code>ruff.lint.extend-unfixable</code></a></li>
<li><code>ruff.extend-unsafe-fixes</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_extend-unsafe-fixes"><code>ruff.lint.extend-unsafe-fixes</code></a></li>
<li><code>ruff.external</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_external"><code>ruff.lint.external</code></a></li>
<li><code>ruff.fixable</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_fixable"><code>ruff.lint.fixable</code></a></li>
<li><code>ruff.flake8-annotations</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-annotations"><code>ruff.lint.flake8-annotations</code></a></li>
<li><code>ruff.flake8-bandit</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-bandit"><code>ruff.lint.flake8-bandit</code></a></li>
<li><code>ruff.flake8-bugbear</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-bugbear"><code>ruff.lint.flake8-bugbear</code></a></li>
<li><code>ruff.flake8-builtins</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-builtins"><code>ruff.lint.flake8-builtins</code></a></li>
<li><code>ruff.flake8-comprehensions</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-comprehensions"><code>ruff.lint.flake8-comprehensions</code></a></li>
<li><code>ruff.flake8-copyright</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-copyright"><code>ruff.lint.flake8-copyright</code></a></li>
<li><code>ruff.flake8-errmsg</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-errmsg"><code>ruff.lint.flake8-errmsg</code></a></li>
<li><code>ruff.flake8-gettext</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-gettext"><code>ruff.lint.flake8-gettext</code></a></li>
<li><code>ruff.flake8-implicit-str-concat</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-implicit-str-concat"><code>ruff.lint.flake8-implicit-str-concat</code></a></li>
<li><code>ruff.flake8-import-conventions</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-import-conventions"><code>ruff.lint.flake8-import-conventions</code></a></li>
<li><code>ruff.flake8-pytest-style</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-pytest-style"><code>ruff.lint.flake8-pytest-style</code></a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's
changelog</a>.</em></p>
<blockquote>
<h2>0.2.0</h2>
<h3>Breaking changes</h3>
<ul>
<li>The <code>NURSERY</code> selector cannot be used anymore</li>
<li>Legacy selection of nursery rules by exact codes is no longer
allowed without preview enabled</li>
</ul>
<p>See also, the &quot;Remapped rules&quot; section which may result in
disabled rules.</p>
<h3>Deprecations</h3>
<p>The following rules are now deprecated:</p>
<ul>
<li><a
href="https://docs.astral.sh/ruff/rules/missing-type-self/"><code>missing-type-self</code></a>
(<code>ANN101</code>)</li>
<li><a
href="https://docs.astral.sh/ruff/rules/missing-type-cls/"><code>missing-type-cls</code></a>
(<code>ANN102</code>)</li>
</ul>
<p>The following command line options are now deprecated:</p>
<ul>
<li><code>--show-source</code>; use <code>--output-format full</code>
instead</li>
<li><code>--no-show-source</code>; use <code>--output-format
concise</code> instead</li>
<li><code>--output-format text</code>; use <code>full</code> or
<code>concise</code> instead</li>
</ul>
<p>The following settings have moved and the previous name is
deprecated:</p>
<ul>
<li><code>ruff.allowed-confusables</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_allowed-confusables"><code>ruff.lint.allowed-confusables</code></a></li>
<li><code>ruff.dummy-variable-rgx</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_dummy-variable-rgx"><code>ruff.lint.dummy-variable-rgx</code></a></li>
<li><code>ruff.explicit-preview-rules</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_explicit-preview-rules"><code>ruff.lint.explicit-preview-rules</code></a></li>
<li><code>ruff.extend-fixable</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_extend-fixable"><code>ruff.lint.extend-fixable</code></a></li>
<li><code>ruff.extend-ignore</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_extend-ignore"><code>ruff.lint.extend-ignore</code></a></li>
<li><code>ruff.extend-per-file-ignores</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_extend-per-file-ignores"><code>ruff.lint.extend-per-file-ignores</code></a></li>
<li><code>ruff.extend-safe-fixes</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_extend-safe-fixes"><code>ruff.lint.extend-safe-fixes</code></a></li>
<li><code>ruff.extend-select</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_extend-select"><code>ruff.lint.extend-select</code></a></li>
<li><code>ruff.extend-unfixable</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_extend-unfixable"><code>ruff.lint.extend-unfixable</code></a></li>
<li><code>ruff.extend-unsafe-fixes</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_extend-unsafe-fixes"><code>ruff.lint.extend-unsafe-fixes</code></a></li>
<li><code>ruff.external</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_external"><code>ruff.lint.external</code></a></li>
<li><code>ruff.fixable</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_fixable"><code>ruff.lint.fixable</code></a></li>
<li><code>ruff.flake8-annotations</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-annotations"><code>ruff.lint.flake8-annotations</code></a></li>
<li><code>ruff.flake8-bandit</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-bandit"><code>ruff.lint.flake8-bandit</code></a></li>
<li><code>ruff.flake8-bugbear</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-bugbear"><code>ruff.lint.flake8-bugbear</code></a></li>
<li><code>ruff.flake8-builtins</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-builtins"><code>ruff.lint.flake8-builtins</code></a></li>
<li><code>ruff.flake8-comprehensions</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-comprehensions"><code>ruff.lint.flake8-comprehensions</code></a></li>
<li><code>ruff.flake8-copyright</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-copyright"><code>ruff.lint.flake8-copyright</code></a></li>
<li><code>ruff.flake8-errmsg</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-errmsg"><code>ruff.lint.flake8-errmsg</code></a></li>
<li><code>ruff.flake8-gettext</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-gettext"><code>ruff.lint.flake8-gettext</code></a></li>
<li><code>ruff.flake8-implicit-str-concat</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-implicit-str-concat"><code>ruff.lint.flake8-implicit-str-concat</code></a></li>
<li><code>ruff.flake8-import-conventions</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-import-conventions"><code>ruff.lint.flake8-import-conventions</code></a></li>
<li><code>ruff.flake8-pytest-style</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-pytest-style"><code>ruff.lint.flake8-pytest-style</code></a></li>
<li><code>ruff.flake8-quotes</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-quotes"><code>ruff.lint.flake8-quotes</code></a></li>
<li><code>ruff.flake8-self</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-self"><code>ruff.lint.flake8-self</code></a></li>
<li><code>ruff.flake8-tidy-imports</code> → <a
href="https://docs.astral.sh//ruff/settings/#lint_flake8-tidy-imports"><code>ruff.lint.flake8-tidy-imports</code></a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="1fadefa67b"><code>1fadefa</code></a>
Bump version to 0.2.0 (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9762">#9762</a>)</li>
<li><a
href="06ad687efd"><code>06ad687</code></a>
Deduplicate deprecation warnings for v0.2.0 release (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9764">#9764</a>)</li>
<li><a
href="148b64ead3"><code>148b64e</code></a>
Fix issue where output format mode would not change to <code>full</code>
if preview mode...</li>
<li><a
href="99eddbd2a0"><code>99eddbd</code></a>
Remove stale preview documentation from stabilized rule behaviors (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9759">#9759</a>)</li>
<li><a
href="836d2eaa01"><code>836d2ea</code></a>
Restore RUF011 documentation (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9758">#9758</a>)</li>
<li><a
href="994514d686"><code>994514d</code></a>
Redirect <code>PHG001</code> to <code>S307</code> and
<code>PGH002</code> to <code>G010</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9756">#9756</a>)</li>
<li><a
href="a578414246"><code>a578414</code></a>
Redirect <code>TRY200</code> to <code>B904</code> (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9755">#9755</a>)</li>
<li><a
href="0d752e56cd"><code>0d752e5</code></a>
Add tests for redirected rules (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9754">#9754</a>)</li>
<li><a
href="46c0937bfa"><code>46c0937</code></a>
Use fake rules for testing deprecation and removal infrastructure (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9752">#9752</a>)</li>
<li><a
href="e5008ca714"><code>e5008ca</code></a>
Fix bug where selection included deprecated rules during preview (<a
href="https://redirect.github.com/astral-sh/ruff/issues/9746">#9746</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/astral-sh/ruff/compare/v0.1.0...v0.2.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ruff&package-manager=pip&previous-version=0.1.0&new-version=0.2.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 it's up-to-date and 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>
2024-02-05 20:51:01 +00:00