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