Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-38772

Add support for multiple versions with advanced local usage

      PyEnv is smart enough to interpret PYENV_VERSION=1.2:3.4 as local versions 1.2 and 3.4. It would be nice if we could specify these; as well as specify multiple versions in .python-versions.

      Currently I see only two small issues when trying to do the above:

      1. The plugin attempts to install a version of python exactly matching PYENV_VERSION. To support multiple versions we'd have to split the value by ":".
      2. The plugin reads .python-versions as is, so it ends up specifying multiple versions as line break separated "1.2\n3.4" which again fails for installation, as well as usage. Here we'd have to split by "line-break" and then join again by ":".

          [JENKINS-38772] Add support for multiple versions with advanced local usage

          Pavel Savshenko created issue -
          Pavel Savshenko made changes -
          Assignee New: Pavel Savshenko [ asfaltboy ]
          Pavel Savshenko made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Pavel Savshenko made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Basil Crow made changes -
          Resolution New: Won't Fix [ 2 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

            asfaltboy Pavel Savshenko
            asfaltboy Pavel Savshenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: