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

Deprecate click 7.x support #117

Merged
merged 2 commits into from
Sep 24, 2023
Merged

Conversation

dwreeves
Copy link
Collaborator

@dwreeves dwreeves commented Jul 17, 2023

Resolves #116

Mostly self-explanatory PR.

I did not add TODO comments because all the parts of the code that need to be changed are easy enough to find in the code (basically, anywhere that CLICK_IS_BEFORE_VERSION_8X is referenced).

Lastly, on the topic of deprecation warnings, I removed distutiils.version.LooseVersion and swapped with packaging.version.parse since distutiils is deprecated and is slated to be removed in Python 3.12, via PEP-632 https://peps.python.org/pep-0632/ And I don't see any good reason for the next version release to not work with Python 3.12, even if only temporarily.

Copy link
Owner

@ewels ewels left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@ewels ewels merged commit 87f0ef1 into ewels:main Sep 24, 2023
34 checks passed
@ewels
Copy link
Owner

ewels commented Sep 24, 2023

Probably should have added a changelog entry for this.. 🤔

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.

Deprecate Click 7.x
2 participants