You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our CI process use pre-built image with pyenv installed. Lucky we have no need to rebuild that image for half a year.
Problem
But this week I have need to make some minor changes in build-script, and after success build, I can not use that image, because pyenv have not been installed properly.
As I found out, it was because we have used installer to install pyenv: curl https://pyenv.run | bash
But the key problem is that installer use last version of installer to install last version of pyenv. For half a year last version have been changed and installation process have follow it. It is ok for any product to develop, even with breaking changes.
Questions and discussion
It is not ok, depends on last commit in repository of one of several dependencies. In that case reproducability restricted by time between 2 breaking changes commits.
So my question is how can I install specific version of pyenv?
If there is no way to install specific version of pyenv using pyenv-installer(or even specific version of installer), then let this issue would be a start of disscussion wheather it is really necessary feature?
The text was updated successfully, but these errors were encountered:
Prelude
Our CI process use pre-built image with pyenv installed. Lucky we have no need to rebuild that image for half a year.
Problem
But this week I have need to make some minor changes in build-script, and after success build, I can not use that image, because pyenv have not been installed properly.
As I found out, it was because we have used installer to install pyenv:
curl https://pyenv.run | bash
It is similar problem to:
#112
#103
And simple fix was to add some path to PATH)
Key problem
But the key problem is that installer use last version of installer to install last version of pyenv. For half a year last version have been changed and installation process have follow it. It is ok for any product to develop, even with breaking changes.
Questions and discussion
It is not ok, depends on last commit in repository of one of several dependencies. In that case reproducability restricted by time between 2 breaking changes commits.
So my question is how can I install specific version of pyenv?
One of ad-hoc solution i have asked on stackoverflow: https://stackoverflow.com/questions/69887414/how-can-i-install-specific-version-of-pyenv/69888820#69888820
If there is no way to install specific version of pyenv using pyenv-installer(or even specific version of installer), then let this issue would be a start of disscussion wheather it is really necessary feature?
The text was updated successfully, but these errors were encountered: