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

Fix: Python version check for pip (in Python 3.12 or later, removed distutils) #713

Merged
merged 1 commit into from
Dec 23, 2023

Conversation

tsuyoshicho
Copy link
Contributor

@tsuyoshicho tsuyoshicho commented Dec 23, 2023

Background

Python 3.12 or later, distutils has been removed.
See: https://docs.python.org/3/whatsnew/3.12.html

So the previous version check code will fail.

Changes

Change this to a simple check and fix it.
(Currently, the use of Python 2 is declining, so I thought this was a good idea.)

@mattn mattn merged commit f6850d1 into mattn:master Dec 23, 2023
14 checks passed
@mattn
Copy link
Owner

mattn commented Dec 23, 2023

Thank you

@tsuyoshicho tsuyoshicho deleted the fix/python312pip branch December 23, 2023 15:27
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