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

Add support for Python 3.12 #381

Merged
merged 2 commits into from
Dec 1, 2023
Merged

Add support for Python 3.12 #381

merged 2 commits into from
Dec 1, 2023

Conversation

hugovk
Copy link
Contributor

@hugovk hugovk commented Aug 29, 2023

The Python 3.12 release candidate is out! 🚀

Call to action

We strongly encourage maintainers of third-party Python projects to prepare their projects for 3.12 compatibilities during this phase, and where necessary publish Python 3.12 wheels on PyPI to be ready for the final release of 3.12.0.

See also https://dev.to/hugovk/help-test-python-312-beta-1508/

@chenrui333
Copy link

cc @tartley

@tartley
Copy link
Owner

tartley commented Nov 28, 2023

cc @tartley

Amazing, nice work people!

@tartley
Copy link
Owner

tartley commented Nov 28, 2023

cc @tartley

Amazing, nice work people!

Ah, I see there are failing tests, and I'm going to assume they are not caused by this branch. I'll take a look at the weekend, see if I can hit 'merge' in this when it's done...

@hugovk
Copy link
Contributor Author

hugovk commented Nov 28, 2023

I've fixed the lint_python job, it was a codespell typo.

The other failures are unrelated to this PR, and are because GitHub Actions has dropped support for Python 2.7 as it's been EOL for so long (nearly 4 years!):

Warning: The support for python 2.7 will be removed on June 19. Related issue: actions/setup-python#672
Version ~2.7.0-0 was not found in the local cache
Error: The version '2.7' with architecture 'x64' was not found for Windows 2022.
The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

I recommend also dropping 2.7.

@tartley tartley merged commit 1368087 into tartley:master Dec 1, 2023
25 of 28 checks passed
@hugovk hugovk deleted the add-3.12 branch December 1, 2023 13:03
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