Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps): bump the python group with 5 updates (#674)
Bumps the python group with 5 updates: | Package | From | To | | --- | --- | --- | | [fastapi](https://github.com/fastapi/fastapi) | `0.112.2` | `0.114.0` | | [boto3](https://github.com/boto/boto3) | `1.34.154` | `1.34.162` | | [boto3-stubs](https://github.com/youtype/mypy_boto3_builder) | `1.35.11` | `1.35.14` | | [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.111.2` | `6.112.0` | | [ruff](https://github.com/astral-sh/ruff) | `0.6.3` | `0.6.4` | Updates `fastapi` from 0.112.2 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 = {"extra": "forbid"}</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 = {"extra": "forbid"}</p> <p><a href="https://github.com/app"><code>@app</code></a>.post("/login/") 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): </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/fastapi/fastapi/commit/bde12faea20313e4570f7cb896c201058c26e546"><code>bde12fa</code></a> 🔖 Release version 0.114.0</li> <li><a href="https://github.com/fastapi/fastapi/commit/74842f0a604f9e90e6ffb71c352186389060b1b6"><code>74842f0</code></a> 📝 Update release notes</li> <li><a href="https://github.com/fastapi/fastapi/commit/e68d8c60fbe22609b6e3c3a652474088eeba18e6"><code>e68d8c6</code></a> 📝 Update release notes</li> <li><a href="https://github.com/fastapi/fastapi/commit/4ff22a0c4167e5fe5dc039b29531329398d67ad5"><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="https://github.com/fastapi/fastapi/commit/a11e392f5f0ae8b50f92252f811764d48929466f"><code>a11e392</code></a> 📝 Update release notes</li> <li><a href="https://github.com/fastapi/fastapi/commit/4633b1bca933e68dac5c3bcce797ff5963debe2a"><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="https://github.com/fastapi/fastapi/commit/1b06b532677c91006efe01e4bd09b5d91f5df261"><code>1b06b53</code></a> 📝 Update release notes</li> <li><a href="https://github.com/fastapi/fastapi/commit/c411b81c29f0e8365e0710baf951b4a42039a2e5"><code>c411b81</code></a> ✅ Update internal tests for latest Pydantic, including CI tweaks to install t...</li> <li><a href="https://github.com/fastapi/fastapi/commit/d86f6603029def91e0798ca42f5fd12eff13c87b"><code>d86f660</code></a> 🔖 Release version 0.113.0</li> <li><a href="https://github.com/fastapi/fastapi/commit/179f838c366b1d9ac74e114949c5c6cfe713ec03"><code>179f838</code></a> 📝 Update release notes</li> <li>Additional commits viewable in <a href="https://github.com/fastapi/fastapi/compare/0.112.2...0.114.0">compare view</a></li> </ul> </details> <br /> Updates `boto3` from 1.34.154 to 1.34.162 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/boto/boto3/commit/59518e4776a764f6e0ab12cd2975d6ecedae6389"><code>59518e4</code></a> Merge branch 'release-1.34.162'</li> <li><a href="https://github.com/boto/boto3/commit/add8a631e3362294a887f07e6e556d76825c2c29"><code>add8a63</code></a> Bumping version to 1.34.162</li> <li><a href="https://github.com/boto/boto3/commit/2ec94805eee7dafbb1691f3a9161cb4a7445ff55"><code>2ec9480</code></a> Add changelog entries from botocore</li> <li><a href="https://github.com/boto/boto3/commit/2f927ce5a8fa295361b94fdc1c484118c54c8b6f"><code>2f927ce</code></a> Merge branch 'release-1.34.161'</li> <li><a href="https://github.com/boto/boto3/commit/82688779ea55948fd864e4c3b702466c4b2b6f58"><code>8268877</code></a> Merge branch 'release-1.34.161' into develop</li> <li><a href="https://github.com/boto/boto3/commit/c36a3f24ec8209dfede49dc5846ea94db24fcd7c"><code>c36a3f2</code></a> Bumping version to 1.34.161</li> <li><a href="https://github.com/boto/boto3/commit/d4b60060a4e1de429dbdcaea2c2edee9ecf40507"><code>d4b6006</code></a> Add changelog entries from botocore</li> <li><a href="https://github.com/boto/boto3/commit/7eb51bda23d6410d20f5666fcd2b1de5adca6491"><code>7eb51bd</code></a> Merge branch 'release-1.34.160'</li> <li><a href="https://github.com/boto/boto3/commit/27dcf7201a1dc3fc77dd728fda3a19c417cd8083"><code>27dcf72</code></a> Merge branch 'release-1.34.160' into develop</li> <li><a href="https://github.com/boto/boto3/commit/edc8a5cc76beb44764289043c9d6cfa5944adcd9"><code>edc8a5c</code></a> Bumping version to 1.34.160</li> <li>Additional commits viewable in <a href="https://github.com/boto/boto3/compare/1.34.154...1.34.162">compare view</a></li> </ul> </details> <br /> Updates `boto3-stubs` from 1.35.11 to 1.35.14 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/youtype/mypy_boto3_builder/commits">compare view</a></li> </ul> </details> <br /> Updates `hypothesis` from 6.111.2 to 6.112.0 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/56ef043e1acfbb13558f491fef828538cbdb2e7f"><code>56ef043</code></a> Bump hypothesis-python version to 6.112.0 and update changelog</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/342017abc074b401dc9e9a50810e8eb5a825b04d"><code>342017a</code></a> Merge pull request <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4097">#4097</a> from tybug/draw-bytes-min-max-size-2</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/531bdf02f80c88fb0ab6e76949744f88d4cd1e84"><code>531bdf0</code></a> Improve loop idiom</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/1636d85ed36b627d55ec007cdbace2e0d1d4fe07"><code>1636d85</code></a> rewrite release notes</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/5bc3849ed566fc79de44f10b76ca29582278129d"><code>5bc3849</code></a> extract alphabet size logic</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/d2fda295e8ecf3f5693feb2b172978251f8822ee"><code>d2fda29</code></a> make max_size required for draw_string and draw_bytes</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/5b0ea4a0fe532bda5365afacf179b8fde0638a55"><code>5b0ea4a</code></a> remove stale comment</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/3b57de7e5b08d0fbbf250922303b9d72bd2e30e1"><code>3b57de7</code></a> make linters happy</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/200c9d43c67ae30fb6da37d23a233c17a26a7958"><code>200c9d4</code></a> add release notes</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/5efc2064223fb55c13ddf004ab1cb6899b5d1c3d"><code>5efc206</code></a> update literal data.draw_bytes calls in tests</li> <li>Additional commits viewable in <a href="https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.111.2...hypothesis-python-6.112.0">compare view</a></li> </ul> </details> <br /> Updates `ruff` from 0.6.3 to 0.6.4 <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.4</h2> <h2>Release Notes</h2> <h3>Preview features</h3> <ul> <li>[<code>flake8-builtins</code>] Use dynamic builtins list based on Python version (<a href="https://redirect.github.com/astral-sh/ruff/pull/13172">#13172</a>)</li> <li>[<code>pydoclint</code>] Permit yielding <code>None</code> in <code>DOC402</code> and <code>DOC403</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13148">#13148</a>)</li> <li>[<code>pylint</code>] Update diagnostic message for <code>PLW3201</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13194">#13194</a>)</li> <li>[<code>ruff</code>] Implement <code>post-init-default</code> (<code>RUF033</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13192">#13192</a>)</li> <li>[<code>ruff</code>] Implement useless if-else (<code>RUF034</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13218">#13218</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-pyi</code>] Respect <code>pep8_naming.classmethod-decorators</code> settings when determining if a method is a classmethod in <code>custom-type-var-return-type</code> (<code>PYI019</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13162">#13162</a>)</li> <li>[<code>flake8-pyi</code>] Teach various rules that annotations might be stringized (<a href="https://redirect.github.com/astral-sh/ruff/pull/12951">#12951</a>)</li> <li>[<code>pylint</code>] Avoid <code>no-self-use</code> for <code>attrs</code>-style validators (<a href="https://redirect.github.com/astral-sh/ruff/pull/13166">#13166</a>)</li> <li>[<code>pylint</code>] Recurse into subscript subexpressions when searching for list/dict lookups (<code>PLR1733</code>, <code>PLR1736</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13186">#13186</a>)</li> <li>[<code>pyupgrade</code>] Detect <code>aiofiles.open</code> calls in <code>UP015</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13173">#13173</a>)</li> <li>[<code>pyupgrade</code>] Mark <code>sys.version_info[0] < 3</code> and similar comparisons as outdated (<code>UP036</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13175">#13175</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Enrich messages of SARIF results (<a href="https://redirect.github.com/astral-sh/ruff/pull/13180">#13180</a>)</li> <li>Handle singular case for incompatible rules warning in <code>ruff format</code> output (<a href="https://redirect.github.com/astral-sh/ruff/pull/13212">#13212</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>pydocstyle</code>] Improve heuristics for detecting Google-style docstrings (<a href="https://redirect.github.com/astral-sh/ruff/pull/13142">#13142</a>)</li> <li>[<code>refurb</code>] Treat <code>sep</code> arguments with effects as unsafe removals (<code>FURB105</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13165">#13165</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/Jinior"><code>@Jinior</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li> <li><a href="https://github.com/RubenVanEldik"><code>@RubenVanEldik</code></a></li> <li><a href="https://github.com/RussellLuo"><code>@RussellLuo</code></a></li> <li><a href="https://github.com/Slyces"><code>@Slyces</code></a></li> <li><a href="https://github.com/carljm"><code>@carljm</code></a></li> <li><a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li> <li><a href="https://github.com/chriskrycho"><code>@chriskrycho</code></a></li> <li><a href="https://github.com/dhruvmanila"><code>@dhruvmanila</code></a></li> <li><a href="https://github.com/dylwil3"><code>@dylwil3</code></a></li> <li><a href="https://github.com/github-actions"><code>@github-actions</code></a></li> <li><a href="https://github.com/iamlucasvieira"><code>@iamlucasvieira</code></a></li> <li><a href="https://github.com/jamesbraza"><code>@jamesbraza</code></a></li> <li><a href="https://github.com/renovate"><code>@renovate</code></a></li> <li><a href="https://github.com/tjkuson"><code>@tjkuson</code></a></li> <li><a href="https://github.com/zhoufanjin"><code>@zhoufanjin</code></a></li> </ul> <h2>Install ruff 0.6.4</h2> <!-- 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.4</h2> <h3>Preview features</h3> <ul> <li>[<code>flake8-builtins</code>] Use dynamic builtins list based on Python version (<a href="https://redirect.github.com/astral-sh/ruff/pull/13172">#13172</a>)</li> <li>[<code>pydoclint</code>] Permit yielding <code>None</code> in <code>DOC402</code> and <code>DOC403</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13148">#13148</a>)</li> <li>[<code>pylint</code>] Update diagnostic message for <code>PLW3201</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13194">#13194</a>)</li> <li>[<code>ruff</code>] Implement <code>post-init-default</code> (<code>RUF033</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13192">#13192</a>)</li> <li>[<code>ruff</code>] Implement useless if-else (<code>RUF034</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13218">#13218</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>flake8-pyi</code>] Respect <code>pep8_naming.classmethod-decorators</code> settings when determining if a method is a classmethod in <code>custom-type-var-return-type</code> (<code>PYI019</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13162">#13162</a>)</li> <li>[<code>flake8-pyi</code>] Teach various rules that annotations might be stringized (<a href="https://redirect.github.com/astral-sh/ruff/pull/12951">#12951</a>)</li> <li>[<code>pylint</code>] Avoid <code>no-self-use</code> for <code>attrs</code>-style validators (<a href="https://redirect.github.com/astral-sh/ruff/pull/13166">#13166</a>)</li> <li>[<code>pylint</code>] Recurse into subscript subexpressions when searching for list/dict lookups (<code>PLR1733</code>, <code>PLR1736</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13186">#13186</a>)</li> <li>[<code>pyupgrade</code>] Detect <code>aiofiles.open</code> calls in <code>UP015</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13173">#13173</a>)</li> <li>[<code>pyupgrade</code>] Mark <code>sys.version_info[0] < 3</code> and similar comparisons as outdated (<code>UP036</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13175">#13175</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Enrich messages of SARIF results (<a href="https://redirect.github.com/astral-sh/ruff/pull/13180">#13180</a>)</li> <li>Handle singular case for incompatible rules warning in <code>ruff format</code> output (<a href="https://redirect.github.com/astral-sh/ruff/pull/13212">#13212</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>pydocstyle</code>] Improve heuristics for detecting Google-style docstrings (<a href="https://redirect.github.com/astral-sh/ruff/pull/13142">#13142</a>)</li> <li>[<code>refurb</code>] Treat <code>sep</code> arguments with effects as unsafe removals (<code>FURB105</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13165">#13165</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/65cc6ec41db50879f7e9711e2b8c74b895ba68e8"><code>65cc6ec</code></a> Bump version to 0.6.4 (<a href="https://redirect.github.com/astral-sh/ruff/issues/13253">#13253</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/66fe22660807b5eaa68e96495472c7618fa866a2"><code>66fe226</code></a> [red-knot] fix lookup of nonlocal names in deferred annotations (<a href="https://redirect.github.com/astral-sh/ruff/issues/13236">#13236</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/e965f9cc0eca2d19cc3643475341890a5f090730"><code>e965f9c</code></a> [red-knot] Infer <code>Unknown</code> for the loop var in <code>async for</code> loops (<a href="https://redirect.github.com/astral-sh/ruff/issues/13243">#13243</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/0512428a6fdf15eb2de88b297c7d99ea27b992b1"><code>0512428</code></a> [red-knot] Emit a diagnostic if the value of a starred expression or a `yield...</li> <li><a href="https://github.com/astral-sh/ruff/commit/46a457318d8d259376a2b458b3f814b9b795fe69"><code>46a4573</code></a> [red-knot] Add type inference for basic <code>for</code> loops (<a href="https://redirect.github.com/astral-sh/ruff/issues/13195">#13195</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/57289099bb9fb782a78d329186991ed3d313e948"><code>5728909</code></a> Make mypy pass on black in <code>knot_benchmark</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/13235">#13235</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/9d1bd7a8a776d0f44e7039de2be66040cb938fd4"><code>9d1bd7a</code></a> [pylint] removed dunder methods in Python 3 (PLW3201) (<a href="https://redirect.github.com/astral-sh/ruff/issues/13194">#13194</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/e37bde458e9928f1997cba249471459d31136aee"><code>e37bde4</code></a> [ruff] implement useless if-else (RUF034) (<a href="https://redirect.github.com/astral-sh/ruff/issues/13218">#13218</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/862bd0c429f002cf65f931fec2ad2f02fa41837d"><code>862bd0c</code></a> [red-knot] Add debug assert to check for duplicate definitions (<a href="https://redirect.github.com/astral-sh/ruff/issues/13214">#13214</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/e1e9143c479b21af9dc5d60d54ad2a095129c794"><code>e1e9143</code></a> [red-knot] Handle multiple comprehension targets (<a href="https://redirect.github.com/astral-sh/ruff/issues/13213">#13213</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.6.3...0.6.4">compare view</a></li> </ul> </details> <br /> 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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details>
- Loading branch information