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

Drop Python 3.8 support #4452

Merged
merged 2 commits into from
Sep 16, 2024
Merged

Drop Python 3.8 support #4452

merged 2 commits into from
Sep 16, 2024

Conversation

hauntsaninja
Copy link
Collaborator

These are manual changes, we can run pyupgrade equivalents in a later PR

@JelleZijlstra JelleZijlstra merged commit b4d6d86 into psf:main Sep 16, 2024
46 checks passed
@hauntsaninja hauntsaninja deleted the py38-eol branch September 16, 2024 01:34
@@ -549,6 +549,7 @@ def main( # noqa: C901
"""The uncompromising code formatter."""
ctx.ensure_object(dict)

assert sys.version_info >= (3, 9), "Black requires Python 3.9+"
Copy link

Choose a reason for hiding this comment

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

Why is this added? This wasn't needed in the __init__.py file for previous minimum versions. Python version requirements are handled by requires-python in pyproject.toml, and that was already correctly changed in this commit.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's harmless enough, Black is definitely broken on 3.8, I have dev environments lying around with random Python versions. Is it causing you some issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants