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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declare support for Python 3.11, test 3.12-dev, drop EOL 3.6 #2324

Merged
merged 5 commits into from Jan 25, 2023

Conversation

hugovk
Copy link
Contributor

@hugovk hugovk commented Jan 25, 2023

Python 3.11 was released on 2022-10-24 馃殌

image

Also test on Python 3.12-dev to be ready for the next version, drop support for EOL Python 3.6 (EOL since 2021), add colour to the CI logs for readability, and bump GitHub Actions.

@jeanas
Copy link
Contributor

jeanas commented Jan 25, 2023

The missing setup.cfg classifier is an oversight, thank you for the correction.

Regarding support for older Python versions, Python 3.6 being EOL isn't the full story. Our Python support policy is documented here: https://github.com/pygments/pygments/blob/master/Contributing.md#python-support. That said, compared to the situation at the time of #2059, there is now RHEL 9, so according to our current policy we can drop Python 3.6 now. I'd still like to hear opinions from other maintainers on that, though. @birkenfeld @Anteru WDYT?

@birkenfeld
Copy link
Member

Yeah, sure!

@Anteru
Copy link
Collaborator

Anteru commented Jan 25, 2023

Works for me. Finally we can use all those fancy new features from Python 3.7!

@birkenfeld
Copy link
Member

I'm sure we can use the new breakpoint function everywhere!

@jeanas jeanas merged commit 6d2bb1b into pygments:master Jan 25, 2023
@hugovk hugovk deleted the add-3.11 branch January 25, 2023 23:04
@Anteru Anteru added this to the 2.15.0 milestone Mar 25, 2023
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.

None yet

4 participants