Update dependency black to v25.9.0 #253

Open
Renovate wants to merge 1 commits from renovate/black-25.x into dev
Collaborator

This PR contains the following updates:

Package Update Change
black (changelog) minor ==25.1.0 -> ==25.9.0

Release Notes

psf/black (black)

v25.9.0

Compare Source

Highlights
  • Remove support for pre-python 3.7 await/async as soft keywords/variable names
    (#​4676)
Stable style
  • Fix crash while formatting a long del statement containing tuples (#​4628)
  • Fix crash while formatting expressions using the walrus operator in complex with
    statements (#​4630)
  • Handle # fmt: skip followed by a comment at the end of file (#​4635)
  • Fix crash when a tuple appears in the as clause of a with statement (#​4634)
  • Fix crash when tuple is used as a context manager inside a with statement (#​4646)
  • Fix crash when formatting a \ followed by a \r followed by a comment (#​4663)
  • Fix crash on a \\r\n (#​4673)
  • Fix crash on await ... (where ... is a literal Ellipsis) (#​4676)
  • Fix crash on parenthesized expression inside a type parameter bound (#​4684)
  • Fix crash when using line ranges excluding indented single line decorated items
    (#​4670)
Preview style
  • Fix a bug where one-liner functions/conditionals marked with # fmt: skip would still
    be formatted (#​4552)
  • Improve multiline_string_handling with ternaries and dictionaries (#​4657)
  • Fix a bug where string_processing would not split f-strings directly after
    expressions (#​4680)
  • Wrap the in clause of comprehensions across lines if necessary (#​4699)
  • Remove parentheses around multiple exception types in except and except* without
    as. (#​4720)
  • Add \r style newlines to the potential newlines to normalize file newlines both from
    and to (#​4710)
Parser
  • Rewrite tokenizer to improve performance and compliance (#​4536)
  • Fix bug where certain unusual expressions (e.g., lambdas) were not accepted in type
    parameter bounds and defaults. (#​4602)
Performance
  • Avoid using an extra process when running with only one worker (#​4734)
Integrations
  • Fix the version check in the vim file to reject Python 3.8 (#​4567)
  • Enhance GitHub Action psf/black to read Black version from an additional section in
    pyproject.toml: [project.dependency-groups] (#​4606)
  • Build gallery docker image with python3-slim and reduce image size (#​4686)
Documentation
  • Add FAQ entry for windows emoji not displaying (#​4714)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [black](https://github.com/psf/black) ([changelog](https://github.com/psf/black/blob/main/CHANGES.md)) | minor | `==25.1.0` -> `==25.9.0` | --- ### Release Notes <details> <summary>psf/black (black)</summary> ### [`v25.9.0`](https://github.com/psf/black/blob/HEAD/CHANGES.md#2590) [Compare Source](https://github.com/psf/black/compare/25.1.0...25.9.0) ##### Highlights - Remove support for pre-python 3.7 `await/async` as soft keywords/variable names ([#&#8203;4676](https://github.com/psf/black/issues/4676)) ##### Stable style - Fix crash while formatting a long `del` statement containing tuples ([#&#8203;4628](https://github.com/psf/black/issues/4628)) - Fix crash while formatting expressions using the walrus operator in complex `with` statements ([#&#8203;4630](https://github.com/psf/black/issues/4630)) - Handle `# fmt: skip` followed by a comment at the end of file ([#&#8203;4635](https://github.com/psf/black/issues/4635)) - Fix crash when a tuple appears in the `as` clause of a `with` statement ([#&#8203;4634](https://github.com/psf/black/issues/4634)) - Fix crash when tuple is used as a context manager inside a `with` statement ([#&#8203;4646](https://github.com/psf/black/issues/4646)) - Fix crash when formatting a `\` followed by a `\r` followed by a comment ([#&#8203;4663](https://github.com/psf/black/issues/4663)) - Fix crash on a `\\r\n` ([#&#8203;4673](https://github.com/psf/black/issues/4673)) - Fix crash on `await ...` (where `...` is a literal `Ellipsis`) ([#&#8203;4676](https://github.com/psf/black/issues/4676)) - Fix crash on parenthesized expression inside a type parameter bound ([#&#8203;4684](https://github.com/psf/black/issues/4684)) - Fix crash when using line ranges excluding indented single line decorated items ([#&#8203;4670](https://github.com/psf/black/issues/4670)) ##### Preview style - Fix a bug where one-liner functions/conditionals marked with `# fmt: skip` would still be formatted ([#&#8203;4552](https://github.com/psf/black/issues/4552)) - Improve `multiline_string_handling` with ternaries and dictionaries ([#&#8203;4657](https://github.com/psf/black/issues/4657)) - Fix a bug where `string_processing` would not split f-strings directly after expressions ([#&#8203;4680](https://github.com/psf/black/issues/4680)) - Wrap the `in` clause of comprehensions across lines if necessary ([#&#8203;4699](https://github.com/psf/black/issues/4699)) - Remove parentheses around multiple exception types in `except` and `except*` without `as`. ([#&#8203;4720](https://github.com/psf/black/issues/4720)) - Add `\r` style newlines to the potential newlines to normalize file newlines both from and to ([#&#8203;4710](https://github.com/psf/black/issues/4710)) ##### Parser - Rewrite tokenizer to improve performance and compliance ([#&#8203;4536](https://github.com/psf/black/issues/4536)) - Fix bug where certain unusual expressions (e.g., lambdas) were not accepted in type parameter bounds and defaults. ([#&#8203;4602](https://github.com/psf/black/issues/4602)) ##### Performance - Avoid using an extra process when running with only one worker ([#&#8203;4734](https://github.com/psf/black/issues/4734)) ##### Integrations - Fix the version check in the vim file to reject Python 3.8 ([#&#8203;4567](https://github.com/psf/black/issues/4567)) - Enhance GitHub Action `psf/black` to read Black version from an additional section in pyproject.toml: `[project.dependency-groups]` ([#&#8203;4606](https://github.com/psf/black/issues/4606)) - Build gallery docker image with python3-slim and reduce image size ([#&#8203;4686](https://github.com/psf/black/issues/4686)) ##### Documentation - Add FAQ entry for windows emoji not displaying ([#&#8203;4714](https://github.com/psf/black/issues/4714)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4zNS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMzUuMCIsInRhcmdldEJyYW5jaCI6ImRldiJ9-->
Renovate added 1 commit 2025-09-19 03:46:40 +03:00
Update dependency black to v25.9.0
All checks were successful
Analysis / SonarCloud (pull_request) Successful in 55s
Tests / Build and Test (3.11) (pull_request) Successful in 1m19s
Tests / Build and Test (3.12) (pull_request) Successful in 1m24s
Tests / Build and Test (3.13) (pull_request) Successful in 1m12s
5363bac9d2
All checks were successful
Analysis / SonarCloud (pull_request) Successful in 55s
Tests / Build and Test (3.11) (pull_request) Successful in 1m19s
Required
Details
Tests / Build and Test (3.12) (pull_request) Successful in 1m24s
Required
Details
Tests / Build and Test (3.13) (pull_request) Successful in 1m12s
Required
Details
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/black-25.x:renovate/black-25.x
git checkout renovate/black-25.x
Sign in to join this conversation.
No description provided.