[3.19] community/black: upgrade to 23.12.0 & patch CVE-2024-21503
Sort of a backport of !62377 (merged)
23.12.1 requires hatchling 1.20, so this is the last version that will build with hatchling 1.18.
Without patching strings.py
, the new test test_lines_with_leading_tabs_expanded
hangs for a long time (i interrupted it after waiting a while). With the patch, it completes quickly.