-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Latest pythonfinder logic cant handle pyenv and --two combination #3269
Comments
Hey @greysteil, We did a quick check and this issue looks very darn similar to
This could be a coincidence, but if any of these issues solves your problem then I did a good job 😄 If not, the maintainers will get to this issue shortly. Cheers, |
what, you think "2" is a real python version? all part of the plan to deprecate python 2 a year early! Just kidding, I just didn't write the regex to handle that... |
Fixed by #3280. |
Issue description
Running
pyenv exec pipenv --two lock
causes an errorExpected result
It should pick a version of Python 2 and use that, rather than erroring
Actual result
Steps to replicate
Run
pyenv exec pipenv --two lock
on any Pipenv file (with Pipenv at current master).$ pipenv --support
Pipenv version:
'2018.10.14.dev0'
Pipenv location:
'/usr/local/lib/python3.6/site-packages/pipenv-2018.10.14.dev0-py3.6.egg/pipenv'
Python location:
'/usr/local/opt/python/bin/python3.6'
Python installations found:
3.7.0
:/Users/greysteil/.pyenv/versions/3.7.0/bin/python3
3.7.0
:/Users/greysteil/.pyenv/versions/3.7.0/bin/python3.7m
3.6.7
:/Users/greysteil/.pyenv/versions/3.6.7/bin/python3
3.6.7
:/Users/greysteil/.pyenv/versions/3.6.7/bin/python3.6m
3.6.6
:/Users/greysteil/.pyenv/versions/3.6.6/bin/python3
3.6.6
:/Users/greysteil/.pyenv/versions/3.6.6/bin/python3.6m
3.6.5
:/Users/greysteil/.pyenv/versions/3.6.5/bin/python3
3.6.5
:/Users/greysteil/.pyenv/versions/3.6.5/bin/python3.6m
3.6.5
:/usr/local/bin/python3
3.6.5
:/usr/local/bin/python3.6m
3.5.0
:/Users/greysteil/.pyenv/versions/3.5.0/bin/python3
3.5.0
:/Users/greysteil/.pyenv/versions/3.5.0/bin/python3.5m
2.7.15
:/Users/greysteil/.pyenv/versions/2.7.15/bin/python
2.7.14
:/Users/greysteil/.pyenv/versions/2.7.14/bin/python
2.7.10
:/usr/bin/python
2.7.10
:/usr/bin/pythonw
2.7.10
:/usr/bin/python2.7
PEP 508 Information:
System environment variables:
TERM_PROGRAM
PYENV_ROOT
TERM
SHELL
CLICOLOR
TMPDIR
Apple_PubSub_Socket_Render
TERM_PROGRAM_VERSION
TERM_SESSION_ID
USER
SSH_AUTH_SOCK
LSCOLORS
PATH
PWD
EDITOR
LANG
XPC_FLAGS
RBENV_SHELL
XPC_SERVICE_NAME
HOME
SHLVL
LOGNAME
OLDPWD
_
__CF_USER_TEXT_ENCODING
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/Users/greysteil/.poetry/bin:/Users/greysteil/.config/yarn/global/node_modules/.bin:/Users/greysteil/.poetry/bin::/Users/greysteil/go/bin::/usr/local/opt/erlang@20/bin:/Users/greysteil/.pyenv/bin:/Users/greysteil/.cargo/bin:/usr/local/heroku/bin:/Users/greysteil/.rbenv/shims:/usr/local/bin:./node_modules/.bin:.bundle/binstubs:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/go/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/local/git/bin:/usr/local/sbin
SHELL
:/bin/bash
EDITOR
:subl -w
LANG
:en_GB.UTF-8
PWD
:/Users/greysteil/code/python-test
Contents of
Pipfile
('/Users/greysteil/code/python-test/Pipfile'):Contents of
Pipfile.lock
('/Users/greysteil/code/python-test/Pipfile.lock'):The text was updated successfully, but these errors were encountered: