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
[x ] Make sure no duplicated issue has already been reported in the pyenv issues. You should look for closed issues, too.
[x ] Make sure you are not asking us to help solving your specific issue.
GitHub issues is opened mainly for development purposes. If you want to ask someone to help solving your problem, go to some community site like Gitter, StackOverflow, etc.
[x ] Make sure your problem is not derived from packaging (e.g. Homebrew).
Please refer to the package documentation for the installation issues, etc.
[ x] Make sure your problem is not derived from plugins.
This repository is maintaining pyenv and the default python-build plugin only. Please refrain from reporting issues of other plugins here.
Description
Not really a bug. Just a missing flag in a sub-command. --bare with versions is really useful in a test I'm building. Without it, versions is non-deterministic. e.g.,:
But, I pyenv version has no --bare so it would be non-deterministic if I used it.
~/git/github.com/pyenv/pyenv master ⇣
❯ pyenv version
3.11.5 (set by PYENV_VERSION environment variable)
~/git/github.com/pyenv/pyenv master* ⇣
❯ pyenv shell 3.9.18
~/git/github.com/pyenv/pyenv master* ⇣
❯ pyenv version
3.9.18 (set by PYENV_VERSION environment variable)
~/git/github.com/pyenv/pyenv master* ⇣
❯ unset PYENV_VERSION
~/git/github.com/pyenv/pyenv master* ⇣
❯ pyenv version
3.9.18 (set by /home/jwattenb/git/github.com/pyenv/pyenv/.python-version)
I know I could just focus on $PYENV_VERSION, but this does seem like inconsistent behavior, and the expected behavior doesn't seem too much more difficult.
The text was updated successfully, but these errors were encountered:
$ pyenv version --help
Usage: pyenv version
Shows the currently selected Python version(s) and how it was
selected. To obtain only the version string, use `pyenv
version-name'.
Too many issues will kill our team's development velocity, drastically.
Make sure you have checked all steps below.
Prerequisite
pyenv
and the defaultpython-build
plugin only. Please refrain from reporting issues of other plugins here.Description
Not really a bug. Just a missing flag in a sub-command.
--bare
withversions
is really useful in a test I'm building. Without it,versions
is non-deterministic. e.g.,:That makes sense because before I select it:
and after
Different output because it's decorated with the explanation, which is great, and it's also great to have the
--bare
option for parsing:So, now I can use it like this
But, I
pyenv version
has no--bare
so it would be non-deterministic if I used it.I know I could just focus on
$PYENV_VERSION
, but this does seem like inconsistent behavior, and the expected behavior doesn't seem too much more difficult.The text was updated successfully, but these errors were encountered: