py-black: update to 24.10.0, add py313 subport #27364
Merged
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.
Description
This version explicitly states support for Python 3.9 through 3.13 on PyPI.
Note: PR #27172 also updates Black, but is tagged as work in progress and has had draft status for several weeks. Black is only one of several ports that it updates. Being a widely use package without strong ties to the other packages in that PR, I think that Black can be updated separately to avoid delays. I propose the same changes here to Black’s Portfile as the other PR, except that I do not re-add the py38 subport (it is my understanding that we are removing those now and, besides, Black no longer officially supports 3.8 according to its pyproject.toml file)
Type(s)
Tested on
macOS 10.9.5 13F1911 x86_64
Xcode 6.2 6C131e
Verification
Have you
port lint
?sudo port test
?sudo port -vst install
?Testing: I have been running this locally for a couple of weeks now without problems.