Update dependency black to v23.3.0
Metadata
Current evaluation
Merged PR #4 upgraded Black from 23.1.0 to 23.3.0 in commit c8e00749.
Resolution: closed resolved
Reason: The dependency update was approved and merged into the project via commit c8e00749.
Evaluated by: mr-cal-bot
No scores available.
Issue body
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [black](https://togithub.com/psf/black) ([changelog](https://togithub.com/psf/black/blob/main/CHANGES.md)) | `==23.1.0` -> `==23.3.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>psf/black</summary>
### [`v23.3.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#​2330)
[Compare Source](https://togithub.com/psf/black/compare/23.1.0...23.3.0)
##### Highlights
This release fixes a longstanding confusing behavior in Black's GitHub action, where the
version of the action did not determine the version of Black being run (issue [#​3382](https://togithub.com/psf/black/issues/3382)). In
addition, there is a small bug fix around imports and a number of improvements to the
preview style.
Please try out the
[preview style](https://black.readthedocs.io/en/stable/the_black_code_style/future_style.html#preview-style)
with `black --preview` and tell us your feedback. All changes in the preview style are
expected to become part of Black's stable style in January 2024.
##### Stable style
- Import lines with `# fmt: skip` and `# fmt: off` no longer have an extra blank line
added when they are right after another import line ([#​3610](https://togithub.com/psf/black/issues/3610))
##### Preview style
- Add trailing commas to collection literals even if there's a comment after the last
entry ([#​3393](https://togithub.com/psf/black/issues/3393))
- `async def`, `async for`, and `async with` statements are now formatted consistently
compared to their non-async version. ([#​3609](https://togithub.com/psf/black/issues/3609))
- `with` statements that contain two context managers will be consistently wrapped in
parentheses ([#​3589](https://togithub.com/psf/black/issues/3589))
- Let string splitters respect [East Asian Width](https://www.unicode.org/reports/tr11/)
([#​3445](https://togithub.com/psf/black/issues/3445))
- Now long string literals can be split after East Asian commas and periods (`、` U+3001
IDEOGRAPHIC COMMA, `。` U+3002 IDEOGRAPHIC FULL STOP, & `,` U+FF0C FULLWIDTH COMMA)
besides before spaces ([#​3445](https://togithub.com/psf/black/issues/3445))
- For stubs, enforce one blank line after a nested class with a body other than just
`...` ([#​3564](https://togithub.com/psf/black/issues/3564))
- Improve handling of multiline strings by changing line split behavior ([#​1879](https://togithub.com/psf/black/issues/1879))
##### Parser
- Added support for formatting files with invalid type comments ([#​3594](https://togithub.com/psf/black/issues/3594))
##### Integrations
- Update GitHub Action to use the version of Black equivalent to action's version if
version input is not specified ([#​3543](https://togithub.com/psf/black/issues/3543))
- Fix missing Python binary path in autoload script for vim ([#​3508](https://togithub.com/psf/black/issues/3508))
##### Documentation
- Document that only the most recent release is supported for security issues;
vulnerabilities should be reported through Tidelift ([#​3612](https://togithub.com/psf/black/issues/3612))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - "after 1 am and before 7 am" in timezone Etc/UTC.
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/canonical/craft-application).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4zMi4yIiwidXBkYXRlZEluVmVyIjoiMzUuMzIuMiJ9-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #4 upgraded Black from 23.1.0 to 23.3.0 in commit c8e00749. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/craft-application#4 (commit c8e00749), upgrading Black from 23.1.0 to 23.3.0. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged automated dependency update upgrading black from v23.1.0 to v23.3.0. Approved by one reviewer, passed CI, and changed one file. Includes bug fixes, preview style improvements, and GitHub Action version alignment. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #677 build(deps): update dependency black to v23.12.1 (hotfix/1.20) | craft-providers | merged | Merged PR #677 updated Black from 23.10.0 to 23.12.1 on hotfix/1.20, changing one dependency pin in one file. | |
| #1343 chore(deps): update dependency black to v23.10.0 | charmcraft | merged | Merged PR #1343 updated Black from 23.9.1 to 23.10.0 in commit 0a24d7ff. | |
| #49 chore(deps): update dependency black to v23.3.0 | starbase | merged | Merged Renovate PR #49 updated Black from 23.1.0 to 23.3.0 via commit fe58f83. | |
| #291 build(deps): update dependency black to v24.10.0 | craft-cli | merged | Renovate PR merged as commit faa05d0, bumping the black dev dependency from 24.8.0 to 24.10.0 (one-line pin change). Later superseded by removal of black in #305/#363. | |
| #1443 chore(deps): update dependency black to v23.12.1 | charmcraft | merged | Merged Black dependency update from 23.11.0 to 23.12.1 in commit 2567c661. | |
| #1166 chore(deps): update dependency black to v23.7.0 | charmcraft | merged | Renovate dependency bump PR merged into main via commit fa7bbea3 (#1166), raising black from 23.3.0 to 23.7.0 in two dependency declarations (2 files, +2/-2). | |
| #201 build(deps): update dependency black to v24.8.0 (main) | craft-store | merged | Merged PR #201 via commit f2ce4fe, updating Black from 24.4.2 to 24.8.0 on main. | |
| #4684 build(deps-dev): bump black from 24.1.1 to 24.3.0 | snapcraft | closed | Closed unmerged as redundant after black 24.3.0 was applied by #4695 (merge commit c056a64fe). | |
| #227 build(deps): update dependency black to v24.10.0 | craft-store | merged | Merged #227 via commit 3fef321, updating Black from 24.8.0 to 24.10.0 in the development dependencies. | |
| #1288 chore(deps): update dependency black to v23.9.1 | charmcraft | closed | Renovate PR to bump black 23.7.0→23.9.1 was closed unmerged; the same upgrade landed in the consolidated "chore(deps): update dependencies" PR #1289 (commit ccc21079), per lengau's comment. |