Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: Bump Black's target Python versions for Python 3.9 minimum #4347

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

echoix
Copy link
Member

@echoix echoix commented Sep 19, 2024

As mentioned in #4291 (comment), the minimum supported Python version of the main branch is 3.9 for a while now, but we still had Black configured to restrict itself to Python 3.8 support.

This PR removes 3.8 from the list of target versions, and adds 3.13, that is going to be released in 12 days (Oct 1, 2024).

This allows Black to use language syntax not available in 3.8, like line breaks in parenthesized with context managers.

@echoix echoix added this to the 8.5.0 milestone Sep 19, 2024
@github-actions github-actions bot added Python Related code is in Python module general labels Sep 19, 2024
Copy link
Member

@ninsbl ninsbl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@echoix echoix merged commit 51f865b into OSGeo:main Sep 19, 2024
26 of 27 checks passed
@echoix echoix deleted the black-python-version branch September 19, 2024 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
general module Python Related code is in Python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants