Since the past week, the release job is failing due to a change in pyenv:
>>> [pyenv] Downloading and installing % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1687 100 1687 0 0 11635 0 --:--:-- --:--:-- --:--:-- 11797 Cloning into '/Users/travis/build/nuxeo/deploy-dir/.pyenv'... Cloning into '/Users/travis/build/nuxeo/deploy-dir/.pyenv/plugins/pyenv-doctor'... Cloning into '/Users/travis/build/nuxeo/deploy-dir/.pyenv/plugins/pyenv-installer'... Cloning into '/Users/travis/build/nuxeo/deploy-dir/.pyenv/plugins/pyenv-update'... Cloning into '/Users/travis/build/nuxeo/deploy-dir/.pyenv/plugins/pyenv-virtualenv'... Cloning into '/Users/travis/build/nuxeo/deploy-dir/.pyenv/plugins/pyenv-which-ext'... >>> [pyenv] Initializing WARNING: `pyenv init -` no longer sets PATH. Run `pyenv init` to see the necessary changes to make to your configuration. python-build: use openssl@1.1 from homebrew python-build: use readline from homebrew Downloading Python-3.9.5.tar.xz... -> https://www.python.org/ftp/python/3.9.5/Python-3.9.5.tar.xz Installing Python-3.9.5... python-build: use readline from homebrew Installed Python-3.9.5 to /Users/travis/build/nuxeo/deploy-dir/.pyenv/versions/3.9.5 >>> [pyenv] Using Python 3.9.5 >>> Verifying Python version in use >>> Python version is >>> Drive requires 3.9.5 The command "bash tools/$TRAVIS_OS_NAME/travis.sh" exited with 1.
Revelant link: https://github.com/pyenv/pyenv/issues/1906
The fix seems to be:
eval "$(pyenv init -)" + eval "$(pyenv init --path)"
- Is referenced in