Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2690

Cannot use the deploy script when pyenv is already installed on the OS

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: NoFixVersionApplicable
    • Fix Version/s: Not yet scheduled version
    • Component/s: Tests

      Description

      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
      $ 
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.