Skip to content

Bump black from 23.11.0 to 24.3.0 in /.devcontainer - #8075

Merged
ibrahim halatci (ihalatci) merged 1 commit into
mainfrom
dependabot/pip/dot-devcontainer/black-24.3.0
Jul 25, 2025
Merged

Bump black from 23.11.0 to 24.3.0 in /.devcontainer#8075
ibrahim halatci (ihalatci) merged 1 commit into
mainfrom
dependabot/pip/dot-devcontainer/black-24.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 25, 2025

Copy link
Copy Markdown
Contributor

Bumps black from 23.11.0 to 24.3.0.

Release notes

Sourced from black's releases.

24.3.0

Highlights

This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix CVE-2024-21503.

This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.

Stable style

  • Don't move comments along with delimiters, which could cause crashes (#4248)
  • Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (#4270)
  • Fix a bug where line-ranges exceeding the last code line would not work as expected (#4273)

Performance

  • Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes CVE-2024-21503. (#4278)

Documentation

  • Note what happens when --check is used with --quiet (#4236)

24.2.0

Stable style

  • Fixed a bug where comments where mistakenly removed along with redundant parentheses (#4218)

Preview style

  • Move the hug_parens_with_braces_and_square_brackets feature to the unstable style due to an outstanding crash and proposed formatting tweaks (#4198)
  • Fixed a bug where base expressions caused inconsistent formatting of ** in tenary expression (#4154)
  • Checking for newline before adding one on docstring that is almost at the line limit (#4185)
  • Remove redundant parentheses in case statement if guards (#4214).

Configuration

... (truncated)

Changelog

Sourced from black's changelog.

24.3.0

Highlights

This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix CVE-2024-21503.

This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.

Stable style

  • Don't move comments along with delimiters, which could cause crashes (#4248)
  • Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (#4270)
  • Fix a bug where line-ranges exceeding the last code line would not work as expected (#4273)

Performance

  • Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes CVE-2024-21503. (#4278)

Documentation

  • Note what happens when --check is used with --quiet (#4236)

24.2.0

Stable style

  • Fixed a bug where comments where mistakenly removed along with redundant parentheses (#4218)

Preview style

  • Move the hug_parens_with_braces_and_square_brackets feature to the unstable style due to an outstanding crash and proposed formatting tweaks (#4198)
  • Fixed a bug where base expressions caused inconsistent formatting of ** in tenary expression (#4154)
  • Checking for newline before adding one on docstring that is almost at the line limit (#4185)
  • Remove redundant parentheses in case statement if guards (#4214).

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [black](https://github.com/psf/black) from 23.11.0 to 24.3.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@23.11.0...24.3.0)

---
updated-dependencies:
- dependency-name: black
  dependency-version: 24.3.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jul 25, 2025
@codecov

codecov Bot commented Jul 25, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 50.84%. Comparing base (f1160b0) to head (e446b1f).
Report is 1 commits behind head on main.

❌ Your project status has failed because the head coverage (50.84%) is below the target coverage (87.50%). You can increase the head coverage or adjust the target coverage.

❗ There is a different number of reports uploaded between BASE (f1160b0) and HEAD (e446b1f). Click for more details.

HEAD has 64 uploads less than BASE
Flag BASE (f1160b0) HEAD (e446b1f)
17_regress_check-columnar 1 0
15_regress_check-enterprise-isolation-logicalrep-3 1 0
15_regress_check-split 1 0
16_regress_check-split 1 0
16_regress_check-columnar 1 0
16_regress_check-query-generator 1 0
16_regress_check-enterprise-failure 1 0
17_regress_check-enterprise-isolation-logicalrep-2 1 0
17_regress_check-split 1 0
15_regress_check-query-generator 1 0
17_regress_check-enterprise-failure 1 0
15_regress_check-enterprise-failure 1 0
17_regress_check-query-generator 1 0
15_regress_check-vanilla 1 0
17_regress_check-enterprise 1 0
16_regress_check-enterprise 1 0
15_regress_check-enterprise 1 0
17_regress_check-vanilla 1 0
17_regress_check-multi-mx 1 0
15_arbitrary_configs_3 1 0
17_regress_check-failure 1 0
17_cdc_installcheck 1 0
16_cdc_installcheck 1 0
16_arbitrary_configs_3 1 0
15_cdc_installcheck 1 0
17_arbitrary_configs_3 1 0
16_regress_check-operations 1 0
17_regress_check-operations 1 0
15_regress_check-operations 1 0
17_arbitrary_configs_5 1 0
15_arbitrary_configs_5 1 0
17_regress_check-isolation 1 0
16_regress_check-isolation 1 0
15_regress_check-isolation 1 0
17_arbitrary_configs_2 1 0
16_arbitrary_configs_2 1 0
15_regress_check-failure 1 0
15_regress_check-multi-mx 1 0
15_regress_check-multi 1 0
17_arbitrary_configs_4 1 0
17_regress_check-multi 1 0
16_regress_check-multi 1 0
16_arbitrary_configs_4 1 0
15_arbitrary_configs_0 1 0
17_arbitrary_configs_0 1 0
16_arbitrary_configs_0 1 0
16_arbitrary_configs_5 1 0
15_arbitrary_configs_2 1 0
15_regress_check-multi-1 1 0
16_regress_check-multi-1 1 0
17_regress_check-multi-1 1 0
17_arbitrary_configs_1 1 0
16_regress_check-enterprise-isolation 1 0
15_arbitrary_configs_4 1 0
15_arbitrary_configs_1 1 0
16_arbitrary_configs_1 1 0
15_regress_check-enterprise-isolation-logicalrep-1 1 0
16_regress_check-multi-mx 1 0
17_regress_check-enterprise-isolation 1 0
16_regress_check-failure 1 0
16_regress_check-vanilla 1 0
17_regress_check-enterprise-isolation-logicalrep-1 1 0
15_regress_check-enterprise-isolation 1 0
16_regress_check-enterprise-isolation-logicalrep-1 1 0
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #8075       +/-   ##
===========================================
- Coverage   89.20%   50.84%   -38.36%     
===========================================
  Files         284      284               
  Lines       61754    61725       -29     
  Branches     7730     7723        -7     
===========================================
- Hits        55090    31387    -23703     
- Misses       4445    27394    +22949     
- Partials     2219     2944      +725     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ihalatci
ibrahim halatci (ihalatci) merged commit a2e3c79 into main Jul 25, 2025
118 of 120 checks passed
@ihalatci
ibrahim halatci (ihalatci) deleted the dependabot/pip/dot-devcontainer/black-24.3.0 branch July 25, 2025 14:54
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant