Conversation
If multiple candidates found in pyenv, display a warning message and just choose first one for `PYENV_COMMAND_PATH`.
Set `PYENV_COMMAND_PATH` even if multiple candidate versions found.
Instead of using the first version among the candidates found take the last one. Since versions are sorted alphabetically this should be the latest installed version. Solves concordusapps#3
|
This was originally concordusapps#5. Unfortunately, the original maintainers are not responsive. The original issue is concordusapps#3 |
|
This is much better than the default behavior! However, it doesn't pick up any versions >= .10 as newest, due to the way the As a local quick-fix I'm piping the command that generates the FWIW: I've been using this locally for quite some time now and only found the issue noted above. |
|
@sevens-ef This is true. When I wrote this, 3.8 was the future and it wasn't even clear if there ever would be a 3.10. Since then a lot of time has passed, the PR is still not merged and I'm not using this myself anymore. I don't know of any simple approach to do proper version ordering in bash. If anyone wants to take over this proposal please comment and create an improved PR. I'll close this one then. |
Instead of using the first version among the candidates found take the last one. Since versions are sorted alphabetically this should be the latest installed version.