Skip to content

Update black requirement from ~=25.1 to ~=26.5 - #814

Merged
Jim Garrison (garrison) merged 2 commits into
mainfrom
dependabot/pip/black-gte-25.1-and-lt-27.0
Jul 1, 2026
Merged

Jim Garrison (garrison) merged 2 commits into
mainfrom
dependabot/pip/black-gte-25.1-and-lt-27.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 3, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on black to permit the latest version.

Release notes

Sourced from black's releases.

26.5.1

Stable style

  • Fix unstable formatting of annotated assignments whose subscript annotation contains an inline comment (e.g. x: list[ # pyright: ignore[...]) (#5130)
  • Preserve inline comments (including # type: ignore) immediately before a # fmt: skip line, avoiding AST equivalence failures (#5139)

Packaging

  • Correct the version in the published executables (#5137)

Documentation

  • Add Neovim integration guide covering conform.nvim, ALE, and simple command approaches (#5124)
Changelog

Sourced from black's changelog.

Version 26.5.1

Stable style

  • Fix unstable formatting of annotated assignments whose subscript annotation contains an inline comment (e.g. x: list[ # pyright: ignore[...]) (#5130)
  • Preserve inline comments (including # type: ignore) immediately before a # fmt: skip line, avoiding AST equivalence failures (#5139)

Packaging

  • Correct the version in the published executables (#5137)

Documentation

  • Add Neovim integration guide covering conform.nvim, ALE, and simple command approaches (#5124)

Version 26.5.0

Highlights

  • Add support for unpacking in comprehensions (PEP 798) and for lazy imports (PEP 810), both new syntactic features in Python 3.15 (#5048)
  • Python 3.15 is now supported. Compiled wheels are not yet provided for Python 3.15, so performance may be slower than on existing Python versions. Wheels will be provided once Python 3.15 is later in its release cycle. (#5127)

Stable style

  • Fix # fmt: skip being ignored in nested if expressions with parenthesized in clauses (#4903)
  • Add syntactic support for Python 3.15 (#5048)
  • Fix crash when an f-string follows a # fmt: off comment inside brackets (#5097)
  • Preserve multiline compound statement headers when # fmt: skip is placed on the colon line (#5117)

Preview style

  • Improve heuristics around whether blank lines should appear before, within and after groups of same-name decorated functions (such as @overload groups) in .pyi stub files (#5021)
  • Fix blank lines being removed between a function and a decorated class in .pyi stub files (#5092)
  • Prevent string merger from creating unsplittable long lines when a pragma comment (e.g. # type: ignore) follows the closing bracket (#5096)

Packaging

... (truncated)

Commits

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 3, 2026
Jim Garrison (garrison) added a commit that referenced this pull request Jun 3, 2026
Follow up to #813, which did not go as I had hoped with it attempting to widen the versions for black in #814.
@dependabot dependabot Bot changed the title Update black requirement from ~=25.1 to >=25.1,<27.0 Update black requirement from ~=25.1 to ~=26.5 Jun 3, 2026
@dependabot
dependabot Bot force-pushed the dependabot/pip/black-gte-25.1-and-lt-27.0 branch from 2d733bf to d4f70a5 Compare June 3, 2026 03:23
Updates the requirements on [black](https://github.com/psf/black) to permit the latest version.
- [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.5.1)

---
updated-dependencies:
- dependency-name: black
  dependency-version: 26.5.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/black-gte-25.1-and-lt-27.0 branch from d4f70a5 to f601dd5 Compare July 1, 2026 18:28
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 28539544523

Coverage remained the same at 100.0%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: 1 of 1 lines across 1 file are fully covered (100%).
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 2365
Covered Lines: 2365
Line Coverage: 100.0%
Coverage Strength: 1.0 hits per line

💛 - Coveralls

@garrison
Jim Garrison (garrison) merged commit e90f5ba into main Jul 1, 2026
12 checks passed
@garrison
Jim Garrison (garrison) deleted the dependabot/pip/black-gte-25.1-and-lt-27.0 branch July 1, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants