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

Update Python support matrix #64

Merged
merged 4 commits into from
Dec 11, 2024

Conversation

stephenfin
Copy link
Member

@stephenfin stephenfin commented Jan 17, 2024

Add support for Python 3.12 and 3.13. This requires removal of the distutils entrypoint as distutils is removed in Python 3.12. We must also replace the use of pkg_resources, which is also gone.

We drop support for Python < 3.9, since these versions are all EOL. Users that require these can use the previous release of click-man.

@stephenfin
Copy link
Member Author

@timofurrer Not sure you maintain this package anymore, but I do find this helpful and use it for a few of my utilities. fwiw, I'd be happy to help maintain this package if it's no longer a priority for you. I already maintain (and authored) sphinx-click, so this would be a minor addition to my workload 😇

@timofurrer
Copy link
Member

@stephenfin can you write me an email about the maintainer ship for this project? I indeed don't find enough time myself these days.

@timofurrer
Copy link
Member

@NaNOteh I did not ask you. I tagged @stephenfin .

@stephenfin stephenfin force-pushed the add-python312-support branch from 94c9c41 to 0a7290c Compare December 10, 2024 10:35
@stephenfin stephenfin changed the title Add Python 3.12 support Update Python support matrix Dec 10, 2024
@stephenfin
Copy link
Member Author

@stephenfin can you write me an email about the maintainer ship for this project? I indeed don't find enough time myself these days.

Done. I've also updated this to add support for Python 3.13 and formally drop support for Python < 3.9, per the updated comment 0.

@stephenfin stephenfin force-pushed the add-python312-support branch from 0a7290c to ba408c0 Compare December 10, 2024 10:57
distutils is gone in Python 3.12 [1]. We can no longer support this.

[1] https://docs.python.org/3.11/library/distutils.html

Signed-off-by: Stephen Finucane <[email protected]>
This allows us to remove setuptools as a dependency.

Signed-off-by: Stephen Finucane <[email protected]>
We also update the CI test matrix to reflect this.

Signed-off-by: Stephen Finucane <[email protected]>
@stephenfin stephenfin force-pushed the add-python312-support branch from ba408c0 to 8467843 Compare December 11, 2024 13:47
@stephenfin stephenfin merged commit 0f0ab9d into click-contrib:master Dec 11, 2024
6 checks passed
@stephenfin stephenfin deleted the add-python312-support branch December 11, 2024 14:05
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.

2 participants