Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump the pip group with 12 updates (#113)
Bumps the pip group with 12 updates: | Package | From | To | | --- | --- | --- | | [fastapi](https://github.com/tiangolo/fastapi) | `0.110.0` | `0.110.1` | | [uvicorn](https://github.com/encode/uvicorn) | `0.27.1` | `0.29.0` | | [sentry-sdk](https://github.com/getsentry/sentry-python) | `1.40.6` | `1.44.1` | | [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) | `2.0.28` | `2.0.29` | | [typing-extensions](https://github.com/python/typing_extensions) | `4.10.0` | `4.11.0` | | [pytest](https://github.com/pytest-dev/pytest) | `8.0.2` | `8.1.1` | | [pytest-cov](https://github.com/pytest-dev/pytest-cov) | `4.1.0` | `5.0.0` | | [pytest-mock](https://github.com/pytest-dev/pytest-mock) | `3.12.0` | `3.14.0` | | [black](https://github.com/psf/black) | `24.2.0` | `24.3.0` | | [pre-commit](https://github.com/pre-commit/pre-commit) | `3.6.2` | `3.7.0` | | [respx](https://github.com/lundberg/respx) | `0.20.2` | `0.21.1` | | [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) | `0.23.5` | `0.23.6` | Updates `fastapi` from 0.110.0 to 0.110.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.110.1</h2> <h3>Fixes</h3> <ul> <li>🐛 Fix parameterless <code>Depends()</code> with generics. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/9479">#9479</a> by <a href="https://github.com/nzig"><code>@nzig</code></a>.</li> </ul> <h3>Refactors</h3> <ul> <li>♻️ Update mypy. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11049">#11049</a> by <a href="https://github.com/k0t3n"><code>@k0t3n</code></a>.</li> <li>♻️ Simplify string format with f-strings in <code>fastapi/applications.py</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11335">#11335</a> by <a href="https://github.com/igeni"><code>@igeni</code></a>.</li> </ul> <h3>Upgrades</h3> <ul> <li>⬆️ Upgrade Starlette to >=0.37.2,<0.38.0, remove Starlette filterwarning for internal tests. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11266">#11266</a> by <a href="https://github.com/nothielf"><code>@nothielf</code></a>.</li> </ul> <h3>Docs</h3> <ul> <li>📝 Tweak docs and translations links and remove old docs translations. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11381">#11381</a> by <a href="https://github.com/tiangolo"><code>@tiangolo</code></a>.</li> <li>✏️ Fix typo in <code>fastapi/security/oauth2.py</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11368">#11368</a> by <a href="https://github.com/shandongbinzhou"><code>@shandongbinzhou</code></a>.</li> <li>📝 Update links to Pydantic docs to point to new website. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11328">#11328</a> by <a href="https://github.com/alejsdev"><code>@alejsdev</code></a>.</li> <li>✏️ Fix typo in <code>docs/en/docs/tutorial/extra-models.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11329">#11329</a> by <a href="https://github.com/alejsdev"><code>@alejsdev</code></a>.</li> <li>📝 Update <code>project-generation.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11326">#11326</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/11327">#11327</a> by <a href="https://github.com/alejsdev"><code>@alejsdev</code></a>.</li> <li>🔥 Remove link to Pydantic's benchmark, on other i18n pages.. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11224">#11224</a> by <a href="https://github.com/hirotoKirimaru"><code>@hirotoKirimaru</code></a>.</li> <li>✏️ Fix typos in docstrings. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11295">#11295</a> by <a href="https://github.com/davidhuser"><code>@davidhuser</code></a>.</li> <li>🛠️ Improve Node.js script in docs to generate TypeScript clients. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11293">#11293</a> by <a href="https://github.com/alejsdev"><code>@alejsdev</code></a>.</li> <li>📝 Update examples for tests to replace "inexistent" for "nonexistent". PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11220">#11220</a> by <a href="https://github.com/Homesteady"><code>@Homesteady</code></a>.</li> <li>📝 Update <code>python-multipart</code> GitHub link in all docs from <code>https://andrew-d.github.io/python-multipart/</code> to <code>https://github.com/Kludex/python-multipart</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/11239">#11239</a> by <a href="https://github.com/joshjhans"><code>@joshjhans</code></a>.</li> </ul> <h3>Translations</h3> <ul> <li>🌐 Add German translation for <code>docs/de/docs/tutorial/response-status-code.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/10357">#10357</a> by <a href="https://github.com/nilslindemann"><code>@nilslindemann</code></a>.</li> <li>🌐 Update Chinese translation for <code>docs/zh/docs/tutorial/query-params.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3480">#3480</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Update Chinese translation for <code>docs/zh/docs/tutorial/body.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3481">#3481</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Update Chinese translation for <code>docs/zh/docs/tutorial/path-params.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3479">#3479</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Update Chinese translation for <code>docs/tutorial/body-fields.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3496">#3496</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Update Chinese translation for <code>docs/tutorial/extra-models.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3497">#3497</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Add Japanese translation for <code>docs/ja/docs/tutorial/metadata.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/2667">#2667</a> by <a href="https://github.com/tokusumi"><code>@tokusumi</code></a>.</li> <li>🌐 Add German translation for <code>docs/de/docs/contributing.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/10487">#10487</a> by <a href="https://github.com/nilslindemann"><code>@nilslindemann</code></a>.</li> <li>🌐 Update Japanese translation of <code>docs/ja/docs/tutorial/query-params.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/10808">#10808</a> by <a href="https://github.com/urushio"><code>@urushio</code></a>.</li> <li>🌐 Update Chinese translation for <code>docs/zh/docs/tutorial/security/get-current-user.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3842">#3842</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Add Chinese translation for <code>docs/zh/docs/advanced/openapi-callbacks.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3825">#3825</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Add Chinese translation for <code>docs/zh/docs/advanced/extending-openapi.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3823">#3823</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Add Chinese translation for <code>docs/zh/docs/advanced/testing-dependencies.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3819">#3819</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Add Chinese translation for <code>docs/zh/docs/advanced/custom-request-and-route.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3816">#3816</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Add Chinese translation for <code>docs/zh/docs/external-links.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3833">#3833</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Add Chinese translation for <code>docs/zh/docs/advanced/templates.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3812">#3812</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Add Chinese translation for <code>docs/zh/docs/advanced/sub-applications.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3811">#3811</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Add Chinese translation for <code>docs/zh/docs/advanced/async-sql-databases.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3805">#3805</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Add Chinese translation for <code>docs/zh/docs/advanced/middleware.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3804">#3804</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> <li>🌐 Add Chinese translation for <code>docs/zh/docs/advanced/dataclasses.md</code>. PR <a href="https://redirect.github.com/tiangolo/fastapi/pull/3803">#3803</a> by <a href="https://github.com/jaystone776"><code>@jaystone776</code></a>.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tiangolo/fastapi/commit/50a880b39f09217ccb9b4144f9f5c8439af54cfd"><code>50a880b</code></a> 🔖 Release version 0.110.1</li> <li><a href="https://github.com/tiangolo/fastapi/commit/5f96d7ea8ab53575600e54a99d1ab27a41801fd4"><code>5f96d7e</code></a> 📝 Update release notes</li> <li><a href="https://github.com/tiangolo/fastapi/commit/d3d9f60a1eb0de1c50692515ca21db0c48bd367b"><code>d3d9f60</code></a> ⬆ Bump actions/cache from 3 to 4 (<a href="https://redirect.github.com/tiangolo/fastapi/issues/10988">#10988</a>)</li> <li><a href="https://github.com/tiangolo/fastapi/commit/2016de07e0c9cbb5591d16eea43d76fca745e378"><code>2016de0</code></a> 📝 Update release notes</li> <li><a href="https://github.com/tiangolo/fastapi/commit/c27439d0b4253339bd1b28aceec2cc7cf8f446aa"><code>c27439d</code></a> 📝 Update release notes</li> <li><a href="https://github.com/tiangolo/fastapi/commit/597741771d99bae6526e9c31789a385e6de4f5e5"><code>5977417</code></a> 📝 Update release notes</li> <li><a href="https://github.com/tiangolo/fastapi/commit/eec612ca8d79a6144d773af2229ef046c7a29138"><code>eec612c</code></a> 🐛 Fix parameterless <code>Depends()</code> with generics (<a href="https://redirect.github.com/tiangolo/fastapi/issues/9479">#9479</a>)</li> <li><a href="https://github.com/tiangolo/fastapi/commit/3c39b1cc0bb1f3620178db887eecabfa57b8dc09"><code>3c39b1c</code></a> ⬆ Bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.14 (<a href="https://redirect.github.com/tiangolo/fastapi/issues/11318">#11318</a>)</li> <li><a href="https://github.com/tiangolo/fastapi/commit/dce7c6627517fbed4591c193b5529e0373b08d10"><code>dce7c66</code></a> 📝 Update release notes</li> <li><a href="https://github.com/tiangolo/fastapi/commit/7fb46eab0762034f9cc44693e7e1ee35e69015a9"><code>7fb46ea</code></a> ⬆ Bump pillow from 10.1.0 to 10.2.0 (<a href="https://redirect.github.com/tiangolo/fastapi/issues/11011">#11011</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tiangolo/fastapi/compare/0.110.0...0.110.1">compare view</a></li> </ul> </details> <br /> Updates `uvicorn` from 0.27.1 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> <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> </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> <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> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/encode/uvicorn/commit/fe85206c5c79be52910ff1b7049591adbab72e4d"><code>fe85206</code></a> Version 0.29.0 (<a href="https://redirect.github.com/encode/uvicorn/issues/2279">#2279</a>)</li> <li><a href="https://github.com/encode/uvicorn/commit/9e32e8ebade4cf8253c224628fae9adb895ce2a7"><code>9e32e8e</code></a> Cooperative signal handling (<a href="https://redirect.github.com/encode/uvicorn/issues/1600">#1600</a>)</li> <li><a href="https://github.com/encode/uvicorn/commit/f73b8beeb1499ca5fcec3067cf89dad5326a0984"><code>f73b8be</code></a> Version 0.28.1 (<a href="https://redirect.github.com/encode/uvicorn/issues/2277">#2277</a>)</li> <li><a href="https://github.com/encode/uvicorn/commit/76a3812ad5df9b6d30b548a6f759b18af9eebf24"><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><a href="https://github.com/encode/uvicorn/commit/a05ae6426cc8f224f4f1a995f46a901ab0f5644b"><code>a05ae64</code></a> Version 0.28.0 (<a href="https://redirect.github.com/encode/uvicorn/issues/2269">#2269</a>)</li> <li><a href="https://github.com/encode/uvicorn/commit/4a503d84fa8703d7534d810bb10b3a0b0e6e1a39"><code>4a503d8</code></a> Change ruff rules (<a href="https://redirect.github.com/encode/uvicorn/issues/2251">#2251</a>)</li> <li><a href="https://github.com/encode/uvicorn/commit/0d4747e6021d690908deb0c81a62a02652800ee3"><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="https://github.com/encode/uvicorn/commit/93897b511854bd8aa70b8096126623d0aad8069c"><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="https://github.com/encode/uvicorn/commit/ed2d655902cb547fc1c3843cbce1faeacbaf974c"><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="https://github.com/encode/uvicorn/commit/1e5f1be767918f7dfd39ac5eeb23081768a88d09"><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>See full diff in <a href="https://github.com/encode/uvicorn/compare/0.27.1...0.29.0">compare view</a></li> </ul> </details> <br /> Updates `sentry-sdk` from 1.40.6 to 1.44.1 <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.1</h2> <h3>Various fixes & improvements</h3> <ul> <li> <p>Make <code>monitor</code> async friendly (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2912">#2912</a>) by <a href="https://github.com/sentrivana"><code>@sentrivana</code></a></p> <p>You can now decorate your async functions with the <code>monitor</code> decorator and they will correctly report their duration and completion status.</p> </li> <li> <p>Fixed <code>Event | None</code> runtime <code>TypeError</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2928">#2928</a>) by <a href="https://github.com/szokeasaurusrex"><code>@szokeasaurusrex</code></a></p> </li> </ul> <h2>1.44.0</h2> <h3>Various fixes & 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> <h2>1.43.0</h2> <h3>Various fixes & 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> <h2>1.42.0</h2> <h3>Various fixes & 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> </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.44.1</h2> <h3>Various fixes & improvements</h3> <ul> <li> <p>Make <code>monitor</code> async friendly (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2912">#2912</a>) by <a href="https://github.com/sentrivana"><code>@sentrivana</code></a></p> <p>You can now decorate your async functions with the <code>monitor</code> decorator and they will correctly report their duration and completion status.</p> </li> <li> <p>Fixed <code>Event | None</code> runtime <code>TypeError</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2928">#2928</a>) by <a href="https://github.com/szokeasaurusrex"><code>@szokeasaurusrex</code></a></p> </li> </ul> <h2>1.44.0</h2> <h3>Various fixes & 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> <h2>1.43.0</h2> <h3>Various fixes & 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> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/getsentry/sentry-python/commit/f015268e0101c1eedeb00d2471ce86b29bdd8b70"><code>f015268</code></a> Update CHANGELOG.md</li> <li><a href="https://github.com/getsentry/sentry-python/commit/be0e19637fbcfb312bedd8982835d1c787011166"><code>be0e196</code></a> release: 1.44.1</li> <li><a href="https://github.com/getsentry/sentry-python/commit/336f7d5645f6868567fa66832475294b7e099e8d"><code>336f7d5</code></a> fix(types): Fixed <code>Event | None</code> runtime <code>TypeError</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2928">#2928</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/fd8a9b207d87c1671c29cc2d30301ae1fa621df7"><code>fd8a9b2</code></a> Merge branch 'release/1.44.0'</li> <li><a href="https://github.com/getsentry/sentry-python/commit/b742c45ce893d96864ec9d907141223a0ea728f1"><code>b742c45</code></a> feat(crons): Make <code>monitor</code> async friendly (<a href="https://redirect.github.com/getsentry/sentry-python/issues/2912">#2912</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/4d8db7187cce5e7516228bec93e6e71811463230"><code>4d8db71</code></a> Update CHANGELOG.md</li> <li><a href="https://github.com/getsentry/sentry-python/commit/a4e44fa6a2085a2fbccae46edcf6da67052cc6db"><code>a4e44fa</code></a> release: 1.44.0</li> <li><a href="https://github.com/getsentry/sentry-python/commit/6c2eb539f7b8ebb0f2fa9ed05cce4f862843eb9d"><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="https://github.com/getsentry/sentry-python/commit/790ee6a819b1441b1273d962bf0cfa345f004a27"><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="https://github.com/getsentry/sentry-python/commit/05d1e5ca94cc4fffcd01c46ceda6713459308404"><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>Additional commits viewable in <a href="https://github.com/getsentry/sentry-python/compare/1.40.6...1.44.1">compare view</a></li> </ul> </details> <br /> Updates `sqlalchemy` from 2.0.28 to 2.0.29 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sqlalchemy/sqlalchemy/releases">sqlalchemy's releases</a>.</em></p> <blockquote> <h1>2.0.29</h1> <p>Released: March 23, 2024</p> <h2>orm</h2> <ul> <li> <p><strong>[orm] [usecase]</strong> Added support for the <a href="https://peps.python.org/pep-0695">PEP 695</a> <code>TypeAliasType</code> construct as well as the python 3.12 native <code>type</code> keyword to work with ORM Annotated Declarative form when using these constructs to link to a <a href="https://peps.python.org/pep-0593">PEP 593</a> <code>Annotated</code> container, allowing the resolution of the <code>Annotated</code> to proceed when these constructs are used in a <code>_orm.Mapped</code> typing container.</p> <p>References: <a href="https://www.sqlalchemy.org/trac/ticket/11130">#11130</a></p> </li> <li> <p><strong>[orm] [bug]</strong> Fixed Declarative issue where typing a relationship using <code>_orm.Relationship</code> rather than <code>_orm.Mapped</code> would inadvertently pull in the "dynamic" relationship loader strategy for that attribute.</p> <p>References: <a href="https://www.sqlalchemy.org/trac/ticket/10611">#10611</a></p> </li> <li> <p><strong>[orm] [bug]</strong> Fixed issue in ORM annotated declarative where using <code>_orm.mapped_column()</code> with an <code>_orm.mapped_column.index</code> or <code>_orm.mapped_column.unique</code> setting of False would be overridden by an incoming <code>Annotated</code> element that featured that parameter set to <code>True</code>, even though the immediate <code>_orm.mapped_column()</code> element is more specific and should take precedence. The logic to reconcile the booleans has been enhanced to accommodate a local value of <code>False</code> as still taking precedence over an incoming <code>True</code> value from the annotated element.</p> <p>References: <a href="https://www.sqlalchemy.org/trac/ticket/11091">#11091</a></p> </li> <li> <p><strong>[orm] [bug] [regression]</strong> Fixed regression from version 2.0.28 caused by the fix for <a href="https://www.sqlalchemy.org/trac/ticket/11085">#11085</a> where the newer method of adjusting post-cache bound parameter values would interefere with the implementation for the <code>_orm.subqueryload()</code> loader option, which has some more legacy patterns in use internally, when the additional loader criteria feature were used with this loader option.</p> <p>References: <a href="https://www.sqlalchemy.org/trac/ticket/11173">#11173</a></p> </li> </ul> <h2>engine</h2> <ul> <li><strong>[engine] [bug]</strong> Fixed issue in <code>engine_insertmanyvalues</code> feature where using a primary key column with an "inline execute" default generator such as an explicit <code>Sequence</code> with an explcit schema name, while at the same time using the <code>_engine.Connection.execution_options.schema_translate_map</code></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/sqlalchemy/sqlalchemy/commits">compare view</a></li> </ul> </details> <br /> Updates `typing-extensions` from 4.10.0 to 4.11.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/python/typing_extensions/releases">typing-extensions's releases</a>.</em></p> <blockquote> <h2>4.11.0</h2> <h1>Release 4.11.0 (April 5, 2024)</h1> <p>This feature release provides improvements to various recently added features, most importantly type parameter defaults (PEP 696).</p> <p>There are no changes since 4.11.0rc1.</p> <p>Changes since 4.10.0:</p> <ul> <li>Fix tests on Python 3.13.0a5. Patch by Jelle Zijlstra.</li> <li>Fix the runtime behavior of type parameters with defaults (PEP 696). Patch by Nadir Chowdhury.</li> <li>Fix minor discrepancy between error messages produced by <code>typing</code> and <code>typing_extensions</code> on Python 3.10. Patch by Jelle Zijlstra.</li> <li>When <code>include_extra=False</code>, <code>get_type_hints()</code> now strips <code>ReadOnly</code> from the annotation.</li> </ul> <h2>4.11.0rc1</h2> <ul> <li>Fix tests on Python 3.13.0a5. Patch by Jelle Zijlstra.</li> <li>Fix the runtime behavior of type parameters with defaults (PEP 696). Patch by Nadir Chowdhury.</li> <li>Fix minor discrepancy between error messages produced by <code>typing</code> and <code>typing_extensions</code> on Python 3.10. Patch by Jelle Zijlstra.</li> <li>When <code>include_extra=False</code>, <code>get_type_hints()</code> now strips <code>ReadOnly</code> from the annotation.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/python/typing_extensions/blob/main/CHANGELOG.md">typing-extensions's changelog</a>.</em></p> <blockquote> <h1>Release 4.11.0 (April 5, 2024)</h1> <p>This feature release provides improvements to various recently added features, most importantly type parameter defaults (PEP 696).</p> <p>There are no changes since 4.11.0rc1.</p> <h1>Release 4.11.0rc1 (March 24, 2024)</h1> <ul> <li>Fix tests on Python 3.13.0a5. Patch by Jelle Zijlstra.</li> <li>Fix the runtime behavior of type parameters with defaults (PEP 696). Patch by Nadir Chowdhury.</li> <li>Fix minor discrepancy between error messages produced by <code>typing</code> and <code>typing_extensions</code> on Python 3.10. Patch by Jelle Zijlstra.</li> <li>When <code>include_extra=False</code>, <code>get_type_hints()</code> now strips <code>ReadOnly</code> from the annotation.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/typing_extensions/commit/d4d929d44bd984350e2d17726362295f588eaace"><code>d4d929d</code></a> Prepare release 4.11.0 (<a href="https://redirect.github.com/python/typing_extensions/issues/363">#363</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/94bec447d6f7b9d3625ef0e688a0b0f9e487e951"><code>94bec44</code></a> Prepare release 4.11.0rc1 (<a href="https://redirect.github.com/python/typing_extensions/issues/362">#362</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/10648b6149e3b98cfb7d842684859318f01e940d"><code>10648b6</code></a> Fix tests on 3.13.0a5 (<a href="https://redirect.github.com/python/typing_extensions/issues/358">#358</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/8170fc7744ca1c2ca4911ce22095c907f7f58f8b"><code>8170fc7</code></a> Fix runtime behaviour of PEP 696 (<a href="https://redirect.github.com/python/typing_extensions/issues/293">#293</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/d34c389d3d1f8cce006dfd1200e203551c16418c"><code>d34c389</code></a> Try to fix GH actions syntax (<a href="https://redirect.github.com/python/typing_extensions/issues/355">#355</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/d409ec98e3889462e59c85a4b34f9f83ce40bf2c"><code>d409ec9</code></a> Run CPython test suite in our CI (<a href="https://redirect.github.com/python/typing_extensions/issues/353">#353</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/9d1689ede041302d85f41292bf25a9d13bf16a7b"><code>9d1689e</code></a> Fix indentation in TypedDict docs (<a href="https://redirect.github.com/python/typing_extensions/issues/352">#352</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/4fdc09ddb54be26580f68e26443a422c6024364c"><code>4fdc09d</code></a> Third-party tests: don't run pydantic tests on pypy (<a href="https://redirect.github.com/python/typing_extensions/issues/351">#351</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/3304a5f0045fc81ccc10c9c9fd238d378d020d94"><code>3304a5f</code></a> Stabilise third party tests (<a href="https://redirect.github.com/python/typing_extensions/issues/348">#348</a>)</li> <li><a href="https://github.com/python/typing_extensions/commit/c3dc681a298fae6f2aa3e937e20a32a446ecb58c"><code>c3dc681</code></a> Make sure that <code>ReadOnly</code> is removed when using `get_type_hints(include_extra...</li> <li>Additional commits viewable in <a href="https://github.com/python/typing_extensions/compare/4.10.0...4.11.0">compare view</a></li> </ul> </details> <br /> Updates `pytest` from 8.0.2 to 8.1.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest/releases">pytest's releases</a>.</em></p> <blockquote> <h2>8.1.1</h2> <h1>pytest 8.1.1 (2024-03-08)</h1> <p>::: {.note} ::: {.title} Note :::</p> <p>This release is not a usual bug fix release -- it contains features and improvements, being a follow up to <code>8.1.0</code>, which has been yanked from PyPI. :::</p> <h2>Features</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: Added the new <code>consider_namespace_packages</code>{.interpreted-text role="confval"} configuration option, defaulting to <code>False</code>.</p> <p>If set to <code>True</code>, pytest will attempt to identify modules that are part of <a href="https://packaging.python.org/en/latest/guides/packaging-namespace-packages">namespace packages</a> when importing modules.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11653">#11653</a>: Added the new <code>verbosity_test_cases</code>{.interpreted-text role="confval"} configuration option for fine-grained control of test execution verbosity. See <code>Fine-grained verbosity <pytest.fine_grained_verbosity></code>{.interpreted-text role="ref"} for more details.</p> </li> </ul> <h2>Improvements</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/10865">#10865</a>: <code>pytest.warns</code>{.interpreted-text role="func"} now validates that <code>warnings.warn</code>{.interpreted-text role="func"} was called with a [str]{.title-ref} or a [Warning]{.title-ref}. Currently in Python it is possible to use other types, however this causes an exception when <code>warnings.filterwarnings</code>{.interpreted-text role="func"} is used to filter those warnings (see [CPython <a href="https://redirect.github.com/pytest-dev/pytest/issues/103577">#103577</a>](<a href="https://redirect.github.com/python/cpython/issues/103577">python/cpython#103577</a>) for a discussion). While this can be considered a bug in CPython, we decided to put guards in pytest as the error message produced without this check in place is confusing.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11311">#11311</a>: When using <code>--override-ini</code> for paths in invocations without a configuration file defined, the current working directory is used as the relative directory.</p> <p>Previoulsy this would raise an <code>AssertionError</code>{.interpreted-text role="class"}.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11475">#11475</a>: <code>--import-mode=importlib <import-mode-importlib></code>{.interpreted-text role="ref"} now tries to import modules using the standard import mechanism (but still without changing :py<code>sys.path</code>{.interpreted-text role="data"}), falling back to importing modules directly only if that fails.</p> <p>This means that installed packages will be imported under their canonical name if possible first, for example <code>app.core.models</code>, instead of having the module name always be derived from their path (for example <code>.env310.lib.site_packages.app.core.models</code>).</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11801">#11801</a>: Added the <code>iter_parents() <_pytest.nodes.Node.iter_parents></code>{.interpreted-text role="func"} helper method on nodes. It is similar to <code>listchain <_pytest.nodes.Node.listchain></code>{.interpreted-text role="func"}, but goes from bottom to top, and returns an iterator, not a list.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11850">#11850</a>: Added support for <code>sys.last_exc</code>{.interpreted-text role="data"} for post-mortem debugging on Python>=3.12.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11962">#11962</a>: In case no other suitable candidates for configuration file are found, a <code>pyproject.toml</code> (even without a <code>[tool.pytest.ini_options]</code> table) will be considered as the configuration file and define the <code>rootdir</code>.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11978">#11978</a>: Add <code>--log-file-mode</code> option to the logging plugin, enabling appending to log-files. This option accepts either <code>"w"</code> or <code>"a"</code> and defaults to <code>"w"</code>.</p> <p>Previously, the mode was hard-coded to be <code>"w"</code> which truncates the file before logging.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/81653ee385f4c62ee7e64502a7b7530096553115"><code>81653ee</code></a> Adjust changelog manually for 8.1.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/e60b4b9ed80f761e3a51868a01338911a567b093"><code>e60b4b9</code></a> Prepare release version 8.1.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/15fbe57c44fed6737f5c6dad99cf4437b6755a6c"><code>15fbe57</code></a> [8.1.x] Revert legacy path removals (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12093">#12093</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/86c3aab005a98de7e12ee5e37782837f5db70ac3"><code>86c3aab</code></a> [8.1.x] Do not import duplicated modules with --importmode=importlib (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12077">#12077</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/5b82b0cd20c3adcc21f34ae30c595c7355a87e23"><code>5b82b0c</code></a> [8.1.x] Yank version 8.1.0 (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12076">#12076</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/0a536810dc5f51dac99bdb90dde06704b5aa034e"><code>0a53681</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12054">#12054</a> from pytest-dev/release-8.1.0</li> <li><a href="https://github.com/pytest-dev/pytest/commit/b9a167f9bbbd6eda4f0360c5bf5b7f5af50f2bc4"><code>b9a167f</code></a> Prepare release version 8.1.0</li> <li><a href="https://github.com/pytest-dev/pytest/commit/00043f7f1047b29fdaeb18e169fe9d6146988cb8"><code>00043f7</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12038">#12038</a> from bluetech/fixtures-rm-arg2index</li> <li><a href="https://github.com/pytest-dev/pytest/commit/f4e10251a4a003495b5228cea421d4de5fa0ce89"><code>f4e1025</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12048">#12048</a> from bluetech/fixture-teardown-excgroup</li> <li><a href="https://github.com/pytest-dev/pytest/commit/43492f5707b38dab9b62dfb829bb41a13579629f"><code>43492f5</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12051">#12051</a> from jakkdl/test_debugging_pythonbreakpoint</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/8.0.2...8.1.1">compare view</a></li> </ul> </details> <br /> Updates `pytest-cov` from 4.1.0 to 5.0.0 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst">pytest-cov's changelog</a>.</em></p> <blockquote> <h2>5.0.0 (2024-03-24)</h2> <ul> <li>Removed support for xdist rsync (now deprecated). Contributed by Matthias Reichenbach in <code>[#623](https://github.com/pytest-dev/pytest-cov/issues/623) <https://github.com/pytest-dev/pytest-cov/pull/623></code>_.</li> <li>Switched docs theme to Furo.</li> <li>Various legacy Python cleanup and CI improvements. Contributed by Christian Clauss and Hugo van Kemenade in <code>[#630](https://github.com/pytest-dev/pytest-cov/issues/630) <https://github.com/pytest-dev/pytest-cov/pull/630></code><em>, <code>[#631](https://github.com/pytest-dev/pytest-cov/issues/631) <https://github.com/pytest-dev/pytest-cov/pull/631></code></em>, <code>[#632](https://github.com/pytest-dev/pytest-cov/issues/632) <https://github.com/pytest-dev/pytest-cov/pull/632></code>_ and <code>[#633](https://github.com/pytest-dev/pytest-cov/issues/633) <https://github.com/pytest-dev/pytest-cov/pull/633></code>_.</li> <li>Added a <code>pyproject.toml</code> example in the docs. Contributed by Dawn James in <code>[#626](https://github.com/pytest-dev/pytest-cov/issues/626) <https://github.com/pytest-dev/pytest-cov/pull/626></code>_.</li> <li>Modernized project's pre-commit hooks to use ruff. Initial POC contributed by Christian Clauss in <code>[#584](https://github.com/pytest-dev/pytest-cov/issues/584) <https://github.com/pytest-dev/pytest-cov/pull/584></code>_.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/5295ce01c84262cec88f31255e9ac538718f3047"><code>5295ce0</code></a> Bump version: 4.1.0 → 5.0.0</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/1181b067972bf94569f8011f3b18f271690f9ab1"><code>1181b06</code></a> Update changelog.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/9757222e2e044361e70125ebdd96e5eb87395983"><code>9757222</code></a> Fix a minor grammar error (<a href="https://redirect.github.com/pytest-dev/pytest-cov/issues/636">#636</a>)</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/9f5cd81a0dbe3fe41681efdbef516c08988fe8ff"><code>9f5cd81</code></a> Cleanup releasing instructions. Closes <a href="https://redirect.github.com/pytest-dev/pytest-cov/issues/616">#616</a>.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/93b5047ec5050d63c10a6fe16a09b671a7a03df8"><code>93b5047</code></a> Add test for pyproject.toml loading without explicit --cov-config. Ref <a href="https://redirect.github.com/pytest-dev/pytest-cov/issues/508">#508</a>.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/ff50860d7c67b920503745d92a3f0944cf41f982"><code>ff50860</code></a> docs: add config instructions for pyproject.toml.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/4a5a4b5fa4b1c63ddcab5cbc1813798c9b6f1d36"><code>4a5a4b5</code></a> Keep GitHub Actions up to date with GitHub's Dependabot</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/1d7f55963d5138f41c452a946f7cca7e0b6ee8b2"><code>1d7f559</code></a> Fix or remove URLs that are causing docs tests to fail</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/6a5af8e85b8242ac815f33e26adf9068f5f0ebc3"><code>6a5af8e</code></a> Update changelog.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/d9fe8dfed15023d3410dd299c5092e755b8981c2"><code>d9fe8df</code></a> Switch to furo. Closes <a href="https://redirect.github.com/pytest-dev/pytest-cov/issues/618">#618</a>.</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest-cov/compare/v4.1.0...v5.0.0">compare view</a></li> </ul> </details> <br /> Updates `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>=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) <https://github.com/pytest-dev/pytest-mock/pull/415></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) <https://github.com/pytest-dev/pytest-mock/issues/420></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) <https://github.com/pytest-dev/pytest-mock/pull/417></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>=6.2.5</code>.</li> <li><code>[#410](https://github.com/pytest-dev/pytest-mock/issues/410) <https://github.com/pytest-dev/pytest-mock/pull/410></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 <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary></code></em> for alternatives.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/8733134b6194395e9cd3c745adcc9a9c09b0279e"><code>8733134</code></a> Update CHANGELOG for 3.14.0</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/5257e3c0df0a18bca4028daa9e6d2d91870ff576"><code>5257e3c</code></a> Refactor MockCache to have a narrow interface</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/4faf92ae233afadac3831ab570531e540dc87830"><code>4faf92a</code></a> Fix regression with mocker.patch not being undone correctly</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/6bd8712a14a1a11d348354318fdbad3fd9bbdb78"><code>6bd8712</code></a> Drop pre-Python 3.8 support code</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/366966bff1e3ca2e1455d704dd59991da5593877"><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="https://github.com/pytest-dev/pytest-mock/commit/852116b0af33db27fe595847c091631dcf059a1c"><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="https://github.com/pytest-dev/pytest-mock/commit/ef9461b8b5bdcdd416841b986cf4e1d336c84266"><code>ef9461b</code></a> Add instructions on how to start deploy from command-line</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/5b9d2858f507e04cc97a3c206f55d7d5505ae71c"><code>5b9d285</code></a> Release 3.13.0</li> <li><a href="https://github.com/pytest-dev/pytest-mock/commit/6d5d6dc2274cea96b6919a4a2a6dc7a3394ef11d"><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="https://github.com/pytest-dev/pytest-mock/commit/dc28a0ec7b66372fbc6e0cf1bbe443ce7ca465cd"><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 /> Updates `black` from 24.2.0 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> </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.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> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/black/commit/552baf822992936134cbd31a38f69c8cfe7c0f05"><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="https://github.com/psf/black/commit/f00093672628d212b8965a8993cee8bedf5fe9b8"><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="https://github.com/psf/black/commit/7b5a657285f38126bf28483478bbd9ea928077ec"><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="https://github.com/psf/black/commit/1abcffc81816257985678f08c61584ed4287f22a"><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="https://github.com/psf/black/commit/719e67462c80574c81a96faa144886de6da84489"><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="https://github.com/psf/black/commit/e5510afc06cd238cd0cba4095283943a870a7e7b"><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="https://github.com/psf/black/commit/6af7d1109693c4ad3af08ecbc34649c232b47a6d"><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="https://github.com/psf/black/commit/f03ee113c9f3dfeb477f2d4247bfb7de2e5f465c"><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="https://github.com/psf/black/commit/e4bfedbec2e8b10cc6b7b31442478f05db0ce06d"><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="https://github.com/psf/black/commit/d0287e1f7558d97e6c0ebd6dc5bcb5b970e2bf8c"><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/24.2.0...24.3.0">compare view</a></li> </ul> </details> <br /> Updates `pre-commit` from 3.6.2 to 3.7.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pre-commit/pre-commit/releases">pre-commit's releases</a>.</em></p> <blockquote> <h2>pre-commit v3.7.0</h2> <h3>Features</h3> <ul> <li>Use a tty for <code>docker</code> and <code>docker_image</code> hooks when <code>--color</code> is specified. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3122">#3122</a> PR by <a href="https://github.com/glehmann"><code>@glehmann</code></a>.</li> </ul> </li> </ul> <h3>Fixes</h3> <ul> <li>Fix <code>fail_fast</code> for individual hooks stopping when previous hooks had failed. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3167">#3167</a> issue by <a href="https://github.com/tp832944"><code>@tp832944</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3168">#3168</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> </ul> </li> </ul> <h3>Updating</h3> <ul> <li>The per-hook behaviour of <code>fail_fast</code> was fixed. If you want the pre-3.7.0 behaviour, add <code>fail_fast: true</code> to all hooks before the last <code>fail_fast</code> hook.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md">pre-commit's changelog</a>.</em></p> <blockquote> <h1>3.7.0 - 2024-03-24</h1> <h3>Features</h3> <ul> <li>Use a tty for <code>docker</code> and <code>docker_image</code> hooks when <code>--color</code> is specified. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3122">#3122</a> PR by <a href="https://github.com/glehmann"><code>@glehmann</code></a>.</li> </ul> </li> </ul> <h3>Fixes</h3> <ul> <li>Fix <code>fail_fast</code> for individual hooks stopping when previous hooks had failed. <ul> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3167">#3167</a> issue by <a href="https://github.com/tp832944"><code>@tp832944</code></a>.</li> <li><a href="https://redirect.github.com/pre-commit/pre-commit/issues/3168">#3168</a> PR by <a href="https://github.com/asottile"><code>@asottile</code></a>.</li> </ul> </li> </ul> <h3>Updating</h3> <ul> <li>The per-hook behaviour of <code>fail_fast</code> was fixed. If you want the pre-3.7.0 behaviour, add <code>fail_fast: true</code> to all hooks before the last <code>fail_fast</code> hook.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pre-commit/pre-commit/commit/7b4667e9e6e05e31707c404c95115b151745866c"><code>7b4667e</code></a> v3.7.0</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/d46c8fc051f89f0eda3456c8c9c52e129d6acd75"><code>d46c8fc</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3168">#3168</a> from pre-commit/fix-fail-fast</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/fc622159a6c5cd31919ed2a22fa1c11d8ca56dbf"><code>fc62215</code></a> fix per-hook fail_fast to not fail on previous failures</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/716da1e49c36b8ae46d1dd0ef5aabdb475ee4388"><code>716da1e</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3155">#3155</a> from pre-commit/pre-commit-ci-update-config</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/0939c11b4f0488ae3bff9b67aed67ea744189412"><code>0939c11</code></a> [pre-commit.ci] pre-commit autoupdate</li> <li><a href="https://github.com/pre-commit/pre-commit/commit/3bdf9fb91bd661c667131dd3f73581a4ce9368c3"><code>3bdf9fb</code></a> Merge pull request <a href="https://redirect.github.com/pre-commit/pre-commit/issues/3150">#3150</a> from…
- Loading branch information