Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyenv in gitpod/workspace-full is not up to date #987

Open
abeluck opened this issue Dec 2, 2022 · 2 comments
Open

pyenv in gitpod/workspace-full is not up to date #987

abeluck opened this issue Dec 2, 2022 · 2 comments
Labels
bug Something isn't working team: workspace

Comments

@abeluck
Copy link

abeluck commented Dec 2, 2022

Bug description

We cannot install the latest versions of python in our gitpod/workspace-full based image because pyenv is not up to date.

Steps to reproduce

Build this image:

FROM gitpod/workspace-full

RUN set -ex; \
    pyenv global system; \
    pyenv install 3.11.0

Results:

python-build: definition not found: 3.11.0

See all available versions with `pyenv install --list'.

If the version you need is missing, try upgrading pyenv:

  cd /home/gitpod/.pyenv/plugins/python-build/../.. && git pull && cd -

Expected behavior

the latest python versions should be installed

Example repository

No response

Anything else?

It's not easy for us to install pyenv ourselves since it is installed in /home/gitpod, which is ephemeral.

@abeluck abeluck added the bug Something isn't working label Dec 2, 2022
@xzmeng
Copy link

xzmeng commented Dec 2, 2022

RUN cd ~/.pyenv && git pull

@obaltian
Copy link

@xzmeng it is cool, but it is not comfortable for end user of such tool as gitpod.
Can be considered as a temporary workaround only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working team: workspace
Projects
No open projects
Status: No status
Development

No branches or pull requests

3 participants