Ivan Pozdeev
40dba8256f
2.6.30
2 mesi fa
Ivan Pozdeev
a7cc776274
2.6.29
2 mesi fa
Ivan Pozdeev
485090e713
2.6.28
2 mesi fa
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 mesi fa
Ivan Pozdeev
914ff80062
2.6.27
3 mesi fa
native-api
044d816d35
which: update `pyenv help global` tip ( #3424 )
4 mesi fa
Jake Lodwick
6a246fad63
commands: fast path for --sh, replace sort|uniq with sort -u ( #3423 )
4 mesi fa
Ivan Pozdeev
174c61526f
2.6.26
4 mesi fa
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 mesi fa
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 mesi fa
Ivan Pozdeev
aa2e8b8260
2.6.25
4 mesi fa
Ivan Pozdeev
c89b6b46dc
2.6.24
4 mesi fa
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 mesi fa
Ivan Pozdeev
81befc1592
2.6.23
4 mesi fa
Ivan Pozdeev
57ec277d6a
2.6.22
5 mesi fa
Ivan Pozdeev
6d8c0e4021
2.6.21
5 mesi fa
Ivan Pozdeev
3441980e83
2.6.20
5 mesi fa
Ivan Pozdeev
92c9ab5273
2.6.19
6 mesi fa
Ivan Pozdeev
c62be31e8c
2.6.18
6 mesi fa
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 mesi fa
native-api
aa6c9b9694
init: don't silence automatic rehash; rehash: report final error but not provisional ones ( #3377 )
6 mesi fa
native-api
a944da76c0
rehash: support BSD mktemp ( #3376 )
macOS 12 `mktemp' doesn't support `-p`
6 mesi fa
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 mesi fa
Ivan Pozdeev
7418835908
Prevent infinite loop if a shim is linked and called from a nonstandard location with "system" active
6 mesi fa
Ivan Pozdeev
22b192913e
2.6.17
6 mesi fa
Ivan Pozdeev
e805257c1f
2.6.16
7 mesi fa
Ivan Pozdeev
a6ea5b3179
Fix rehash
7 mesi fa
native-api
0f7b8fa8ee
sh-rehash: Fix erroneously executing rather than printing a command ( #3369 )
7 mesi fa
native-api
6f0e2d3458
rehash: Fix hanging for 60 seconds when shims directory is not writable due to Linux Landlock ( #3367 )
7 mesi fa
Ivan Pozdeev
61d869f67e
2.6.15
7 mesi fa
Ivan Pozdeev
d1ae7fd65d
2.6.14
7 mesi fa
Ivan Pozdeev
fdde91269b
2.6.13
7 mesi fa
Ivan Pozdeev
c6ea700cdf
2.6.12
8 mesi fa
Ivan Pozdeev
94071a9374
2.6.11
9 mesi fa
Ivan Pozdeev
a419b003b4
2.6.10
9 mesi fa
Ivan Pozdeev
8087e811cd
2.6.9
9 mesi fa
Ivan Pozdeev
519ce9dbf0
2.6.8
9 mesi fa
rockandska
68edd564cf
update parent shell detection in pyenv-init to be more portable
10 mesi fa
Ivan Pozdeev
3dbdfdf39a
2.6.7
11 mesi fa
Ivan Pozdeev
d56241330c
2.6.6
11 mesi fa
Ivan Pozdeev
df84c42653
2.6.5
11 mesi fa
Ivan Pozdeev
0c680e8ede
2.6.4
1 anno fa
Ivan Pozdeev
f1c5371752
2.6.3
1 anno fa
Ivan Pozdeev
a71a378dac
2.6.2
1 anno fa
Ivan Pozdeev
b9ede4ae0e
2.6.1
1 anno fa
Ivan Pozdeev
bfbe76e6a9
2.6.0
1 anno fa
Jesse Wattenbarger
018ca73444
Add --bare option to `pyenv version` ( #2783 )
1 anno fa
Ivan Pozdeev
f216b4bfb1
2.5.7
1 anno fa
Ivan Pozdeev
6fff3d29d4
2.5.6
1 anno fa
Ivan Pozdeev
97993fcc26
2.5.5
1 anno fa