GeezerVison is showing github.com — Bump black from 25.1.0 to 26.10.1 by dependabot[bot] · Pull Request #491 · python/bench_runner
Conversation
dependabot
Bot
commented
on behalf of github
Nov 11, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Bumps black from 25.1.0 to 26.10.1.
Release notes
Sourced from black's releases.
26.10.1
Highlights
This release fixes a security issue in Black's bundled GitHub Action. Repositories that
use the action are encouraged to update to the latest version of Black immediately. This
update is received automatically when using psf/black@stable, and is independent of
the version of Black installed by the action.
When the GitHub Action reads version specifiers from tool.black.required-version, it
now only accepts released versions of Black, as it already did for black requirements
in dependency lists. Other values, such as URL references, are now rejected. This issue
has been registered as GHSA-cg8m-r9f2-5wm2; a CVE identifier is pending.
Stable style
- Fix a long Jupyter notebook assignment magic (for example
x = !ls -la) being wrapped
in parentheses, which IPython can no longer run; such cells are now left unchanged
(#5481)
- Keep repeated lines outside the selected
--line-ranges unchanged (#5436)
- Fix
--line-ranges formatting lines that follow a statement when formatting joins or
re-indents that statement (#5484)
- Fix
--line-ranges crashing with an internal error when an unselected statement has a
# fmt: skip comment on the last line before a closing bracket (#5477)
- Prevent moving an encoding declaration (for example
# -*- coding: latin-1 -*-) onto
the first two lines of a file (#5487)
- Fix adding an extra trailing blank line inside a multi-line module docstring when its
last line is near the line length limit (#5494)
Preview style
- Do not split short expressions on delimiters (such as binary operators, comparisons,
or comprehensions) inside brackets when preceded by a standalone comment (#5455)
- Fix the unstable
string_processing feature removing backslash-newline sequences from
raw strings, which changed their value (#5482)
- Avoid adding unnecessary parentheses around unbreakable right-hand side expressions in
assignments (such as annotated assignments or subscript targets) (#5473)
- Parenthesize expressions with parameter comments when they exceed the line length
under
--preview (#5442)
- Fix
wrap_long_dict_values_in_parens dropping the parentheses around a right-hand
side that contains a dictionary, leaving a line over the length limit (#5492)
- Fix the unstable
string_processing feature adding a space after * or ** in a PEP
695 type parameter (* Ts = ...) when it splits a string in the parameter's default
(#5504)
- Avoid unnecessary line splits of trailers (such as indexing/subscripts) when an
earlier bracket split exceeds the line length only due to a trailing comment (#5498)
Configuration
- Add
--cache-dir to configure the cache directory from the command line (#5433)
- Don't cache a file as formatted after formatting or checking it with
--line-ranges,
... (truncated)
Changelog
Sourced from black's changelog.
Version 26.10.1
Highlights
This release fixes a security issue in Black's bundled GitHub Action. Repositories that
use the action are encouraged to update to the latest version of Black immediately. This
update is received automatically when using psf/black@stable, and is independent of
the version of Black installed by the action.
When the GitHub Action reads version specifiers from tool.black.required-version, it
now only accepts released versions of Black, as it already did for black requirements
in dependency lists. Other values, such as URL references, are now rejected. This issue
has been registered as GHSA-cg8m-r9f2-5wm2; a CVE identifier is pending.
Stable style
- Fix a long Jupyter notebook assignment magic (for example
x = !ls -la) being wrapped
in parentheses, which IPython can no longer run; such cells are now left unchanged
(#5481)
- Keep repeated lines outside the selected
--line-ranges unchanged (#5436)
- Fix
--line-ranges formatting lines that follow a statement when formatting joins or
re-indents that statement (#5484)
- Fix
--line-ranges crashing with an internal error when an unselected statement has a
# fmt: skip comment on the last line before a closing bracket (#5477)
- Prevent moving an encoding declaration (for example
# -*- coding: latin-1 -*-) onto
the first two lines of a file (#5487)
- Fix adding an extra trailing blank line inside a multi-line module docstring when its
last line is near the line length limit (#5494)
- Preserve blank lines between imports and unselected statements when using
--line-ranges, and ensure a blank line is added between an unselected import and a
newly formatted statement (#5493, #5649)
- Keep the parentheses around a walrus that is the only item in a set (for example
{(x := f())}) when targeting Python 3.9 or older, since Python 3.8 and 3.9.0 can't
parse it without them (#5502)
Preview style
- Do not split short expressions on delimiters (such as binary operators, comparisons,
or comprehensions) inside brackets when preceded by a standalone comment (#5455)
- Fix the unstable
string_processing feature removing backslash-newline sequences from
raw strings, which changed their value (#5482)
- Avoid adding unnecessary parentheses around unbreakable right-hand side expressions in
assignments (such as annotated assignments or subscript targets) (#5473)
- Parenthesize expressions with parameter comments when they exceed the line length
under
--preview (#5442)
- Fix
wrap_long_dict_values_in_parens dropping the parentheses around a right-hand
side that contains a dictionary, leaving a line over the length limit (#5492)
- Fix the unstable
string_processing feature adding a space after * or ** in a PEP
695 type parameter (* Ts = ...) when it splits a string in the parameter's default
(#5504)
... (truncated)
Commits
258e7db Prepare release 26.10.1 (#5511)
ac1f715 Action: validate required-version better (#5510)
fe241cc Avoid splitting trailers when earlier bracket split exceeds length due to com...
4fb2897 Bump actions/upload-artifact from 7.0.1 to 7.0.2 (#5500)
6d0f557 Bump actions/download-artifact from 8.0.1 to 8.0.2 (#5501)
c45f21d Handle PEP 695 type parameter whitespace in whitespace() (#5504)
8ec61a7 Skip UTF-8 BOM when reading .gitignore (#5497)
c9b1148 Fix module docstring last_line_length when docstring ends with newline (#5494)
eb88358 Parenthesize expressions with parameter comments in preview (#3113) (#5442)
939fa93 Keep the parentheses around a right-hand side when a dict value's parentheses...
- Additional commits viewable in compare view
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
dependencies
Pull requests that update a dependency file
python
Pull requests that update python code
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|