Skip to content

chore(deps): update black requirement from ==25.11.* to ==26.5.*#300

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

chore(deps): update black requirement from ==25.11.* to ==26.5.*#300
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 15:13
@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 force-pushed the dependabot/pip/black-eq-26.star branch from 64cd6ba to a98f04b Compare July 8, 2026 22:12
github-actions[bot]
github-actions Bot previously approved these changes Jul 8, 2026
jericht added a commit that referenced this pull request Jul 8, 2026
Update dev dependencies to their latest versions while maintaining
Python 3.9 support via environment markers:

- pytest: 8.4.* -> 9.1.* (Py39 stays on 8.4.*)
- black: 25.* -> 26.* (Py39 stays on 25.*)
- mypy: 1.19.* -> 2.2.* (Py39 stays on 1.19.*)
- hypothesis: ~=6.0 -> ~=6.156 (Py39 gets ~=6.141)

All four packages dropped Python 3.9 support in their latest major
releases. This uses the same conditional pattern as openjd-cli.

Supersedes #300, #301, #302, #303.

Signed-off-by: Jericho Tolentino <68654047+jericht@users.noreply.github.com>
jericht added a commit that referenced this pull request Jul 9, 2026
Update dev dependencies to their latest versions while maintaining
Python 3.9 support via environment markers:

- pytest: 8.4.* -> 9.1.* (Py39 stays on 8.4.*)
- black: 25.* -> 26.* (Py39 stays on 25.*)
- mypy: 1.19.* -> 2.2.* (Py39 stays on 1.19.*)
- hypothesis: ~=6.0 -> ~=6.156 (Py39 gets ~=6.141)

All four packages dropped Python 3.9 support in their latest major
releases. This uses the same conditional pattern as openjd-cli.

Supersedes #300, #301, #302, #303.

Signed-off-by: Jericho Tolentino <68654047+jericht@users.noreply.github.com>
jericht added a commit that referenced this pull request Jul 9, 2026
Update dev dependencies to their latest versions while maintaining
Python 3.9 support via environment markers:

- pytest: 8.4.* -> 9.1.* (Py39 stays on 8.4.*)
- black: 25.* -> 26.* (Py39 stays on 25.*)
- mypy: 1.19.* -> 2.2.* (Py39 stays on 1.19.*)
- hypothesis: ~=6.0 -> ~=6.156 (Py39 gets ~=6.141)

All four packages dropped Python 3.9 support in their latest major
releases. This uses the same conditional pattern as openjd-cli.

Supersedes #300, #301, #302, #303.

Signed-off-by: Jericho Tolentino <68654047+jericht@users.noreply.github.com>
jericht added a commit that referenced this pull request Jul 9, 2026
Update dev dependencies to their latest versions while maintaining
Python 3.9 support via environment markers:

- pytest: 8.4.* -> 9.1.* (Py39 stays on 8.4.*)
- black: 25.* -> 26.* (Py39 stays on 25.*)
- mypy: 1.19.* -> 2.2.* (Py39 stays on 1.19.*)
- hypothesis: ~=6.0 -> ~=6.156 (Py39 gets ~=6.141)

All four packages dropped Python 3.9 support in their latest major
releases. This uses the same conditional pattern as openjd-cli.

Supersedes #300, #301, #302, #303.

Signed-off-by: Jericho Tolentino <68654047+jericht@users.noreply.github.com>
jericht added a commit that referenced this pull request Jul 9, 2026
)

Update dev dependencies to their latest versions while maintaining
Python 3.9 support via environment markers:

- pytest: 8.4.* -> 9.1.* (Py39 stays on 8.4.*)
- black: 25.* -> 26.* (Py39 stays on 25.*)
- mypy: 1.19.* -> 2.2.* (Py39 stays on 1.19.*)
- hypothesis: ~=6.0 -> ~=6.156 (Py39 gets ~=6.141)

All four packages dropped Python 3.9 support in their latest major
releases. This uses the same conditional pattern as openjd-cli.

Supersedes #300, #301, #302, #303.

Signed-off-by: Jericho Tolentino <68654047+jericht@users.noreply.github.com>
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.11.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 changed the title chore(deps): update black requirement from ==25.* to ==26.* chore(deps): update black requirement from ==25.11.* to ==26.5.* Jul 9, 2026
@dependabot
dependabot Bot force-pushed the dependabot/pip/black-eq-26.star branch from a98f04b to c0f12db Compare July 9, 2026 00:35
@jericht

jericht commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

@dependabot ignore this major version

@dependabot dependabot Bot closed this Jul 9, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you about version 26.x.x again, unless you re-open this PR.

@dependabot
dependabot Bot deleted the dependabot/pip/black-eq-26.star branch July 9, 2026 02:27
@jericht

jericht commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Ignoring because of Python3.9 being deprecated in newer versions of black: https://github.com/OpenJobDescription/openjd-model-for-python/blob/mainline/.github/dependabot.yml#L16-L18

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.

1 participant