Commit e91291d
authored
chore(deps): Update black requirement from ~=25.1 to ~=25.9 in /packages/@jsii/python-runtime (#4934)
Updates the requirements on [black](https://github.com/psf/black) to permit the latest version.
<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>
</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>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/psf/black/commit/af0ba72a73598c76189d6dd1b21d8532255d5942"><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="https://github.com/psf/black/commit/ffc01a027580d99401abb3197e83d50dc4f4c746"><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="https://github.com/psf/black/commit/626b32fe2b5387656be6694da9a4b7a3148fb892"><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="https://github.com/psf/black/commit/57a461258f324e33bca189b2eb49d7f7a944ffe7"><code>57a4612</code></a> Fix mypy type issue (<a href="https://redirect.github.com/psf/black/issues/4745">#4745</a>)</li>
<li><a href="https://github.com/psf/black/commit/4f6ad7cf8c3092e0fb4d82f54fe77ccde134468a"><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="https://github.com/psf/black/commit/24f516961720c5578069dee30415b776359b7be5"><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="https://github.com/psf/black/commit/4d55e6017993ee3f0927524e8bc19ead8de9e8ed"><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="https://github.com/psf/black/commit/0cf39efdbc3aaea455f95d31e5b42efb6bd61478"><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="https://github.com/psf/black/commit/1f779dec013db37475fa56a5c9939a09eab7e7d6"><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="https://github.com/psf/black/commit/203fd6b5cdad975178b8174394a7f7fb13d14f02"><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 />
<details>
<summary>Most Recent Ignore Conditions Applied to This Pull Request</summary>
| Dependency Name | Ignore Conditions |
| --- | --- |
| black | [>= 24.10.a, < 24.11] |
</details>
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>1 parent d375c67 commit e91291d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments