Branch: refs/heads/master
Revision: 81a82dc
Author: mppf
Log Message:
Merge pull request #16638 from mppf/improve-find-python-to-check-version-works
Improve find-python.sh to check python --version
Follow-up to PR #16560
Does not check the output of python --version. It just
tries to run that and checks for return code 0.
This addresses problems with pyenv when python3 is installed
but not selected as the current python and when the system
does not include a python3 installation.
Helps with https://github.com/Cray/chapel-private/issues/1407
Reviewed by @lydia-duncan - thanks!
- [x] full local testing
Modified Files:
M util/config/find-python.sh
Compare: https://github.com/chapel-lang/chapel/compare/1d531373e63b...81a82dc4000b