travis-pyenv
travis-pyenv copied to clipboard
Installation is broken with PyPy 3.5-5.7.0 (portable)
PyPy 3.5-5.7.0 does not seem to include a python symlink in it's bin/ folder, which breaks the assumptions from this script, making the installation fail.
Hi @danielkza, thanks for filing the issue.
Without some logs it's hard for me to know exactly what the issue is that you are encountering. As far as I understand, pyenv is supposed to handle linking the pypy executable as python.
What I think you may be encountering is pyenv/pyenv#925. See #8, which includes a successful installation of pypy3-portable-5.7.0, for a way to work around that issue for now.
Pyenv seems to be working correctly (calling it manually is fine), but
setup_pyenv.sh fails when verifying the installation from the cache since
$install_path/bin/python does not exist, and hence cannot be run to check
the version string.
Em seg, 5 de jun de 2017 07:54, Jamie Hewland [email protected] escreveu:
Hi @danielkza https://github.com/danielkza, thanks for filing the issue.
Without some logs it's hard for me to know exactly what the issue is that you are encountering. As far as I understand, pyenv is supposed to handle linking the pypy executable as python.
What I think you may be encountering is pyenv/pyenv#925 https://github.com/pyenv/pyenv/issues/925. See #8 https://github.com/praekeltfoundation/travis-pyenv/pull/8, which includes a successful installation of pypy3-portable-5.7.0, for a way to work around that issue for now.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/praekeltfoundation/travis-pyenv/issues/7#issuecomment-306160551, or mute the thread https://github.com/notifications/unsubscribe-auth/AAtnTvUVtY9smU7oMyiekc9lTHrnkH8lks5sA95ygaJpZM4Nvg_m .
Do you have a Travis build that is failing that I can see?
Because it is working for me at the moment: Fresh install: https://travis-ci.org/praekeltfoundation/travis-pyenv/jobs/239537668 Cached install: https://travis-ci.org/praekeltfoundation/travis-pyenv/jobs/239545868
https://travis-ci.org/Cobliteam/shelver/jobs/239411897
@danielkza the problem is that your PYENV_VERSION_STRING is set to PyPy3 5.7.0... the output of python --version for that Python is:
Python 3.5.3 (b16a4363e930f6401bceb499b9520955504c6cb0, Mar 21 2017, 12:36:24)
[PyPy 5.7.0-beta0 with GCC 6.3.0]
So PYENV_VERSION_STRING should be set to something like PyPy 5.7.0-beta0 rather.
Sorry, the logging here should be better. I've created #11 to work on that.