Skip to content

Bump black from 25.1.0 to 26.3.1#14

Merged
phillip-wenig-frequenz merged 1 commit into
v0.x.xfrom
dependabot/pip/black-26.3.1
Apr 28, 2026
Merged

Bump black from 25.1.0 to 26.3.1#14
phillip-wenig-frequenz merged 1 commit into
v0.x.xfrom
dependabot/pip/black-26.3.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 23, 2026

Bumps black from 25.1.0 to 26.3.1.

Release notes

Sourced from black's releases.

26.3.1

Stable style

  • Prevent Jupyter notebook magic masking collisions from corrupting cells by using exact-length placeholders for short magics and aborting if a placeholder can no longer be unmasked safely (#5038)

Configuration

  • Always hash cache filename components derived from --python-cell-magics so custom magic names cannot affect cache paths (#5038)

Blackd

  • Disable browser-originated requests by default, add configurable origin allowlisting and request body limits, and bound executor submissions to improve backpressure (#5039)

26.3.0

Stable style

  • Don't double-decode input, causing non-UTF-8 files to be corrupted (#4964)
  • Fix crash on standalone comment in lambda default arguments (#4993)
  • Preserve parentheses when # type: ignore comments would be merged with other comments on the same line, preventing AST equivalence failures (#4888)

Preview style

  • Fix bug where if guards in case blocks were incorrectly split when the pattern had a trailing comma (#4884)
  • Fix string_processing crashing on unassigned long string literals with trailing commas (one-item tuples) (#4929)
  • Simplify implementation of the power operator "hugging" logic (#4918)

Packaging

  • Fix shutdown errors in PyInstaller builds on macOS by disabling multiprocessing in frozen environments (#4930)

Performance

  • Introduce winloop for windows as an alternative to uvloop (#4996)
  • Remove deprecated function uvloop.install() in favor of uvloop.new_event_loop() (#4996)
  • Rename maybe_install_uvloop function to maybe_use_uvloop to simplify loop installation and creation of either a uvloop/winloop evenloop or default eventloop (#4996)

Output

... (truncated)

Changelog

Sourced from black's changelog.

Version 26.3.1

Stable style

  • Prevent Jupyter notebook magic masking collisions from corrupting cells by using exact-length placeholders for short magics and aborting if a placeholder can no longer be unmasked safely (#5038)

Configuration

  • Always hash cache filename components derived from --python-cell-magics so custom magic names cannot affect cache paths (#5038)

Blackd

  • Disable browser-originated requests by default, add configurable origin allowlisting and request body limits, and bound executor submissions to improve backpressure (#5039)

Version 26.3.0

Stable style

  • Don't double-decode input, causing non-UTF-8 files to be corrupted (#4964)
  • Fix crash on standalone comment in lambda default arguments (#4993)
  • Preserve parentheses when # type: ignore comments would be merged with other comments on the same line, preventing AST equivalence failures (#4888)

Preview style

  • Fix bug where if guards in case blocks were incorrectly split when the pattern had a trailing comma (#4884)
  • Fix string_processing crashing on unassigned long string literals with trailing commas (one-item tuples) (#4929)
  • Simplify implementation of the power operator "hugging" logic (#4918)

Packaging

  • Fix shutdown errors in PyInstaller builds on macOS by disabling multiprocessing in frozen environments (#4930)

Performance

  • Introduce winloop for windows as an alternative to uvloop (#4996)
  • Remove deprecated function uvloop.install() in favor of uvloop.new_event_loop() (#4996)
  • Rename maybe_install_uvloop function to maybe_use_uvloop to simplify loop installation and creation of either a uvloop/winloop eventloop or default eventloop (#4996)

... (truncated)

Commits

@dependabot dependabot Bot added part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) type:tech-debt Improves the project without visible changes for users labels Apr 23, 2026
@dependabot dependabot Bot requested a review from a team as a code owner April 23, 2026 08:38
@dependabot dependabot Bot added part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) type:tech-debt Improves the project without visible changes for users labels Apr 23, 2026
@dependabot dependabot Bot requested review from Marenz and removed request for a team April 23, 2026 08:38
@github-actions
Copy link
Copy Markdown
Contributor

Black Migration

Update: 25.1.0 → 26.3.1

✅ Migration completed successfully.

Migration output
=== v26.3.1 =========================================================
Source: inline script

Collecting black==26.3.1
  Downloading black-26.3.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (91 kB)
Collecting click>=8.0.0 (from black==26.3.1)
  Downloading click-8.3.3-py3-none-any.whl.metadata (2.6 kB)
Collecting mypy-extensions>=0.4.3 (from black==26.3.1)
  Downloading mypy_extensions-1.1.0-py3-none-any.whl.metadata (1.1 kB)
Collecting packaging>=22.0 (from black==26.3.1)
  Downloading packaging-26.1-py3-none-any.whl.metadata (3.5 kB)
Collecting pathspec>=1.0.0 (from black==26.3.1)
  Downloading pathspec-1.1.0-py3-none-any.whl.metadata (14 kB)
Collecting platformdirs>=2 (from black==26.3.1)
  Downloading platformdirs-4.9.6-py3-none-any.whl.metadata (4.7 kB)
Collecting pytokens~=0.4.0 (from black==26.3.1)
  Downloading pytokens-0.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (3.8 kB)
Downloading black-26.3.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.8 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 170.9 MB/s  0:00:00
Downloading pytokens-0.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (268 kB)
Downloading click-8.3.3-py3-none-any.whl (110 kB)
Downloading mypy_extensions-1.1.0-py3-none-any.whl (5.0 kB)
Downloading packaging-26.1-py3-none-any.whl (95 kB)
Downloading pathspec-1.1.0-py3-none-any.whl (56 kB)
Downloading platformdirs-4.9.6-py3-none-any.whl (21 kB)
Installing collected packages: pytokens, platformdirs, pathspec, packaging, mypy-extensions, click, black

Successfully installed black-26.3.1 click-8.3.3 mypy-extensions-1.1.0 packaging-26.1 pathspec-1.1.0 platformdirs-4.9.6 pytokens-0.4.1
All done! ✨ 🍰 ✨
5 files left unchanged.



📋 Full migration logs

@github-actions github-actions Bot added the tool:black:migration:executed Migration script has been run label Apr 23, 2026
@dependabot dependabot Bot force-pushed the dependabot/pip/black-26.3.1 branch 3 times, most recently from 67722d6 to 17ee51a Compare April 23, 2026 08:44
Bumps [black](https://github.com/psf/black) from 25.1.0 to 26.3.1.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@25.1.0...26.3.1)

---
updated-dependencies:
- dependency-name: black
  dependency-version: 26.3.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/black-26.3.1 branch from 17ee51a to 0930ddc Compare April 28, 2026 13:05
@phillip-wenig-frequenz phillip-wenig-frequenz merged commit a748abc into v0.x.x Apr 28, 2026
9 checks passed
@phillip-wenig-frequenz phillip-wenig-frequenz deleted the dependabot/pip/black-26.3.1 branch April 28, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) tool:black:migration:executed Migration script has been run type:tech-debt Improves the project without visible changes for users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant