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

find-python.js add prevalidate python version check #12

Open
wants to merge 1 commit into
base: new-find-python
Choose a base branch
from

Conversation

owl-from-hogvarts
Copy link
Owner

Checklist
  • npm install && npm test passes
  • tests are included
  • documentation is changed or added
  • commit message follows commit guidelines
Description of change

It happens that sometimes little python script which should return path to python executable is running on unsupported python version. In such situations strange and frightening errors occure 👻. So user can be missleaded. This PR adds simple prevalidation (via ptyhon -V command which should return version). That prevalidation verify that we having deal with supported python and if not warn the user that below can be weird error due to unsupported python version. This change can minimize new issues will be open here on github with tipical errors and also improve user experience.

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.

1 participant