Ivan Pozdeev
485090e713
2.6.28
2 months ago
native-api
6481d1451d
pyenv-latest: fast path for when there is an exact match ( #3437 )
Avoids O(N^2) complexity when `pyenv-latest` is called in a loop
for existing entries
2 months ago
Ivan Pozdeev
914ff80062
2.6.27
3 months ago
native-api
044d816d35
which: update `pyenv help global` tip ( #3424 )
4 months ago
Jake Lodwick
6a246fad63
commands: fast path for --sh, replace sort|uniq with sort -u ( #3423 )
4 months ago
Ivan Pozdeev
174c61526f
2.6.26
4 months ago
native-api
8037f22665
rehash: streamline executables discovery; fix regression ( #3418 )
Separate the corner-cutting code for `rehash' into a dedicated branch.
Saves some more time (about 100ms for the large fixture)
4 months ago
Jake Lodwick
23bcdebe18
versions: fast path for --bare --skip-aliases ( #3411 )
Skip sort, native extension probe, and per-symlink realpath
when called with --bare --skip-aliases (the rehash case).
Use readlink to distinguish internal aliases (relative target)
from external installs (absolute target).
In MacOS, speeds up rehash by 5.2 ms (7%) in empty environment,
55.9 ms (33%) in a regular environment (3 ver, 12 venvs, 320 bins),
93.7 ms (15%) in a large environment (6 ver, 60 venvs, 1466 bins)
4 months ago
Ivan Pozdeev
aa2e8b8260
2.6.25
4 months ago
Ivan Pozdeev
c89b6b46dc
2.6.24
4 months ago
Jake Lodwick
47871b2dc3
rehash: drop redundant sort -u from make_shims call ( #3410 )
register_shim() already deduplicates via associative array (bash 4+) or
by checking if a shim already exists (bash 3.2). The sort -u pipe in the make_shims
call is thus redundant -- the dedup happens downstream regardless. Shim
creation is order-independent and idempotent, so sorting has no semantic
effect either.
Saves one subprocess fork during every rehash invocation.
4 months ago
Ivan Pozdeev
81befc1592
2.6.23
4 months ago
Ivan Pozdeev
57ec277d6a
2.6.22
5 months ago
Ivan Pozdeev
6d8c0e4021
2.6.21
5 months ago
Ivan Pozdeev
3441980e83
2.6.20
6 months ago
Ivan Pozdeev
92c9ab5273
2.6.19
6 months ago
Ivan Pozdeev
c62be31e8c
2.6.18
6 months ago
rockandska
2c38423a98
pyenv launcher: introduce and export _PYENV_INSTALL_PREFIX ( #3334 )
provides a reliable way for Pyenv code to locate other parts of Pyenv code that are not under `PYENV_ROOT`
* tests: Work with Git entirely in a test repo
Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
6 months ago
native-api
aa6c9b9694
init: don't silence automatic rehash; rehash: report final error but not provisional ones ( #3377 )
6 months ago
native-api
a944da76c0
rehash: support BSD mktemp ( #3376 )
macOS 12 `mktemp' doesn't support `-p`
6 months ago
Florian Blanchet
aeea3ac825
Add PowerShell support ( #2749 )
Co-authored-by: Ivan Pozdeev <ivan_pozdeev@mail.ru>
Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
6 months ago
Ivan Pozdeev
7418835908
Prevent infinite loop if a shim is linked and called from a nonstandard location with "system" active
6 months ago
Ivan Pozdeev
22b192913e
2.6.17
6 months ago
Ivan Pozdeev
e805257c1f
2.6.16
7 months ago
Ivan Pozdeev
a6ea5b3179
Fix rehash
7 months ago
native-api
0f7b8fa8ee
sh-rehash: Fix erroneously executing rather than printing a command ( #3369 )
7 months ago
native-api
6f0e2d3458
rehash: Fix hanging for 60 seconds when shims directory is not writable due to Linux Landlock ( #3367 )
7 months ago
Ivan Pozdeev
61d869f67e
2.6.15
7 months ago
Ivan Pozdeev
d1ae7fd65d
2.6.14
7 months ago
Ivan Pozdeev
fdde91269b
2.6.13
7 months ago
Ivan Pozdeev
c6ea700cdf
2.6.12
8 months ago
Ivan Pozdeev
94071a9374
2.6.11
9 months ago
Ivan Pozdeev
a419b003b4
2.6.10
9 months ago
Ivan Pozdeev
8087e811cd
2.6.9
9 months ago
Ivan Pozdeev
519ce9dbf0
2.6.8
9 months ago
rockandska
68edd564cf
update parent shell detection in pyenv-init to be more portable
10 months ago
Ivan Pozdeev
3dbdfdf39a
2.6.7
11 months ago
Ivan Pozdeev
d56241330c
2.6.6
11 months ago
Ivan Pozdeev
df84c42653
2.6.5
11 months ago
Ivan Pozdeev
0c680e8ede
2.6.4
1 year ago
Ivan Pozdeev
f1c5371752
2.6.3
1 year ago
Ivan Pozdeev
a71a378dac
2.6.2
1 year ago
Ivan Pozdeev
b9ede4ae0e
2.6.1
1 year ago
Ivan Pozdeev
bfbe76e6a9
2.6.0
1 year ago
Jesse Wattenbarger
018ca73444
Add --bare option to `pyenv version` ( #2783 )
1 year ago
Ivan Pozdeev
f216b4bfb1
2.5.7
1 year ago
Ivan Pozdeev
6fff3d29d4
2.5.6
1 year ago
Ivan Pozdeev
97993fcc26
2.5.5
1 year ago
Ivan Pozdeev
abf1376487
2.5.4
1 year ago
Ivan Pozdeev
5051a42b2c
2.5.3
1 year ago