Commit graph

24 commits

Author SHA1 Message Date
Jesse Wattenbarger 018ca73444
Add --bare option to pyenv version (#2783) 2025-05-17 18:23:25 +03:00
native-api dc873cf568
Support missing versions being present and set in a local .python-version (#3134)
Some checks failed
macos_build / macos_build (3.10) (push) Waiting to run
macos_build / macos_build (3.11) (push) Waiting to run
macos_build / macos_build (3.12) (push) Waiting to run
macos_build / macos_build (3.13) (push) Waiting to run
macos_build / macos_build (3.9) (push) Waiting to run
pyenv_tests / pyenv_tests (macos-13) (push) Waiting to run
pyenv_tests / pyenv_tests (macos-14) (push) Waiting to run
pyenv_tests / pyenv_tests (ubuntu-20.04) (push) Waiting to run
pyenv_tests / pyenv_tests (ubuntu-22.04) (push) Failing after 1s
ubuntu_build / ubuntu_build (3.10) (push) Failing after 1s
ubuntu_build / ubuntu_build (3.11) (push) Failing after 0s
ubuntu_build / ubuntu_build (3.12) (push) Failing after 0s
ubuntu_build / ubuntu_build (3.13) (push) Failing after 1s
ubuntu_build / ubuntu_build (3.9) (push) Failing after 1s
Requested in https://github.com/pyenv/pyenv/issues/2680
for deployments with a stock `.pyenv-version` that can use any
of a number of Python versions
and for compatibility with `uv`.

* Support `pyenv local --force`
* Support `pyenv-version-file-write --force`
* Support `pyenv version-name --force`
* Ignore missing versions when searching for executables
* Display "commmand not found" even when there are nonexistent versions

* exec.bats: replace `python` and `rspec` with something that doesn't exist globally, either
in Ubuntu Github CI, `python` exists globally
2024-12-16 02:32:45 +03:00
Isaac Levy cc56f76733
Add --no-push-path option (#2526)
In some advanced shell setups, the order of custom-added PATH entries is important.
We disregard it by default, always pushing shims to the front of PATH,
to ensure that Pyenv works even in poorly maintained shell environments
and with minimal hassle for non-export users
(an attempt to do the opposite (#1898) has ended in a disaster).
Some advanced users are however ready and able to carefully maintain their environment
and deal with breakages and inconvenience. This option is for them.
2022-11-19 00:01:59 +03:00
Ivan Pozdeev e03118235a Improve prefix resolution documentation 2022-10-30 21:38:06 +03:00
Ivan Pozdeev 4a031504db Document prefix auto-resolution et al.
* Document listing available versions in the tutorial (#1677)
* Reflect 3.7.15's extended support
* Document using development head with Homebrew
* Structurize the Upgrading section
* Fix Pyenv-latest documentation
2022-10-30 05:28:53 +03:00
hardikpnsp afeb971fa2
Add support for multiple versions in pyenv uninstall (#2432) 2022-08-15 20:25:46 +03:00
Hay Kranen cdccbd0ba3
Add :latest syntax to documentation for the install command (#2351) 2022-05-04 03:20:16 +03:00
Ville Skyttä ee6ef20859
docs(pyenv-prefix): note support for multiple versions (#2270) 2022-03-09 05:33:01 +03:00
sandipanpanda cfe2aba670
Add definition of pyenv help in COMMANDS.md (#2139) 2021-10-30 22:11:42 +03:00
amd-9 c0d8b9cfe8
Add documentation for init command (#2125) 2021-10-25 15:30:50 +03:00
amd-9 13efdea9ab
Add documentation for completions command (#2126) 2021-10-24 23:33:32 +03:00
sandipanpanda 0688b17cc1
Add documentation for exec command (#2090) 2021-10-02 23:15:18 +03:00
sandipanpanda bb6a747c02
Add documentation for shims command (#2091) 2021-10-02 23:10:37 +03:00
sandipanpanda 681d31bc36
Add documentation for hooks command (#2089) 2021-10-02 20:00:24 +03:00
sandipanpanda 3b1bc86031
Add documentation for root command (#2088)
* Add documentation for root command
2021-10-02 19:58:56 +03:00
sandipanpanda 6139b51af4
Add documentaion for prefix command (#2087) 2021-10-02 19:54:12 +03:00
Anton Petrov c010935abd
Update COMMANDS.md 2021-04-09 10:46:22 +03:00
menduo ff666ab489 replace github.com/yyuu with github.com/pyenv 2017-04-17 11:59:53 +08:00
Francis T. O'Donovan 1fc3b48907 Rearrange 'pyenv install' sections in COMMANDS.md
I noticed that there were 3 sections for `pyenv install`, so I've rearranged these to make 1 section.
2016-09-15 09:28:54 -04:00
Patrick Arminio 2de5ca0846 Documenting the skip-existing option for install 2016-02-05 09:50:02 +01:00
Zearin addec6339f COMMANDS.md: Match order of commands from pyenv --help
Also added `help` output for `pyenv {,un}install`, since those sections didn’t exist before.

They should probably be revised at some point.  In the meantime, I think something is better than nothing (in this case).
2014-03-20 09:33:32 -04:00
Zearin abab44df80 COMMANDS.md: Add commands from pyenv --help 2014-03-20 09:24:31 -04:00
Zearin 4afa280066 COMMANDS.md: Minor formatting 2014-03-20 09:20:20 -04:00
Zearin 0933c40179 Move command reference to COMMANDS.md 2014-03-20 09:13:15 -04:00