-
Type: Bug
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: NoFixVersionApplicable
-
Fix Version/s: Not yet scheduled version
-
Component/s: Tests
When pyenv is already present in the PATH, it does not work well with our deploy script:
$ export WORKSPACE="$HOME/projects" 17:52:17 ben@REDEV-BDELBOSC:~ $ cd projects/nuxeo-drive/ 17:52:22 (master) ben@REDEV-BDELBOSC:~/projects/nuxeo-drive $ ./tools/linux/deploy_ci_agent.sh --install PYTHON_DRIVE_VERSION = 3.9.5 WORKSPACE = /home/ben/projects WORKSPACE_DRIVE = /home/ben/projects/nuxeo-drive STORAGE_DIR = /home/ben/projects/deploy-dir >>> Verifying Python version in use >>> Drive requires Python '3.9.5'. >>> Current Python version ('$ ./venv/bin/python -Xutf8 -E -s --version'): /home/ben/projects/nuxeo-drive/tools/posix/deploy_ci_agent.sh: line 363: ./venv/bin/python: No such file or directory 17:52:26 (master) ben@REDEV-BDELBOSC:~/projects/nuxeo-drive $