Skip to content

chore(deps): update black requirement from ==25.* to ==26.*#267

Closed
dependabot[bot] wants to merge 1 commit into
mainlinefrom
dependabot/pip/black-eq-26.star
Closed

chore(deps): update black requirement from ==25.* to ==26.*#267
dependabot[bot] wants to merge 1 commit into
mainlinefrom
dependabot/pip/black-eq-26.star

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 29, 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 dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 29, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner June 29, 2026 21:26
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 29, 2026
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:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/black-eq-26.star branch from cb5ccca to 9426564 Compare July 2, 2026 00:50
@leongdl leongdl closed this in #271 Jul 2, 2026
leongdl added a commit that referenced this pull request Jul 2, 2026
…ytest 9.1)

Combines dependabot PRs #267, #269, #270:
- black 25.* -> 26.* (#267)
- mypy 1.19.* -> 2.1.* (#269)
- pytest 9.0.* -> 9.1.* (#270)

black 26 and mypy 2 dropped Python 3.9 (require >=3.10). Pinned via
environment markers so the 3.9 CI job keeps the last 3.9-compatible
versions while 3.10+ gets the upgraded majors (matching the existing
pytest marker pattern). Applied black 26 reformatting.

pytest 9.1 reworked log capture for non-propagating loggers (pytest
changelog #3697). The mock_getLogger fixture patched the global
logging.getLogger, which broke caplog's handler installation on 9.1 and
caused 7 test_entrypoint.py failures. Fixed by patching
EntryPoint._init_loggers instead, which works on both pytest 8.4 (py3.9)
and 9.1 (py3.10+).

Verified: ruff, black, mypy 2.1.0, and 475 unit tests pass.
Signed-off-by: David Leong <116610336+leongdl@users.noreply.github.com>
@dependabot @github

dependabot Bot commented on behalf of github Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/pip/black-eq-26.star branch July 2, 2026 16:44
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 python Pull requests that update Python code waiting-on-maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants