Jesse Wattenbarger
7f47b3121f
Add --bare option to pyenv version
...
It just points at pyenv version-name. This adds consistency with the behavior
of `pyenv versions --bare`
2023-09-08 08:24:03 -04:00
Anton Petrov
791ae90aef
2.3.24
2023-08-11 02:20:36 -07:00
Anton Petrov
e908606554
v2.3.23
2023-07-22 16:08:35 +03:00
Anton Petrov
64c70feb08
Update pyenv---version
2023-07-08 22:37:24 +03:00
Anton Petrov
ba8b58f90d
2.3.21
2023-06-20 13:52:17 +03:00
native-api
fe76b05445
Fix occasional 'libexec/pyenv-latest: line 39: printf: write error: Broken pipe' ( #2729 )
2023-06-20 03:04:06 +03:00
Anton Petrov
43f40eca05
v2.3.20
2023-06-12 10:33:36 +03:00
Anton Petrov
e79dd97afa
v2.3.19
2023-06-08 12:18:16 +03:00
Anton Petrov
3fa5812bfc
Update pyenv---version
2023-05-25 11:23:39 +03:00
Kevin Schoedel
920ef1456a
Support ksh alternative names ( #2697 )
...
* Support ksh versions
Korn shell had two major versions: ’88 and ’93. Some systems have
ksh installed under the name `ksh93`. A few systems (maybe only
Solaris now) also have a `ksh88`. A few others use the `pdksh` (’88)
or `mksh` (’93) implementations, originated before ksh was open source.
Limit to currently-used versions
---------
Co-authored-by: Kevin Schoedel <kps@datatravelandexperiments.com>
2023-05-13 01:24:57 +03:00
native-api
20189ff06f
Fix not showing symlink contents for unselected versions in pyenv versions
( #2675 )
2023-04-08 01:12:09 +03:00
Anton Petrov
9a4f9c2511
2.3.17
2023-04-06 06:58:52 +03:00
Shengqi Chen
b1ee6c93c4
Try locate readlink
first in pyenv-hooks, fix #2654 ( #2655 )
...
* Remove all use of `greadlink`, fix #2654
Signed-off-by: Harry Chen <i@harrychen.xyz>
* revert greadlink back in tests
---------
Signed-off-by: Harry Chen <i@harrychen.xyz>
Co-authored-by: Anton Petrov <anton.a.petrov@gmail.com>
2023-03-28 11:25:27 +03:00
Petrov
9fad1f46c5
Update pyenv---version
2023-03-24 08:26:20 +03:00
Anton Petrov
f507d08064
Update pyenv---version
2023-03-10 09:03:23 +03:00
Anton Petrov
904dd5f828
Update pyenv---version
2023-03-01 08:25:31 +03:00
Florian Schüller
68918e69b7
Support for BusyBox version of `head' ( #2629 )
2023-02-22 20:11:48 +03:00
Rafał
86a4423bbb
Fix indentation ( #2620 )
2023-02-16 00:10:36 +03:00
Anton Petrov
0ab9683e58
2.3.13
2023-02-15 08:15:35 +03:00
laggardkernel
a7b181c3ca
Fix link resolving in pyenv-versions
...
Co-Authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
2023-02-06 19:22:38 +03:00
Ivan Pozdeev
72c5b034ca
Avoid the need to filter out envs in `pyenv-latest'
2023-02-02 18:24:17 +03:00
Ivan Pozdeev
446411dc64
Streamline `pyenv-versions --bare'
...
Achieves a ~20% speedup.
As it's used in pyenv-latest, this affects all version lookups
2023-02-02 18:15:47 +03:00
Ivan Pozdeev
9fe80f28e5
Add pyenv versions' option to skip envs for
pyenv-latest'
2023-02-02 18:15:13 +03:00
native-api
9248255f70
Show symlink contents in non-bare `pyenv versions' ( #2609 )
...
* Change other tests to use the newly-created convenience function
2023-02-02 17:24:19 +03:00
native-api
368e04f3fa
Fix pyenv-latest to ignore virtualenvs ( #2608 )
...
* Add test, exclude alphas as well
2023-02-02 15:15:16 +03:00
Anton Petrov
76e93b073e
2.3.12
2023-01-30 08:19:43 +03:00
native-api
c20fc7bd6a
Fix pyenv which
to support auto-resolved prefixes ( #2601 )
...
* Resolve version name that hooks see
* Avoid a 2nd iteration over configured versions
2023-01-22 18:22:26 +03:00
Anton Petrov
906246da4c
2.3.11
2023-01-15 12:43:34 +03:00
Anton Petrov
579c34e570
2.3.10
2023-01-10 19:03:00 +03:00
Ian Chen
f897c50202
Fix non-bash output while detecting shell ( #2561 )
...
Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
2022-12-25 02:35:03 +03:00
Anton Petrov
2bb59169db
2.3.9
2022-12-19 07:52:52 +03:00
Anton Petrov
3f0dd1962f
2.3.8
2022-12-08 10:07:26 +03:00
Anton Petrov
58bbbf8880
Merge pull request #2540 from ianchen-tw/detect-shell
...
Export detected shell environment in pyenv-init
2022-12-02 18:07:11 +03:00
Ian Chen
c1674cd552
Detect shell
2022-12-02 00:22:50 +08:00
Anton Petrov
59c560893a
2.3.7
2022-12-01 10:15: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
native-api
ed1083ec27
Fix resolution of a name that's a prefix of another name ( #2521 )
2022-11-10 04:46:14 +03:00
Rust Saiargaliev
6da0e89207
2.3.6
2022-11-03 09:26:31 +01: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
native-api
a12f947cc3
Auto-resolve prefixes to the latest version ( #2487 )
2022-10-30 03:38:40 +03:00
native-api
0b5e16add3
Fix invalid syntax error in pyenv init -
if PYENV_ROOT has spaces ( #2506 )
2022-10-29 23:08:02 +03:00
Ivan Pozdeev
ea6085e3f3
2.3.5
2022-10-08 20:49:49 +03:00
Ivan Pozdeev
2b22145670
2.3.4
2022-09-04 01:54:33 +03:00
James Stronz
47b0ce77c0
Re-allow paths in .python-version provided that they resolve to within the versions dir ( #2442 )
...
* Fixes #2430 while still preventing CVE-2022-35861
* Adds a skipped version message to stderr
Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
2022-09-03 22:37:53 +03:00
Ivan Pozdeev
37a6070855
2.3.3
2022-08-02 23:59:30 +03:00
James Stronz
22fa683571
CVE-2022-35861: Fixed relative path traversal due to using version string in path ( #2412 )
2022-07-17 01:01:04 +03:00
Pedro Fonini
fdaeaf1f97
Use version sort in pyenv versions
if available ( #2405 )
2022-07-10 23:00:51 +03:00
Ivan Pozdeev
304515f2cd
2.3.2
2022-06-30 16:04:22 +03:00
Ivan Pozdeev
8ff6507f80
2.3.1
2022-05-29 19:50:13 +03:00
native-api
e676fde990
Fix endless loop in pyenv init -
under SSH in some shell setups ( #2374 )
2022-05-18 16:15:05 +03:00