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

Pyenv shims break all attempted executions for pythons not in versions list #27

Closed
techalchemy opened this issue Nov 4, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@techalchemy
Copy link
Member

When versions are missing from the version file in $PYENV_ROOT, pyenv will still create shims for them but will fail to redirect commands, thereby breaking all execution locally for users.

For our purposes, lets just remove shims from finder paths, respect the order specified in the global version setting, and order by cpython interpreter versions first in descending order (non-prereleases first), then alphabetically, since we can use every pyenv path. in order.

ref pypa/pipenv#3124

see also pyenv/pyenv#1185, pyenv/pyenv#1112

@techalchemy techalchemy self-assigned this Nov 4, 2018
@techalchemy techalchemy added the bug Something isn't working label Nov 4, 2018
techalchemy added a commit that referenced this issue Nov 4, 2018
- Fixes #27

Signed-off-by: Dan Ryan <dan@danryan.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant