chore(python-deps): bump black from 25.1.0 to 25.9.0 (#3783)

Bumps [black](https://github.com/psf/black) from 25.1.0 to 25.9.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>25.9.0</h2>
<h3>Highlights</h3>
<ul>
<li>Remove support for pre-python 3.7 <code>await/async</code> as soft
keywords/variable names
(<a
href="https://redirect.github.com/psf/black/issues/4676">#4676</a>)</li>
</ul>
<h3>Stable style</h3>
<ul>
<li>Fix crash while formatting a long <code>del</code> statement
containing tuples (<a
href="https://redirect.github.com/psf/black/issues/4628">#4628</a>)</li>
<li>Fix crash while formatting expressions using the walrus operator in
complex <code>with</code>
statements (<a
href="https://redirect.github.com/psf/black/issues/4630">#4630</a>)</li>
<li>Handle <code># fmt: skip</code> followed by a comment at the end of
file (<a
href="https://redirect.github.com/psf/black/issues/4635">#4635</a>)</li>
<li>Fix crash when a tuple appears in the <code>as</code> clause of a
<code>with</code> statement (<a
href="https://redirect.github.com/psf/black/issues/4634">#4634</a>)</li>
<li>Fix crash when tuple is used as a context manager inside a
<code>with</code> statement (<a
href="https://redirect.github.com/psf/black/issues/4646">#4646</a>)</li>
<li>Fix crash when formatting a <code>\</code> followed by a
<code>\r</code> followed by a comment (<a
href="https://redirect.github.com/psf/black/issues/4663">#4663</a>)</li>
<li>Fix crash on a <code>\\r\n</code> (<a
href="https://redirect.github.com/psf/black/issues/4673">#4673</a>)</li>
<li>Fix crash on <code>await ...</code> (where <code>...</code> is a
literal <code>Ellipsis</code>) (<a
href="https://redirect.github.com/psf/black/issues/4676">#4676</a>)</li>
<li>Fix crash on parenthesized expression inside a type parameter bound
(<a
href="https://redirect.github.com/psf/black/issues/4684">#4684</a>)</li>
<li>Fix crash when using line ranges excluding indented single line
decorated items
(<a
href="https://redirect.github.com/psf/black/issues/4670">#4670</a>)</li>
</ul>
<h3>Preview style</h3>
<ul>
<li>Fix a bug where one-liner functions/conditionals marked with <code>#
fmt: skip</code> would still
be formatted (<a
href="https://redirect.github.com/psf/black/issues/4552">#4552</a>)</li>
<li>Improve <code>multiline_string_handling</code> with ternaries and
dictionaries (<a
href="https://redirect.github.com/psf/black/issues/4657">#4657</a>)</li>
<li>Fix a bug where <code>string_processing</code> would not split
f-strings directly after
expressions (<a
href="https://redirect.github.com/psf/black/issues/4680">#4680</a>)</li>
<li>Wrap the <code>in</code> clause of comprehensions across lines if
necessary (<a
href="https://redirect.github.com/psf/black/issues/4699">#4699</a>)</li>
<li>Remove parentheses around multiple exception types in
<code>except</code> and <code>except*</code> without
<code>as</code>. (<a
href="https://redirect.github.com/psf/black/issues/4720">#4720</a>)</li>
<li>Add <code>\r</code> style newlines to the potential newlines to
normalize file newlines both from
and to (<a
href="https://redirect.github.com/psf/black/issues/4710">#4710</a>)</li>
</ul>
<h3>Parser</h3>
<ul>
<li>Rewrite tokenizer to improve performance and compliance (<a
href="https://redirect.github.com/psf/black/issues/4536">#4536</a>)</li>
<li>Fix bug where certain unusual expressions (e.g., lambdas) were not
accepted in type
parameter bounds and defaults. (<a
href="https://redirect.github.com/psf/black/issues/4602">#4602</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Avoid using an extra process when running with only one worker (<a
href="https://redirect.github.com/psf/black/issues/4734">#4734</a>)</li>
</ul>
<h3>Integrations</h3>
<ul>
<li>Fix the version check in the vim file to reject Python 3.8 (<a
href="https://redirect.github.com/psf/black/issues/4567">#4567</a>)</li>
<li>Enhance GitHub Action <code>psf/black</code> to read Black version
from an additional section in
pyproject.toml: <code>[project.dependency-groups]</code> (<a
href="https://redirect.github.com/psf/black/issues/4606">#4606</a>)</li>
<li>Build gallery docker image with python3-slim and reduce image size
(<a
href="https://redirect.github.com/psf/black/issues/4686">#4686</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/psf/black/blob/main/CHANGES.md">black's
changelog</a>.</em></p>
<blockquote>
<h2>25.9.0</h2>
<h3>Highlights</h3>
<ul>
<li>Remove support for pre-python 3.7 <code>await/async</code> as soft
keywords/variable names
(<a
href="https://redirect.github.com/psf/black/issues/4676">#4676</a>)</li>
</ul>
<h3>Stable style</h3>
<ul>
<li>Fix crash while formatting a long <code>del</code> statement
containing tuples (<a
href="https://redirect.github.com/psf/black/issues/4628">#4628</a>)</li>
<li>Fix crash while formatting expressions using the walrus operator in
complex <code>with</code>
statements (<a
href="https://redirect.github.com/psf/black/issues/4630">#4630</a>)</li>
<li>Handle <code># fmt: skip</code> followed by a comment at the end of
file (<a
href="https://redirect.github.com/psf/black/issues/4635">#4635</a>)</li>
<li>Fix crash when a tuple appears in the <code>as</code> clause of a
<code>with</code> statement (<a
href="https://redirect.github.com/psf/black/issues/4634">#4634</a>)</li>
<li>Fix crash when tuple is used as a context manager inside a
<code>with</code> statement (<a
href="https://redirect.github.com/psf/black/issues/4646">#4646</a>)</li>
<li>Fix crash when formatting a <code>\</code> followed by a
<code>\r</code> followed by a comment (<a
href="https://redirect.github.com/psf/black/issues/4663">#4663</a>)</li>
<li>Fix crash on a <code>\\r\n</code> (<a
href="https://redirect.github.com/psf/black/issues/4673">#4673</a>)</li>
<li>Fix crash on <code>await ...</code> (where <code>...</code> is a
literal <code>Ellipsis</code>) (<a
href="https://redirect.github.com/psf/black/issues/4676">#4676</a>)</li>
<li>Fix crash on parenthesized expression inside a type parameter bound
(<a
href="https://redirect.github.com/psf/black/issues/4684">#4684</a>)</li>
<li>Fix crash when using line ranges excluding indented single line
decorated items
(<a
href="https://redirect.github.com/psf/black/issues/4670">#4670</a>)</li>
</ul>
<h3>Preview style</h3>
<ul>
<li>Fix a bug where one-liner functions/conditionals marked with <code>#
fmt: skip</code> would still
be formatted (<a
href="https://redirect.github.com/psf/black/issues/4552">#4552</a>)</li>
<li>Improve <code>multiline_string_handling</code> with ternaries and
dictionaries (<a
href="https://redirect.github.com/psf/black/issues/4657">#4657</a>)</li>
<li>Fix a bug where <code>string_processing</code> would not split
f-strings directly after
expressions (<a
href="https://redirect.github.com/psf/black/issues/4680">#4680</a>)</li>
<li>Wrap the <code>in</code> clause of comprehensions across lines if
necessary (<a
href="https://redirect.github.com/psf/black/issues/4699">#4699</a>)</li>
<li>Remove parentheses around multiple exception types in
<code>except</code> and <code>except*</code> without
<code>as</code>. (<a
href="https://redirect.github.com/psf/black/issues/4720">#4720</a>)</li>
<li>Add <code>\r</code> style newlines to the potential newlines to
normalize file newlines both from
and to (<a
href="https://redirect.github.com/psf/black/issues/4710">#4710</a>)</li>
</ul>
<h3>Parser</h3>
<ul>
<li>Rewrite tokenizer to improve performance and compliance (<a
href="https://redirect.github.com/psf/black/issues/4536">#4536</a>)</li>
<li>Fix bug where certain unusual expressions (e.g., lambdas) were not
accepted in type
parameter bounds and defaults. (<a
href="https://redirect.github.com/psf/black/issues/4602">#4602</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Avoid using an extra process when running with only one worker (<a
href="https://redirect.github.com/psf/black/issues/4734">#4734</a>)</li>
</ul>
<h3>Integrations</h3>
<ul>
<li>Fix the version check in the vim file to reject Python 3.8 (<a
href="https://redirect.github.com/psf/black/issues/4567">#4567</a>)</li>
<li>Enhance GitHub Action <code>psf/black</code> to read Black version
from an additional section in
pyproject.toml: <code>[project.dependency-groups]</code> (<a
href="https://redirect.github.com/psf/black/issues/4606">#4606</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="af0ba72a73"><code>af0ba72</code></a>
Prepare docs for release 25.9.0 (<a
href="https://redirect.github.com/psf/black/issues/4751">#4751</a>)</li>
<li><a
href="ffc01a0275"><code>ffc01a0</code></a>
Fix schema generation error caused by new click version (<a
href="https://redirect.github.com/psf/black/issues/4750">#4750</a>)</li>
<li><a
href="626b32fe2b"><code>626b32f</code></a>
Add normalizing for <code>\r</code> style newlines (<a
href="https://redirect.github.com/psf/black/issues/4710">#4710</a>)</li>
<li><a
href="57a461258f"><code>57a4612</code></a>
Fix mypy type issue (<a
href="https://redirect.github.com/psf/black/issues/4745">#4745</a>)</li>
<li><a
href="4f6ad7cf8c"><code>4f6ad7c</code></a>
Wrap the <code>in</code> clause of comprehensions across lines if
necessary (<a
href="https://redirect.github.com/psf/black/issues/4699">#4699</a>)</li>
<li><a
href="24f5169617"><code>24f5169</code></a>
ci: Run diff-shades on unstable instead of preview (<a
href="https://redirect.github.com/psf/black/issues/4741">#4741</a>)</li>
<li><a
href="4d55e60179"><code>4d55e60</code></a>
Bump actions/setup-python from 5 to 6 (<a
href="https://redirect.github.com/psf/black/issues/4744">#4744</a>)</li>
<li><a
href="0cf39efdbc"><code>0cf39ef</code></a>
Improve the performance of get_string_prefix (<a
href="https://redirect.github.com/psf/black/issues/4742">#4742</a>)</li>
<li><a
href="1f779dec01"><code>1f779de</code></a>
Fix line ranges decorator edge case (<a
href="https://redirect.github.com/psf/black/issues/4670">#4670</a>)</li>
<li><a
href="203fd6b5cd"><code>203fd6b</code></a>
Optimize Line string method (<a
href="https://redirect.github.com/psf/black/issues/4739">#4739</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/psf/black/compare/25.1.0...25.9.0">compare
view</a></li>
</ul>
</details>
<br />


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

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

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

---

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

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


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2025-10-11 16:48:53 -07:00 committed by GitHub
parent 055a7664f0
commit cfd2e303db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

32
uv.lock generated
View file

@ -317,7 +317,7 @@ wheels = [
[[package]] [[package]]
name = "black" name = "black"
version = "25.1.0" version = "25.9.0"
source = { registry = "https://pypi.org/simple" } source = { registry = "https://pypi.org/simple" }
dependencies = [ dependencies = [
{ name = "click" }, { name = "click" },
@ -325,18 +325,19 @@ dependencies = [
{ name = "packaging" }, { name = "packaging" },
{ name = "pathspec" }, { name = "pathspec" },
{ name = "platformdirs" }, { name = "platformdirs" },
{ name = "pytokens" },
] ]
sdist = { url = "https://files.pythonhosted.org/packages/94/49/26a7b0f3f35da4b5a65f081943b7bcd22d7002f5f0fb8098ec1ff21cb6ef/black-25.1.0.tar.gz", hash = "sha256:33496d5cd1222ad73391352b4ae8da15253c5de89b93a80b3e2c8d9a19ec2666", size = 649449, upload-time = "2025-01-29T04:15:40.373Z" } sdist = { url = "https://files.pythonhosted.org/packages/4b/43/20b5c90612d7bdb2bdbcceeb53d588acca3bb8f0e4c5d5c751a2c8fdd55a/black-25.9.0.tar.gz", hash = "sha256:0474bca9a0dd1b51791fcc507a4e02078a1c63f6d4e4ae5544b9848c7adfb619", size = 648393, upload-time = "2025-09-19T00:27:37.758Z" }
wheels = [ wheels = [
{ url = "https://files.pythonhosted.org/packages/83/71/3fe4741df7adf015ad8dfa082dd36c94ca86bb21f25608eb247b4afb15b2/black-25.1.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:4b60580e829091e6f9238c848ea6750efed72140b91b048770b64e74fe04908b", size = 1650988, upload-time = "2025-01-29T05:37:16.707Z" }, { url = "https://files.pythonhosted.org/packages/fb/8e/319cfe6c82f7e2d5bfb4d3353c6cc85b523d677ff59edc61fdb9ee275234/black-25.9.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:1b9dc70c21ef8b43248f1d86aedd2aaf75ae110b958a7909ad8463c4aa0880b0", size = 1742012, upload-time = "2025-09-19T00:33:08.678Z" },
{ url = "https://files.pythonhosted.org/packages/13/f3/89aac8a83d73937ccd39bbe8fc6ac8860c11cfa0af5b1c96d081facac844/black-25.1.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:1e2978f6df243b155ef5fa7e558a43037c3079093ed5d10fd84c43900f2d8ecc", size = 1453985, upload-time = "2025-01-29T05:37:18.273Z" }, { url = "https://files.pythonhosted.org/packages/94/cc/f562fe5d0a40cd2a4e6ae3f685e4c36e365b1f7e494af99c26ff7f28117f/black-25.9.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8e46eecf65a095fa62e53245ae2795c90bdecabd53b50c448d0a8bcd0d2e74c4", size = 1581421, upload-time = "2025-09-19T00:35:25.937Z" },
{ url = "https://files.pythonhosted.org/packages/6f/22/b99efca33f1f3a1d2552c714b1e1b5ae92efac6c43e790ad539a163d1754/black-25.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3b48735872ec535027d979e8dcb20bf4f70b5ac75a8ea99f127c106a7d7aba9f", size = 1783816, upload-time = "2025-01-29T04:18:33.823Z" }, { url = "https://files.pythonhosted.org/packages/84/67/6db6dff1ebc8965fd7661498aea0da5d7301074b85bba8606a28f47ede4d/black-25.9.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9101ee58ddc2442199a25cb648d46ba22cd580b00ca4b44234a324e3ec7a0f7e", size = 1655619, upload-time = "2025-09-19T00:30:49.241Z" },
{ url = "https://files.pythonhosted.org/packages/18/7e/a27c3ad3822b6f2e0e00d63d58ff6299a99a5b3aee69fa77cd4b0076b261/black-25.1.0-cp312-cp312-win_amd64.whl", hash = "sha256:ea0213189960bda9cf99be5b8c8ce66bb054af5e9e861249cd23471bd7b0b3ba", size = 1440860, upload-time = "2025-01-29T04:19:12.944Z" }, { url = "https://files.pythonhosted.org/packages/10/10/3faef9aa2a730306cf469d76f7f155a8cc1f66e74781298df0ba31f8b4c8/black-25.9.0-cp312-cp312-win_amd64.whl", hash = "sha256:77e7060a00c5ec4b3367c55f39cf9b06e68965a4f2e61cecacd6d0d9b7ec945a", size = 1342481, upload-time = "2025-09-19T00:31:29.625Z" },
{ url = "https://files.pythonhosted.org/packages/98/87/0edf98916640efa5d0696e1abb0a8357b52e69e82322628f25bf14d263d1/black-25.1.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8f0b18a02996a836cc9c9c78e5babec10930862827b1b724ddfe98ccf2f2fe4f", size = 1650673, upload-time = "2025-01-29T05:37:20.574Z" }, { url = "https://files.pythonhosted.org/packages/48/99/3acfea65f5e79f45472c45f87ec13037b506522719cd9d4ac86484ff51ac/black-25.9.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:0172a012f725b792c358d57fe7b6b6e8e67375dd157f64fa7a3097b3ed3e2175", size = 1742165, upload-time = "2025-09-19T00:34:10.402Z" },
{ url = "https://files.pythonhosted.org/packages/52/e5/f7bf17207cf87fa6e9b676576749c6b6ed0d70f179a3d812c997870291c3/black-25.1.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:afebb7098bfbc70037a053b91ae8437c3857482d3a690fefc03e9ff7aa9a5fd3", size = 1453190, upload-time = "2025-01-29T05:37:22.106Z" }, { url = "https://files.pythonhosted.org/packages/3a/18/799285282c8236a79f25d590f0222dbd6850e14b060dfaa3e720241fd772/black-25.9.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:3bec74ee60f8dfef564b573a96b8930f7b6a538e846123d5ad77ba14a8d7a64f", size = 1581259, upload-time = "2025-09-19T00:32:49.685Z" },
{ url = "https://files.pythonhosted.org/packages/e3/ee/adda3d46d4a9120772fae6de454c8495603c37c4c3b9c60f25b1ab6401fe/black-25.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:030b9759066a4ee5e5aca28c3c77f9c64789cdd4de8ac1df642c40b708be6171", size = 1782926, upload-time = "2025-01-29T04:18:58.564Z" }, { url = "https://files.pythonhosted.org/packages/f1/ce/883ec4b6303acdeca93ee06b7622f1fa383c6b3765294824165d49b1a86b/black-25.9.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b756fc75871cb1bcac5499552d771822fd9db5a2bb8db2a7247936ca48f39831", size = 1655583, upload-time = "2025-09-19T00:30:44.505Z" },
{ url = "https://files.pythonhosted.org/packages/cc/64/94eb5f45dcb997d2082f097a3944cfc7fe87e071907f677e80788a2d7b7a/black-25.1.0-cp313-cp313-win_amd64.whl", hash = "sha256:a22f402b410566e2d1c950708c77ebf5ebd5d0d88a6a2e87c86d9fb48afa0d18", size = 1442613, upload-time = "2025-01-29T04:19:27.63Z" }, { url = "https://files.pythonhosted.org/packages/21/17/5c253aa80a0639ccc427a5c7144534b661505ae2b5a10b77ebe13fa25334/black-25.9.0-cp313-cp313-win_amd64.whl", hash = "sha256:846d58e3ce7879ec1ffe816bb9df6d006cd9590515ed5d17db14e17666b2b357", size = 1343428, upload-time = "2025-09-19T00:32:13.839Z" },
{ url = "https://files.pythonhosted.org/packages/09/71/54e999902aed72baf26bca0d50781b01838251a462612966e9fc4891eadd/black-25.1.0-py3-none-any.whl", hash = "sha256:95e8176dae143ba9097f351d174fdaf0ccd29efb414b362ae3fd72bf0f710717", size = 207646, upload-time = "2025-01-29T04:15:38.082Z" }, { url = "https://files.pythonhosted.org/packages/1b/46/863c90dcd3f9d41b109b7f19032ae0db021f0b2a81482ba0a1e28c84de86/black-25.9.0-py3-none-any.whl", hash = "sha256:474b34c1342cdc157d307b56c4c65bce916480c4a8f6551fdc6bf9b486a7c4ae", size = 203363, upload-time = "2025-09-19T00:27:35.724Z" },
] ]
[[package]] [[package]]
@ -3793,6 +3794,15 @@ client = [
{ name = "websocket-client" }, { name = "websocket-client" },
] ]
[[package]]
name = "pytokens"
version = "0.1.10"
source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/30/5f/e959a442435e24f6fb5a01aec6c657079ceaca1b3baf18561c3728d681da/pytokens-0.1.10.tar.gz", hash = "sha256:c9a4bfa0be1d26aebce03e6884ba454e842f186a59ea43a6d3b25af58223c044", size = 12171, upload-time = "2025-02-19T14:51:22.001Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/60/e5/63bed382f6a7a5ba70e7e132b8b7b8abbcf4888ffa6be4877698dcfbed7d/pytokens-0.1.10-py3-none-any.whl", hash = "sha256:db7b72284e480e69fb085d9f251f66b3d2df8b7166059261258ff35f50fb711b", size = 12046, upload-time = "2025-02-19T14:51:18.694Z" },
]
[[package]] [[package]]
name = "pytz" name = "pytz"
version = "2025.2" version = "2025.2"