This repository was archived by the owner on Jun 15, 2022. It is now read-only.
Latest python environment variable to workaround pyenv missing latest version#195
Open
Latest python environment variable to workaround pyenv missing latest version#195
Conversation
SilverSearcher isnt available by default, so use grep instead.
If brew gets a version of Python before the released version of pyenv, then pyenv installation will fail. This adds an environment variable LATEST_PYTHON_3 that can be used to override the version discovered from brew.
|
@18F/tts-tech-portfolio we should assign someone to this card |
|
Moved to Draft/WIP since it is a Laptop Script pull request and the fate of the laptop script is currently being decided through GSA-TTS/handbook#2186 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If brew gets a version of Python before the released version of pyenv, then pyenv installation will fail. This is the currently the case with Python 3.8.4 which is in brew, but not yet in a released version of pyenv.
This adds an environment variable $LATEST_PYTHON_3 that can be used to override the version discovered from brew.
I didn't add this to the README because there wasn't an obvious place for it and it should be needed very, very infrequently and hopefully the error message is clear enough.