Generic function definitions are now formatted more elegantly: parameters are
split over multiple lines first instead of type parameter definitions (#4553)
Stable style
Fix formatting cells in IPython notebooks with magic methods and starting or trailing
empty lines (#4484)
Fix crash when formatting with statements containing tuple generators/unpacking
(#4538)
Preview style
Fix/remove string merging changing f-string quotes on f-strings with internal quotes
(#4498)
Collapse multiple empty lines after an import into one (#4489)
Prevent string_processing and wrap_long_dict_values_in_parens from removing
parentheses around long dictionary values (#4377)
Move wrap_long_dict_values_in_parens from the unstable to preview style (#4561)
Packaging
Store license identifier inside the License-Expression metadata field, see
PEP 639. (#4479)
Performance
Speed up the is_fstring_start function in Black's tokenizer (#4541)
Integrations
If using stdin with --stdin-filename set to a force excluded path, stdin won't be
Generic function definitions are now formatted more elegantly: parameters are
split over multiple lines first instead of type parameter definitions (#4553)
Stable style
Fix formatting cells in IPython notebooks with magic methods and starting or trailing
empty lines (#4484)
Fix crash when formatting with statements containing tuple generators/unpacking
(#4538)
Preview style
Fix/remove string merging changing f-string quotes on f-strings with internal quotes
(#4498)
Collapse multiple empty lines after an import into one (#4489)
Prevent string_processing and wrap_long_dict_values_in_parens from removing
parentheses around long dictionary values (#4377)
Move wrap_long_dict_values_in_parens from the unstable to preview style (#4561)
Packaging
Store license identifier inside the License-Expression metadata field, see
PEP 639. (#4479)
Performance
Speed up the is_fstring_start function in Black's tokenizer (#4541)
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 commands and options
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)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/11013
**Author:** [@dependabot[bot]](https://github.com/apps/dependabot)
**Created:** 3/1/2025
**Status:** ✅ Merged
**Merged:** 3/1/2025
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `dependabot/pip/backend/dev/black-25.1.0`
---
### 📝 Commits (1)
- [`dd73ecb`](https://github.com/open-webui/open-webui/commit/dd73ecbdc96f25aa7cf66507090a6813afee771f) chore(deps): bump black from 24.8.0 to 25.1.0 in /backend
### 📊 Changes
**1 file changed** (+1 additions, -1 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/requirements.txt` (+1 -1)
</details>
### 📄 Description
Bumps [black](https://github.com/psf/black) from 24.8.0 to 25.1.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.1.0</h2>
<h3>Highlights</h3>
<p>This release introduces the new 2025 stable style (<a href="https://redirect.github.com/psf/black/issues/4558">#4558</a>), stabilizing
the following changes:</p>
<ul>
<li>Normalize casing of Unicode escape characters in strings to lowercase (<a href="https://redirect.github.com/psf/black/issues/2916">#2916</a>)</li>
<li>Fix inconsistencies in whether certain strings are detected as docstrings (<a href="https://redirect.github.com/psf/black/issues/4095">#4095</a>)</li>
<li>Consistently add trailing commas to typed function parameters (<a href="https://redirect.github.com/psf/black/issues/4164">#4164</a>)</li>
<li>Remove redundant parentheses in if guards for case blocks (<a href="https://redirect.github.com/psf/black/issues/4214">#4214</a>)</li>
<li>Add parentheses to if clauses in case blocks when the line is too long (<a href="https://redirect.github.com/psf/black/issues/4269">#4269</a>)</li>
<li>Whitespace before <code># fmt: skip</code> comments is no longer normalized (<a href="https://redirect.github.com/psf/black/issues/4146">#4146</a>)</li>
<li>Fix line length computation for certain expressions that involve the power operator (<a href="https://redirect.github.com/psf/black/issues/4154">#4154</a>)</li>
<li>Check if there is a newline before the terminating quotes of a docstring (<a href="https://redirect.github.com/psf/black/issues/4185">#4185</a>)</li>
<li>Fix type annotation spacing between <code>*</code> and more complex type variable tuple (<a href="https://redirect.github.com/psf/black/issues/4440">#4440</a>)</li>
</ul>
<p>The following changes were not in any previous release:</p>
<ul>
<li>Remove parentheses around sole list items (<a href="https://redirect.github.com/psf/black/issues/4312">#4312</a>)</li>
<li>Generic function definitions are now formatted more elegantly: parameters are
split over multiple lines first instead of type parameter definitions (<a href="https://redirect.github.com/psf/black/issues/4553">#4553</a>)</li>
</ul>
<h3>Stable style</h3>
<ul>
<li>Fix formatting cells in IPython notebooks with magic methods and starting or trailing
empty lines (<a href="https://redirect.github.com/psf/black/issues/4484">#4484</a>)</li>
<li>Fix crash when formatting <code>with</code> statements containing tuple generators/unpacking
(<a href="https://redirect.github.com/psf/black/issues/4538">#4538</a>)</li>
</ul>
<h3>Preview style</h3>
<ul>
<li>Fix/remove string merging changing f-string quotes on f-strings with internal quotes
(<a href="https://redirect.github.com/psf/black/issues/4498">#4498</a>)</li>
<li>Collapse multiple empty lines after an import into one (<a href="https://redirect.github.com/psf/black/issues/4489">#4489</a>)</li>
<li>Prevent <code>string_processing</code> and <code>wrap_long_dict_values_in_parens</code> from removing
parentheses around long dictionary values (<a href="https://redirect.github.com/psf/black/issues/4377">#4377</a>)</li>
<li>Move <code>wrap_long_dict_values_in_parens</code> from the unstable to preview style (<a href="https://redirect.github.com/psf/black/issues/4561">#4561</a>)</li>
</ul>
<h3>Packaging</h3>
<ul>
<li>Store license identifier inside the <code>License-Expression</code> metadata field, see
<a href="https://peps.python.org/pep-0639/">PEP 639</a>. (<a href="https://redirect.github.com/psf/black/issues/4479">#4479</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Speed up the <code>is_fstring_start</code> function in Black's tokenizer (<a href="https://redirect.github.com/psf/black/issues/4541">#4541</a>)</li>
</ul>
<h3>Integrations</h3>
<ul>
<li>If using stdin with <code>--stdin-filename</code> set to a force excluded path, stdin won't be</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.1.0</h2>
<h3>Highlights</h3>
<p>This release introduces the new 2025 stable style (<a href="https://redirect.github.com/psf/black/issues/4558">#4558</a>), stabilizing
the following changes:</p>
<ul>
<li>Normalize casing of Unicode escape characters in strings to lowercase (<a href="https://redirect.github.com/psf/black/issues/2916">#2916</a>)</li>
<li>Fix inconsistencies in whether certain strings are detected as docstrings (<a href="https://redirect.github.com/psf/black/issues/4095">#4095</a>)</li>
<li>Consistently add trailing commas to typed function parameters (<a href="https://redirect.github.com/psf/black/issues/4164">#4164</a>)</li>
<li>Remove redundant parentheses in if guards for case blocks (<a href="https://redirect.github.com/psf/black/issues/4214">#4214</a>)</li>
<li>Add parentheses to if clauses in case blocks when the line is too long (<a href="https://redirect.github.com/psf/black/issues/4269">#4269</a>)</li>
<li>Whitespace before <code># fmt: skip</code> comments is no longer normalized (<a href="https://redirect.github.com/psf/black/issues/4146">#4146</a>)</li>
<li>Fix line length computation for certain expressions that involve the power operator (<a href="https://redirect.github.com/psf/black/issues/4154">#4154</a>)</li>
<li>Check if there is a newline before the terminating quotes of a docstring (<a href="https://redirect.github.com/psf/black/issues/4185">#4185</a>)</li>
<li>Fix type annotation spacing between <code>*</code> and more complex type variable tuple (<a href="https://redirect.github.com/psf/black/issues/4440">#4440</a>)</li>
</ul>
<p>The following changes were not in any previous release:</p>
<ul>
<li>Remove parentheses around sole list items (<a href="https://redirect.github.com/psf/black/issues/4312">#4312</a>)</li>
<li>Generic function definitions are now formatted more elegantly: parameters are
split over multiple lines first instead of type parameter definitions (<a href="https://redirect.github.com/psf/black/issues/4553">#4553</a>)</li>
</ul>
<h3>Stable style</h3>
<ul>
<li>Fix formatting cells in IPython notebooks with magic methods and starting or trailing
empty lines (<a href="https://redirect.github.com/psf/black/issues/4484">#4484</a>)</li>
<li>Fix crash when formatting <code>with</code> statements containing tuple generators/unpacking
(<a href="https://redirect.github.com/psf/black/issues/4538">#4538</a>)</li>
</ul>
<h3>Preview style</h3>
<ul>
<li>Fix/remove string merging changing f-string quotes on f-strings with internal quotes
(<a href="https://redirect.github.com/psf/black/issues/4498">#4498</a>)</li>
<li>Collapse multiple empty lines after an import into one (<a href="https://redirect.github.com/psf/black/issues/4489">#4489</a>)</li>
<li>Prevent <code>string_processing</code> and <code>wrap_long_dict_values_in_parens</code> from removing
parentheses around long dictionary values (<a href="https://redirect.github.com/psf/black/issues/4377">#4377</a>)</li>
<li>Move <code>wrap_long_dict_values_in_parens</code> from the unstable to preview style (<a href="https://redirect.github.com/psf/black/issues/4561">#4561</a>)</li>
</ul>
<h3>Packaging</h3>
<ul>
<li>Store license identifier inside the <code>License-Expression</code> metadata field, see
<a href="https://peps.python.org/pep-0639/">PEP 639</a>. (<a href="https://redirect.github.com/psf/black/issues/4479">#4479</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Speed up the <code>is_fstring_start</code> function in Black's tokenizer (<a href="https://redirect.github.com/psf/black/issues/4541">#4541</a>)</li>
</ul>
<h3>Integrations</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/psf/black/commit/8a737e727ac5ab2f1d4cf5876720ed276dc8dc4b"><code>8a737e7</code></a> Prepare release 25.1.0 (<a href="https://redirect.github.com/psf/black/issues/4563">#4563</a>)</li>
<li><a href="https://github.com/psf/black/commit/d330deea00e199b99dea59fb4643305408c19a9b"><code>d330dee</code></a> docs: We're not going to use backslashes for the with statement (<a href="https://redirect.github.com/psf/black/issues/4564">#4564</a>)</li>
<li><a href="https://github.com/psf/black/commit/3d8129001f13e8c1a50eb73d8f44d26ad48f9c8c"><code>3d81290</code></a> Move <code>wrap_long_dict_values_in_parens</code> to the preview style (<a href="https://redirect.github.com/psf/black/issues/4561">#4561</a>)</li>
<li><a href="https://github.com/psf/black/commit/459562c71a725a0a58a7cb710bd4b68417df4496"><code>459562c</code></a> Improve function declaration wrapping when it contains generic type definitio...</li>
<li><a href="https://github.com/psf/black/commit/99dbf3006b30dd77a0f650b25d9b1c8071f25e1e"><code>99dbf30</code></a> Cache executor to avoid hitting open file limits (<a href="https://redirect.github.com/psf/black/issues/4560">#4560</a>)</li>
<li><a href="https://github.com/psf/black/commit/c0b92f3888a004b95e4626d8007a4b259b8f444f"><code>c0b92f3</code></a> Prepare the 2025 stable style (<a href="https://redirect.github.com/psf/black/issues/4558">#4558</a>)</li>
<li><a href="https://github.com/psf/black/commit/e58baf15b99e0202f10bda09447d3eb246e88df9"><code>e58baf1</code></a> Add test for <a href="https://redirect.github.com/psf/black/issues/1187">#1187</a> (<a href="https://redirect.github.com/psf/black/issues/4559">#4559</a>)</li>
<li><a href="https://github.com/psf/black/commit/1455ae47311facfaf3ad62d2c223d86ae95c5c68"><code>1455ae4</code></a> Fix docs CI (<a href="https://redirect.github.com/psf/black/issues/4555">#4555</a>)</li>
<li><a href="https://github.com/psf/black/commit/584d0331c8a73785af8a78fa601c540f5fe7bea2"><code>584d033</code></a> fix: Don't remove parenthesis around long dictionary values (<a href="https://redirect.github.com/psf/black/issues/4377">#4377</a>)</li>
<li><a href="https://github.com/psf/black/commit/6e9654065ca5e4b7c7a9491431a6cd7bc4016da3"><code>6e96540</code></a> Fix CI (<a href="https://redirect.github.com/psf/black/issues/4551">#4551</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/psf/black/compare/24.8.0...25.1.0">compare view</a></li>
</ul>
</details>
<br />
[](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>
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/11013
Author: @dependabot[bot]
Created: 3/1/2025
Status: ✅ Merged
Merged: 3/1/2025
Merged by: @tjbck
Base:
dev← Head:dependabot/pip/backend/dev/black-25.1.0📝 Commits (1)
dd73ecbchore(deps): bump black from 24.8.0 to 25.1.0 in /backend📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
backend/requirements.txt(+1 -1)📄 Description
Bumps black from 24.8.0 to 25.1.0.
Release notes
Sourced from black's releases.
... (truncated)
Changelog
Sourced from black's changelog.
... (truncated)
Commits
8a737e7Prepare release 25.1.0 (#4563)d330deedocs: We're not going to use backslashes for the with statement (#4564)3d81290Movewrap_long_dict_values_in_parensto the preview style (#4561)459562cImprove function declaration wrapping when it contains generic type definitio...99dbf30Cache executor to avoid hitting open file limits (#4560)c0b92f3Prepare the 2025 stable style (#4558)e58baf1Add test for #1187 (#4559)1455ae4Fix docs CI (#4555)584d033fix: Don't remove parenthesis around long dictionary values (#4377)6e96540Fix CI (#4551)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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.