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 11 updates (#687)
[//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Bumps the python group with 11 updates: | Package | From | To | | --- | --- | --- | | [fastapi](https://github.com/fastapi/fastapi) | `0.114.0` | `0.115.0` | | [uvicorn](https://github.com/encode/uvicorn) | `0.30.6` | `0.31.0` | | [redis](https://github.com/redis/redis-py) | `5.0.8` | `5.1.1` | | [boto3-stubs](https://github.com/youtype/mypy_boto3_builder) | `1.35.14` | `1.35.35` | | [prometheus-client](https://github.com/prometheus/client_python) | `0.20.0` | `0.21.0` | | [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.34` | `9.5.39` | | [pytest](https://github.com/pytest-dev/pytest) | `8.3.2` | `8.3.3` | | [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.112.0` | `6.112.4` | | [pyright](https://github.com/RobertCraigie/pyright-python) | `1.1.379` | `1.1.383` | | [black](https://github.com/psf/black) | `24.8.0` | `24.10.0` | | [ruff](https://github.com/astral-sh/ruff) | `0.6.4` | `0.6.9` | Updates `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["created_at", "updated_at"] = "created_at" tags: list[str] = []</p> <p><a href="https://github.com/app"><code>@app</code></a>.get("/items/") 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 </tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/fastapi/fastapi/commit/40e33e492dbf4af6172997f4e3238a32e56cbe26"><code>40e33e4</code></a> 🔖 Release version 0.115.0</li> <li><a href="https://github.com/fastapi/fastapi/commit/b36047b54ae4f965d03426872dbc1fa1f32c746b"><code>b36047b</code></a> 📝 Update release notes</li> <li><a href="https://github.com/fastapi/fastapi/commit/7eadeb69bdc579f7de92d0e7762a7825a5da192a"><code>7eadeb6</code></a> 📝 Update release notes</li> <li><a href="https://github.com/fastapi/fastapi/commit/55035f440bf852f739e3ccd71b67034016ae9bba"><code>55035f4</code></a> ✨ Add support for Pydantic models for parameters using <code>Query</code>, <code>Cookie</code>, `He...</li> <li><a href="https://github.com/fastapi/fastapi/commit/0903da78c9940b094e13732264b5e462a426e5cc"><code>0903da7</code></a> 📝 Update release notes</li> <li><a href="https://github.com/fastapi/fastapi/commit/4b2b14a8e89a46a3c37dbf49746c5cd0e6f678f2"><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="https://github.com/fastapi/fastapi/commit/35df20c79c8ce482c314934098e8875cf011c56e"><code>35df20c</code></a> 📝 Update release notes</li> <li><a href="https://github.com/fastapi/fastapi/commit/8eb3c5621ff2b946e7dd7a1a7ffd709e27de9ac6"><code>8eb3c56</code></a> 🌐 Add Portuguese translation for `docs/pt/docs/advanced/security/http-basic-a...</li> <li><a href="https://github.com/fastapi/fastapi/commit/2ada1615a338a415a0ad7a9b879a1e7c09b9cce6"><code>2ada161</code></a> 🔖 Release version 0.114.2</li> <li><a href="https://github.com/fastapi/fastapi/commit/3a5fd71f5596ad7437394597fc09f1b8e8ec73f2"><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 /> Updates `uvicorn` from 0.30.6 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> </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.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> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/encode/uvicorn/commit/a50753268a9033dcdc57d6dee45f3829cdedf8f0"><code>a507532</code></a> Version 0.31.0 (<a href="https://redirect.github.com/encode/uvicorn/issues/2469">#2469</a>)</li> <li><a href="https://github.com/encode/uvicorn/commit/84dd2c403d3fe13dcecffd62a23d106bd781b82e"><code>84dd2c4</code></a> Improve ProxyHeadersMiddleware (<a href="https://redirect.github.com/encode/uvicorn/issues/2468">#2468</a>)</li> <li><a href="https://github.com/encode/uvicorn/commit/3d26ab46597b368ba45d68e8b0f65342ede8d2e6"><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="https://github.com/encode/uvicorn/commit/47304d9ae76321f0f5f649ff4f73e09b17085933"><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="https://github.com/encode/uvicorn/commit/1cb0c32891722ecb2c51a3a1c322f5f22544e6c6"><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>See full diff in <a href="https://github.com/encode/uvicorn/compare/0.30.6...0.31.0">compare view</a></li> </ul> </details> <br /> Updates `redis` from 5.0.8 to 5.1.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/redis/redis-py/releases">redis's releases</a>.</em></p> <blockquote> <h2>5.1.1</h2> <h1>Changes</h1> <h2>5.1.1</h2> <h3>🐛 Bug Fixes</h3> <ul> <li>Fixed return type for Redis Set commands to be Set instead of List (<a href="https://redirect.github.com/redis/redis-py/issues/3399">#3399</a>)</li> <li>Fixed bug with partial Hiredis availability (<a href="https://redirect.github.com/redis/redis-py/issues/3400">#3400</a>)</li> <li>Fixed bug with async pipeline and cluster fails with some commands (<a href="https://redirect.github.com/redis/redis-py/issues/3402">#3402</a>)</li> </ul> <h2>5.1.0</h2> <h3>🚀 New Features</h3> <ul> <li>Client-side caching (<a href="https://redirect.github.com/redis/redis-py/issues/3350">#3350</a>, <a href="https://redirect.github.com/redis/redis-py/issues/3110">#3110</a>, <a href="https://redirect.github.com/redis/redis-py/issues/3102">#3102</a>, <a href="https://redirect.github.com/redis/redis-py/issues/3099">#3099</a>, <a href="https://redirect.github.com/redis/redis-py/issues/3089">#3089</a>, <a href="https://redirect.github.com/redis/redis-py/issues/3038">#3038</a>)</li> </ul> <h4>How to start with Client-side caching?</h4> <ol> <li>Install redis-py 5.1.0</li> <li>Use the following code snippet:</li> </ol> <pre lang="python"><code>r = Redis(protocol=3, cache_config=CacheConfig()) <p>cache = r.get_cache()<br /> r.set("foo", "bar")</p> <h1>get key from redis and save in local cache</h1> <p>print(r.get("foo"))</p> <h1>get key from local cache</h1> <p>print(cache.get(CacheKey(command="GET", redis_keys=("foo",))).cache_value)</p> <h1>change key in redis (cause invalidation)</h1> <p>r.set("foo", "barbar")</p> <h1>Retrieves a new value from server and cache it</h1> <p>print(r.get("foo"))</p> <h1>Make sure that new value was cached</h1> <p>print(cache.get(CacheKey(command="GET", redis_keys=("foo",))).cache_value)<br /> </code></pre></p> <p>Check <a href="https://redis.readthedocs.io/en/latest/resp3_features.html#client-side-caching">documentation</a> to get more examples</p> <h3>🔥 Breaking Changes</h3> <ul> <li>Timeseries insertion filters for close samples (<a href="https://redirect.github.com/redis/redis-py/issues/3228">#3228</a>)</li> <li>Enhanced classes string representation (<a href="https://redirect.github.com/redis/redis-py/issues/3001">#3001</a>)</li> <li>Partial clean up of Python 3.7 compatibility (<a href="https://redirect.github.com/redis/redis-py/issues/2928">#2928</a>)</li> <li>Handle Redis Set data type as Python list to avoid a limitations with nested dictionaries (<a href="https://redirect.github.com/redis/redis-py/issues/3324">#3324</a>)</li> </ul> <h2>Contributors</h2> <p>We'd like to thank all the contributors who worked on this release!</p> <p><a href="https://github.com/vladvildanov"><code>@vladvildanov</code></a> <a href="https://github.com/dmaier-redislabs"><code>@dmaier-redislabs</code></a> <a href="https://github.com/vineethvkumar"><code>@vineethvkumar</code></a> <a href="https://github.com/ramchandra-st"><code>@ramchandra-st</code></a> <a href="https://github.com/RafalBielickiIM"><code>@RafalBielickiIM</code></a> <a href="https://github.com/jules-ch"><code>@jules-ch</code></a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/redis/redis-py/commit/4b3a6d0ef351c3707ae0386eae8f7a51f8a9c81e"><code>4b3a6d0</code></a> Updated package version (<a href="https://redirect.github.com/redis/redis-py/issues/3403">#3403</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/e20f354f0d94ba4982c465119d96911eb6dd9870"><code>e20f354</code></a> Fix bug with async pipeline and cluster fails with some commands (<a href="https://redirect.github.com/redis/redis-py/issues/3402">#3402</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/aa222251ef52af952a25b271285410ecea8f29d7"><code>aa22225</code></a> Fix bug with partial Hiredis availability (<a href="https://redirect.github.com/redis/redis-py/issues/3400">#3400</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/c31849cbc757f7346b87e1365735be6fc3829710"><code>c31849c</code></a> Fix bug with Redis Set commands returns List instead of Set (<a href="https://redirect.github.com/redis/redis-py/issues/3399">#3399</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/7215a525daac21ab4a91ad90902a7a4e584053a5"><code>7215a52</code></a> Updated package version (<a href="https://redirect.github.com/redis/redis-py/issues/3389">#3389</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/2e46613dcdf9db7f948f3258fee1c9199da8cbfa"><code>2e46613</code></a> Client side caching refactoring (<a href="https://redirect.github.com/redis/redis-py/issues/3350">#3350</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/7d73d742d6df4b3d6f6a1f0ec73e72d4a02add74"><code>7d73d74</code></a> DOC-4197: add TCEs to the geospatial query page (<a href="https://redirect.github.com/redis/redis-py/issues/3378">#3378</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/c7483b3d63a2001508a2ff2c9952ad50d9252732"><code>c7483b3</code></a> DOC-4196: add TCEs to the full-text query page (<a href="https://redirect.github.com/redis/redis-py/issues/3377">#3377</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/64d4bb8040718f8e5fa30481d0b7409ecb1b0d67"><code>64d4bb8</code></a> DOC-4194: add TCEs to the range query page (<a href="https://redirect.github.com/redis/redis-py/issues/3374">#3374</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/0c8a98624ce48a030ecf9dbadd6ec522bd6bf1ad"><code>0c8a986</code></a> DOC-4194: add TCEs to the exact match query page (<a href="https://redirect.github.com/redis/redis-py/issues/3372">#3372</a>)</li> <li>Additional commits viewable in <a href="https://github.com/redis/redis-py/compare/v5.0.8...v5.1.1">compare view</a></li> </ul> </details> <br /> Updates `boto3-stubs` from 1.35.14 to 1.35.35 <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 `prometheus-client` from 0.20.0 to 0.21.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/prometheus/client_python/releases">prometheus-client's releases</a>.</em></p> <blockquote> <h2>0.21.0 / 2024-09-20</h2> <h2>What's Changed</h2> <p>[CHANGE] Reject invalid (not GET or OPTION) HTTP methods. <a href="https://redirect.github.com/prometheus/client_python/issues/1019">#1019</a> [ENHANCEMENT] Allow writing metrics when holding a lock for the metric in the same thread. <a href="https://redirect.github.com/prometheus/client_python/issues/1014">#1014</a> [BUGFIX] Check for and error on None label values. <a href="https://redirect.github.com/prometheus/client_python/issues/1012">#1012</a> [BUGFIX] Fix timestamp comparison. <a href="https://redirect.github.com/prometheus/client_python/issues/1038">#1038</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/prometheus/client_python/commit/3b183b44994454be226c208037e1fe4b9a89dfc5"><code>3b183b4</code></a> Release 0.21.0</li> <li><a href="https://github.com/prometheus/client_python/commit/0014e9776350a252930671ed170edee464f9b428"><code>0014e97</code></a> Use re-entrant lock. (<a href="https://redirect.github.com/prometheus/client_python/issues/1014">#1014</a>)</li> <li><a href="https://github.com/prometheus/client_python/commit/7c45f84e5e3d2e0a75b3946408fec1a4d5c72841"><code>7c45f84</code></a> Reject invalid HTTP methods and resources (<a href="https://redirect.github.com/prometheus/client_python/issues/1019">#1019</a>)</li> <li><a href="https://github.com/prometheus/client_python/commit/09a5ae30602a7a81f6174dae4ba08b93ee7feed2"><code>09a5ae3</code></a> Fix timestamp comparison (<a href="https://redirect.github.com/prometheus/client_python/issues/1038">#1038</a>)</li> <li><a href="https://github.com/prometheus/client_python/commit/e364a96f506bbb70ae744e0b3307e4b693e28258"><code>e364a96</code></a> Fix a typo in ASGI docs (<a href="https://redirect.github.com/prometheus/client_python/issues/1036">#1036</a>)</li> <li><a href="https://github.com/prometheus/client_python/commit/eeec421b2f489d2c465bb8ca419b772829b7b16c"><code>eeec421</code></a> Pin python 3.8 and 3.9 at patch level (<a href="https://redirect.github.com/prometheus/client_python/issues/1024">#1024</a>)</li> <li><a href="https://github.com/prometheus/client_python/commit/7bc8cddfbbc9b72c98725a879d9b94a675a6c7da"><code>7bc8cdd</code></a> docs: correct link to multiprocessing docs (<a href="https://redirect.github.com/prometheus/client_python/issues/1023">#1023</a>)</li> <li><a href="https://github.com/prometheus/client_python/commit/4535ce0f43097aa48e44a65747d82064f2aadaf5"><code>4535ce0</code></a> Add sanity check for label value (<a href="https://redirect.github.com/prometheus/client_python/issues/1012">#1012</a>)</li> <li>See full diff in <a href="https://github.com/prometheus/client_python/compare/v0.20.0...v0.21.0">compare view</a></li> </ul> </details> <br /> Updates `mkdocs-material` from 9.5.34 to 9.5.39 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/squidfunk/mkdocs-material/releases">mkdocs-material's releases</a>.</em></p> <blockquote> <h2>mkdocs-material-9.5.39</h2> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7226">#7226</a>: not staying on page when using mike's canonical versioning</li> </ul> <p>Thanks go to <a href="https://github.com/ilyagr"><code>@ilyagr</code></a> for their contributions</p> <h2>mkdocs-material-9.5.38</h2> <ul> <li>Added Albanian translations</li> </ul> <p>Thanks go to <a href="https://github.com/gerardkraja"><code>@gerardkraja</code></a> for their contributions</p> <h2>mkdocs-material-9.5.37</h2> <ul> <li>Added 4th and 5th level ordered list styles</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7548">#7548</a>: Tags have no spacing in search</li> </ul> <h2>mkdocs-material-9.5.36</h2> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7544">#7544</a>: Social cards incorrectly rendering HTML entities</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7542">#7542</a>: Improved support for setting custom list styles</li> </ul> <h2>mkdocs-material-9.5.35</h2> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7498">#7498</a>: Search not showing for Vietnamese language</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG">mkdocs-material's changelog</a>.</em></p> <blockquote> <p>mkdocs-material-9.5.39+insiders-4.53.14 (2024-09-29)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7567">#7567</a>: Empty headlines when using typeset plugin with anchorlinks</li> </ul> <p>mkdocs-material-9.5.39 (2024-09-29)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7226">#7226</a>: not staying on page when using mike's canonical versioning</li> </ul> <p>mkdocs-material-9.5.38 (2024-09-26)</p> <ul> <li>Added Albanian translations</li> </ul> <p>mkdocs-material-9.5.37 (2024-09-25)</p> <ul> <li>Added 4th and 5th level ordered list styles</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7548">#7548</a>: Tags have no spacing in search</li> </ul> <p>mkdocs-material-9.5.36 (2024-09-21)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7544">#7544</a>: Social cards incorrectly rendering HTML entities</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7542">#7542</a>: Improved support for setting custom list styles</li> </ul> <p>mkdocs-material-9.5.35 (2024-09-18)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7498">#7498</a>: Search not showing for Vietnamese language</li> </ul> <p>mkdocs-material-9.5.34+insiders-4.53.13 (2024-09-14)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7520">#7520</a>: Social plugin errors for generated files (MkDocs 1.6+)</li> </ul> <p>mkdocs-material-9.5.34 (2024-08-31)</p> <ul> <li>Updated Mermaid.js to version 11 (latest)</li> </ul> <p>mkdocs-material-9.5.33 (2024-08-23)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7453">#7453</a>: Incorrect position of tooltip when sorting table</li> </ul> <p>mkdocs-material-9.5.32 (2024-08-19)</p> <ul> <li>Fixed RXSS vulnerability via deep link in search results</li> <li>Added support for fetching latest release from GitLab</li> </ul> <p>mkdocs-material-9.5.31+insiders-4.53.12 (2024-08-02)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7410">#7410</a>: Instant previews jump on content tabs with anchor links</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7408">#7408</a>: Instant previews jump on content tabs</li> </ul> <p>mkdocs-material-9.5.31 (2024-08-02)</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/70db88f41449f6e801178457944ceb26279dd464"><code>70db88f</code></a> Prepare 9.5.39 release</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/187705e3b855ee86e3cea7e8499b1ce4222cd4aa"><code>187705e</code></a> Updated dependencies</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/56fdb282d027efc083237beec842733ad24ff51d"><code>56fdb28</code></a> Adjusted code copy button documentation</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/aeb9492c08fa12ada87e832d2c03c3984ce59fe0"><code>aeb9492</code></a> Fixed stay no page functionality when using mike's canonical versioning (<a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7559">#7559</a>)</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/50a15becc8b14698d145dce3efdfcbb25edda755"><code>50a15be</code></a> Updated link to step-by-step guide on YouTube</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/117250a46288841f2f359e5c85070a2d85d69b03"><code>117250a</code></a> Prepare 9.5.38 release</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/74ca2341ac7ab59b931926f74111d98fb73c67f3"><code>74ca234</code></a> Added Albanian translations</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/84ddbba7ef2b0d8965129f51f4c6475cb3612f8a"><code>84ddbba</code></a> Prepare 9.5.37 release</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/fd984136badbc6ca708c1a3528fcfb15364ee7f0"><code>fd98413</code></a> Documentation (<a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7557">#7557</a>)</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/573d23d147e899e7980a5d79a1756beb3911071d"><code>573d23d</code></a> Updated dependencies</li> <li>Additional commits viewable in <a href="https://github.com/squidfunk/mkdocs-material/compare/9.5.34...9.5.39">compare view</a></li> </ul> </details> <br /> Updates `pytest` from 8.3.2 to 8.3.3 <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.3.3</h2> <h1>pytest 8.3.3 (2024-09-09)</h1> <h2>Bug fixes</h2> <ul> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/12446">#12446</a>: Avoid calling <code>@property</code> (and other instance descriptors) during fixture discovery -- by <code>asottile</code>{.interpreted-text role="user"}</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/12659">#12659</a>: Fixed the issue of not displaying assertion failure differences when using the parameter <code>--import-mode=importlib</code> in pytest>=8.1.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/12667">#12667</a>: Fixed a regression where type change in [ExceptionInfo.errisinstance]{.title-ref} caused [mypy]{.title-ref} to fail.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/12744">#12744</a>: Fixed typing compatibility with Python 3.9 or less -- replaced [typing.Self]{.title-ref} with [typing_extensions.Self]{.title-ref} -- by <code>Avasam</code>{.interpreted-text role="user"}</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/12745">#12745</a>: Fixed an issue with backslashes being incorrectly converted in nodeid paths on Windows, ensuring consistent path handling across environments.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/6682">#6682</a>: Fixed bug where the verbosity levels where not being respected when printing the "msg" part of failed assertion (as in <code>assert condition, msg</code>).</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/9422">#9422</a>: Fix bug where disabling the terminal plugin via <code>-p no:terminal</code> would cause crashes related to missing the <code>verbose</code> option.</p> <p>-- by <code>GTowers1</code>{.interpreted-text role="user"}</p> </li> </ul> <h2>Improved documentation</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12663">#12663</a>: Clarify that the [pytest_deselected]{.title-ref} hook should be called from [pytest_collection_modifyitems]{.title-ref} hook implementations when items are deselected.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12678">#12678</a>: Remove erroneous quotes from [tmp_path_retention_policy]{.title-ref} example in docs.</li> </ul> <h2>Miscellaneous internal changes</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12769">#12769</a>: Fix typos discovered by codespell and add codespell to pre-commit hooks.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/d0f136fe64f9374f18a04562305b178fb380d1ec"><code>d0f136f</code></a> build(deps): Bump pypa/gh-action-pypi-publish from 1.10.0 to 1.10.1 (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12790">#12790</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/972f307c7861ae498e705d3d12e003fa4b035ac0"><code>972f307</code></a> Prepare release version 8.3.3</li> <li><a href="https://github.com/pytest-dev/pytest/commit/0dabdcfe4de99147a07bd577804b60818ea25bc4"><code>0dabdcf</code></a> Include co-authors in release announcement (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12795">#12795</a>) (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12797">#12797</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/a9910a413a691e1b216e2235a9cbec0921117702"><code>a9910a4</code></a> Do not discover properties when iterating fixtures (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12781">#12781</a>) (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12788">#12788</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/0f10b6b0d8138d3539de75cb7b2e33167b6fc882"><code>0f10b6b</code></a> Fix issue with slashes being turned into backslashes on Windows (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12760">#12760</a>) (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12">#12</a>...</li> <li><a href="https://github.com/pytest-dev/pytest/commit/300d13d2231db85186729c2091ea33480cb39c1a"><code>300d13d</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12785">#12785</a> from pytest-dev/patchback/backports/8.3.x/57cccf7f4...</li> <li><a href="https://github.com/pytest-dev/pytest/commit/e5d32c73abcf4fa1362b15aaf660074de8f710d4"><code>e5d32c7</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12784">#12784</a> from svenevs/fix/docs-example-parametrize-minor-typo</li> <li><a href="https://github.com/pytest-dev/pytest/commit/bc913d194ec009699194b016ca619d5ae7f22c91"><code>bc913d1</code></a> Streamline checks for verbose option (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12706">#12706</a>) (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12778">#12778</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/01cfcc9f2dda817b25511772593012fd93e092d0"><code>01cfcc9</code></a> Fix typos and introduce codespell pre-commit hook (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12769">#12769</a>) (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12774">#12774</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/4873394d53635ef62d1915d23972ed4281a784eb"><code>4873394</code></a> doc: Remove past training (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12772">#12772</a>) (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12773">#12773</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/8.3.2...8.3.3">compare view</a></li> </ul> </details> <br /> Updates `hypothesis` from 6.112.0 to 6.112.4 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/d13235aa2a068cadccefc51852d5a9d3c7a036b3"><code>d13235a</code></a> Bump hypothesis-python version to 6.112.4 and update changelog</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/b186203e4d9a2ad88391108ef5a0527e92abea7a"><code>b186203</code></a> Merge pull request <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4126">#4126</a> from Zac-HD/various-cleanups</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/fa0d5078a9b2fec180100ea6a94e11c404d8c3b2"><code>fa0d507</code></a> Improve patches for np.array</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/18cd7327cb5f1a9fd5c33653337c093dc0d4a10b"><code>18cd732</code></a> deflake alt-backend test</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/30921f4983dd9b176cf93ec762c8574433b115fe"><code>30921f4</code></a> Conditionally skip flakey-on-pypy test</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/16821c4ffe85f6212444528e3a488acf2fa2cf0c"><code>16821c4</code></a> Speed up use_true_random=True</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/bfc994e522d5ebf7b5e67ff801717f9e2869b5e4"><code>bfc994e</code></a> deflake last tests</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/f0385f8a05f74d2c348f4b216db80d4b5688d9a9"><code>f0385f8</code></a> Support <code>git apply -p1</code> by default</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/08378faf2e64e1092400a1e7cfcc2f3599e09d1d"><code>08378fa</code></a> Exclude invalid stateful rules faster</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/09308df9eada06a65544e95ee2f7a094f46f20af"><code>09308df</code></a> Improve type annotations</li> <li>Additional commits viewable in <a href="https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.112.0...hypothesis-python-6.112.4">compare view</a></li> </ul> </details> <br /> Updates `pyright` from 1.1.379 to 1.1.383 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/RobertCraigie/pyright-python/releases">pyright's releases</a>.</em></p> <blockquote> <h2>v1.1.383</h2> <p>No release notes provided.</p> <h2>v1.1.382.post1</h2> <p>No release notes provided.</p> <h2>v1.1.382.post0</h2> <p>This release fixes a regression with <code>nodeenv</code> support in the <code>v1.1.382</code> release</p> <h2>v1.1.382</h2> <p>No release notes provided.</p> <h2>v1.1.381</h2> <p>No release notes provided.</p> <h2>v1.1.380</h2> <p>No release notes provided.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/RobertCraigie/pyright-python/commit/cd5d458e03deea2b1ddacead53cda25930a97d37"><code>cd5d458</code></a> Pyright NPM Package update to 1.1.383 (<a href="https://redirect.github.com/RobertCraigie/pyright-python/issues/312">#312</a>)</li> <li><a href="https://github.com/RobertCraigie/pyright-python/commit/74d008809f97db1400a934b60c691a31f0cb6af3"><code>74d0088</code></a> chore: release v1.1.382.post1 (<a href="https://redirect.github.com/RobertCraigie/pyright-python/issues/310">#310</a>)</li> <li><a href="https://github.com/RobertCraigie/pyright-python/commit/1ce7b237f3288d533e36c4564569e2b4b9cba447"><code>1ce7b23</code></a> fix: avoid warning for .post versions (<a href="https://redirect.github.com/RobertCraigie/pyright-python/issues/309">#309</a>)</li> <li><a href="https://github.com/RobertCraigie/pyright-python/commit/c61cac83b57a8b52280ad2493f6c5d633d8be8ef"><code>c61cac8</code></a> chore: release v1.1.382.post0 (<a href="https://redirect.github.com/RobertCraigie/pyright-python/issues/307">#307</a>)</li> <li><a href="https://github.com/RobertCraigie/pyright-python/commit/f8e738397b237b3caa58d174fb94e2a4c887bd38"><code>f8e7383</code></a> CI: correct setup for nodeenv testing (<a href="https://redirect.github.com/RobertCraigie/pyright-python/issues/306">#306</a>)</li> <li><a href="https://github.com/RobertCraigie/pyright-python/commit/276e381d86df9da5a240f966107f485e594bc64a"><code>276e381</code></a> fix: correct nodeenv environment (<a href="https://redirect.github.com/RobertCraigie/pyright-python/issues/305">#305</a>)</li> <li><a href="https://github.com/RobertCraigie/pyright-python/commit/05e4563350ad8c9b4a0b43a26eaf80953bb0f095"><code>05e4563</code></a> Pyright NPM Package update to 1.1.382 (<a href="https://redirect.github.com/RobertCraigie/pyright-python/issues/303">#303</a>)</li> <li><a href="https://github.com/RobertCraigie/pyright-python/commit/0bf95f92cb33995e4429ba1e6fd5712bef976229"><code>0bf95f9</code></a> refactor(internal): switch to src dir (<a href="https://redirect.github.com/RobertCraigie/pyright-python/issues/301">#301</a>)</li> <li><a href="https://github.com/RobertCraigie/pyright-python/commit/f4beb25cfebde2357e51483d93259ad850c7073e"><code>f4beb25</code></a> feat(cli): mention nodejs extra if nodeenv install fails</li> <li><a href="https://github.com/RobertCraigie/pyright-python/commit/e2d0748d4afe19a3af78b58422dba11a631484a7"><code>e2d0748</code></a> feat: add support for nodejs-wheel</li> <li>Additional commits viewable in <a href="https://github.com/RobertCraigie/pyright-python/compare/v1.1.379...v1.1.383">compare view</a></li> </ul> </details> <br /> Updates `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]) -> 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]) -> 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="https://github.com/psf/black/commit/1b2427a2b785cc4aac97c19bb4b9a0de063f9547"><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="https://github.com/psf/black/commit/a22b1ebbfd61fdc4f59de373abcc02c4db364359"><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="https://github.com/psf/black/commit/b7d0e7212bb8bf9ee9ff6ad4137b33bd9711946e"><code>b7d0e72</code></a> Bump AndreMiras/coveralls-python-action from 65c1672f0b8a201702d86c81b79187df...</li> <li><a href="https://github.com/psf/black/commit/f1a2f92bba7f1b8e4407e89d71a18fd1d6c61a91"><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="https://github.com/psf/black/commit/8d9d18c0338d9fbfc27b38f6f69bb630d90512fa"><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="https://github.com/psf/black/commit/bbfdba3a5e4f0b3105ec9526c51e769866b28f1f"><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="https://github.com/psf/black/commit/8fb2add1f79893be14e3a17345088d8cc3edc7c9"><code>8fb2add</code></a> Use builtin generics (<a href="https://redirect.github.com/psf/black/issues/4458">#4458</a>)</li> <li><a href="https://github.com/psf/black/commit/2a45cecf2951bb778204dcf63a90f146f4cc9c6c"><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="https://github.com/psf/black/commit/b4d6d8632dea33363eaa0eaad9caf94a223e0f43"><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="https://github.com/psf/black/commit/ac018c16cae526eabbd7df5e3c0376ae27a1a0cc"><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 /> Updates `ruff` from 0.6.4 to 0.6.9 <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.9</h2> <h2>Release Notes</h2> <h3>Preview features</h3> <ul> <li>Fix codeblock dynamic line length calculation for indented docstring examples (<a href="https://redirect.github.com/astral-sh/ruff/pull/13523">#13523</a>)</li> <li>[<code>refurb</code>] Mark <code>FURB118</code> fix as unsafe (<a href="https://redirect.github.com/astral-sh/ruff/pull/13613">#13613</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>pydocstyle</code>] Don't raise <code>D208</code> when last line is non-empty (<a href="https://redirect.github.com/astral-sh/ruff/pull/13372">#13372</a>)</li> <li>[<code>pylint</code>] Preserve trivia (i.e. comments) in <code>PLR5501</code> autofix (<a href="https://redirect.github.com/astral-sh/ruff/pull/13573">#13573</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>[<code>pyflakes</code>] Add <code>allow-unused-imports</code> setting for <code>unused-import</code> rule (<code>F401</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13601">#13601</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Support ruff discovery in pip build environments (<a href="https://redirect.github.com/astral-sh/ruff/pull/13591">#13591</a>)</li> <li>[<code>flake8-bugbear</code>] Avoid short circuiting <code>B017</code> for multiple context managers (<a href="https://redirect.github.com/astral-sh/ruff/pull/13609">#13609</a>)</li> <li>[<code>pylint</code>] Do not offer an invalid fix for <code>PLR1716</code> when the comparisons contain parenthesis (<a href="https://redirect.github.com/astral-sh/ruff/pull/13527">#13527</a>)</li> <li>[<code>pyupgrade</code>] Fix <code>UP043</code> to apply to <code>collections.abc.Generator</code> and <code>collections.abc.AsyncGenerator</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13611">#13611</a>)</li> <li>[<code>refurb</code>] Fix handling of slices in tuples for <code>FURB118</code>, e.g., <code>x[:, 1]</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13518">#13518</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Update GitHub Action link to <code>astral-sh/ruff-action</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13551">#13551</a>)</li> </ul> <h2>Install ruff 0.6.9</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.9/ruff-installer.sh | sh </code></pre> <h3>Install prebuilt binaries via powershell script</h3> <pre lang="sh"><code>powershell -ExecutionPolicy ByPass -c "irm https://github.com/astral-sh/ruff/releases/download/0.6.9/ruff-installer.ps1 | iex" </code></pre> <h2>Download ruff 0.6.9</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.9/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.9/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.9/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.9/ruff-x86_64-apple-darwin.tar.gz.sha256">checksum</a></td> </tr> <tr> <td><a href="https://github.com/astral-sh/ruff/releases/download/0.6.9/ruff-aarch64-pc-windows-msvc.zip">ruff-aarch64-pc-windows-msvc.zip</a></td> <td>ARM64 Windows</td> <td><a href="https://github.com/astral-sh/ruff/releases/download/0.6.9/ruff-aarch64-pc-windows-msvc.zip.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.9</h2> <h3>Preview features</h3> <ul> <li>Fix codeblock dynamic line length calculation for indented docstring examples (<a href="https://redirect.github.com/astral-sh/ruff/pull/13523">#13523</a>)</li> <li>[<code>refurb</code>] Mark <code>FURB118</code> fix as unsafe (<a href="https://redirect.github.com/astral-sh/ruff/pull/13613">#13613</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>pydocstyle</code>] Don't raise <code>D208</code> when last line is non-empty (<a href="https://redirect.github.com/astral-sh/ruff/pull/13372">#13372</a>)</li> <li>[<code>pylint</code>] Preserve trivia (i.e. comments) in <code>PLR5501</code> autofix (<a href="https://redirect.github.com/astral-sh/ruff/pull/13573">#13573</a>)</li> </ul> <h3>Configuration</h3> <ul> <li>[<code>pyflakes</code>] Add <code>allow-unused-imports</code> setting for <code>unused-import</code> rule (<code>F401</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13601">#13601</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Support ruff discovery in pip build environments (<a href="https://redirect.github.com/astral-sh/ruff/pull/13591">#13591</a>)</li> <li>[<code>flake8-bugbear</code>] Avoid short circuiting <code>B017</code> for multiple context managers (<a href="https://redirect.github.com/astral-sh/ruff/pull/13609">#13609</a>)</li> <li>[<code>pylint</code>] Do not offer an invalid fix for <code>PLR1716</code> when the comparisons contain parenthesis (<a href="https://redirect.github.com/astral-sh/ruff/pull/13527">#13527</a>)</li> <li>[<code>pyupgrade</code>] Fix <code>UP043</code> to apply to <code>collections.abc.Generator</code> and <code>collections.abc.AsyncGenerator</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13611">#13611</a>)</li> <li>[<code>refurb</code>] Fix handling of slices in tuples for <code>FURB118</code>, e.g., <code>x[:, 1]</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13518">#13518</a>)</li> </ul> <h3>Documentation</h3> <ul> <li>Update GitHub Action link to <code>astral-sh/ruff-action</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13551">#13551</a>)</li> </ul> <h2>0.6.8</h2> <h3>Preview features</h3> <ul> <li>Remove unnecessary parentheses around <code>match case</code> clauses (<a href="https://redirect.github.com/astral-sh/ruff/pull/13510">#13510</a>)</li> <li>Parenthesize overlong <code>if</code> guards in <code>match..case</code> clauses (<a href="https://redirect.github.com/astral-sh/ruff/pull/13513">#13513</a>)</li> <li>Detect basic wildcard imports in <code>ruff analyze graph</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13486">#13486</a>)</li> <li>[<code>pylint</code>] Implement <code>boolean-chained-comparison</code> (<code>R1716</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13435">#13435</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>lake8-simplify</code>] Detect <code>SIM910</code> when using variadic keyword arguments, i.e., <code>**kwargs</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13503">#13503</a>)</li> <li>[<code>pyupgrade</code>] Avoid false negatives with non-reference shadowed bindings of loop variables (<code>UP028</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13504">#13504</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Detect tuples bound to variadic positional arguments i.e. <code>*args</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13512">#13512</a>)</li> <li>Exit gracefully on broken pipe errors (<a href="https://redirect.github.com/astral-sh/ruff/pull/13485">#13485</a>)</li> <li>Avoid panic when analyze graph hits broken pipe (<a href="https://redirect.github.com/astral-sh/ruff/pull/13484">#13484</a>)</li> </ul> <h3>Performance</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/975be9c1c6cc8f8f4e52bdad8123d151192c7123"><code>975be9c</code></a> Bump version to 0.6.9 (<a href="https://redirect.github.com/astral-sh/ruff/issues/13624">#13624</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/99e4566fce9faf1c66ca3dafd6216be3976dc913"><code>99e4566</code></a> Mark <code>FURB118</code> fix as unsafe (<a href="https://redirect.github.com/astral-sh/ruff/issues/13613">#13613</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/7ad07c2c5d9208ad55b55eb0e6124c2d8a07c065"><code>7ad07c2</code></a> Add <code>allow-unused-imports</code> setting for <code>unused-import</code> rule (<code>F401</code>) (<a href="https://redirect.github.com/astral-sh/ruff/issues/13601">#13601</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/4aefe523938f7176be0bcaa03b6f126c8ae783fb"><code>4aefe52</code></a> Support ruff discovery in pip build environments (<a href="https://redirect.github.com/astral-sh/ruff/issues/13591">#13591</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/cc1f766622bd27c24e47362503f44f8545710c6f"><code>cc1f766</code></a> Preserve trivia (i.e. comments) in PLR5501 (<a href="https://redirect.github.com/astral-sh/ruff/issues/13573">#13573</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/fdd0a22c03ddecea7e8b870b6d7a007210ee3d27"><code>fdd0a22</code></a> Move to maintained mirror of prettier (<a href="https://redirect.github.com/astral-sh/ruff/issues/13592">#13592</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/3728d5b3a2ba1d97a1e6cbbe719b5960ca8ca53c"><code>3728d5b</code></a> [<code>pyupgrade</code>] Fix UP043 to apply to <code>collections.abc.Generator</code> and `collecti...</li> <li><a href="https://github.com/astral-sh/ruff/commit/7e3894f5b3573d77b0000bbddf0293fbbb5dc986"><code>7e3894f</code></a> Avoid short circuiting <code>B017</code> for multiple context managers (<a href="https://redirect.github.com/astral-sh/ruff/issues/13609">#13609</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/c3b40da0d2dd3f6481d663c9a325a8231cae2128"><code>c3b40da</code></a> Use backticks for code in red-knot messages (<a href="https://redirect.github.com/astral-sh/ruff/issues/13599">#13599</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/ef45185dbc9666aee8877a54e3fe3539bb9a7051"><code>ef45185</code></a> Allow users to provide custom diagnostic messages when unwrapping calls (<a href="https://redirect.github.com/astral-sh/ruff/issues/13597">#13597</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.6.4...0.6.9">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