Python 2.7.13 (c925e7381036, Jun 05 2017, 20:53:58)
[PyPy 5.8.0 with GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)]
Pipenv version: $ pipenv --version: pipenv, version 9.1.0
Expected result
$ pyenv local pypy2.7-5.8.0
# Creates .python-version that sets the project's python
# version to the specific pypy version
$ pipenv install --python pypy
# Installs packages in virtualenv created with pypy2.7-5.8.0
Actual result
$ pipenv install --python pypy
Creating a virtualenv for this project…
Using /Users/josh/.pyenv/versions/pypy2.7-5.9.0/bin/pypy to create virtualenv…
# Installs packages in virtualenv created with pypy2.7-5.9.0,
# or whatever the latest version of pypy2.7 I have installed is
I have to uninstall pypy2.7-5.9.0 and any other later versions to be able to use v5.8.0 with pipenv. I need to test with 5.8.0 specifically because that is the latest version that the heroku python buildpack supports.
Perhaps pipenv should defer to .python-version when choosing the python version to use, unless it conflicts with python_version or python_full_version in the Pipfile, in which case throw an error.
Describe your environment
$ python -V
$ pipenv --version
: pipenv, version 9.1.0Expected result
Actual result
I have to uninstall pypy2.7-5.9.0 and any other later versions to be able to use v5.8.0 with pipenv. I need to test with 5.8.0 specifically because that is the latest version that the heroku python buildpack supports.
Perhaps pipenv should defer to
.python-version
when choosing the python version to use, unless it conflicts withpython_version
orpython_full_version
in thePipfile
, in which case throw an error.