Michał
b8c7b387bf
send diagnostics to stderr
...
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-09-08 12:15:23 +02:00
Romwierz
fbd0abd3f7
check if multiple Python versions are selected and use the first one
2026-09-08 12:05:04 +02:00
Michał
2eb849102a
fix lengths of lines
...
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-09-08 11:12:38 +02:00
Michał
4113b2d9f7
add warning about setting envvars
...
Co-authored-by: native-api <vano@mail.mipt.ru>
2026-09-08 10:49:16 +02:00
Michał
63548e129f
fix libexec/pyenv-exec
...
Make sure the $LD_LIBRARY_PATH does not have a trailing colon.
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-09-07 19:25:58 +02:00
Romwierz
a4f80ce23f
pyenv-exec: add option to modify python runtime for the called executable
...
The only variables modified are $PYTHONHOME and $LD_LIBRARY_PATH which will allow the executable to use the shared library of the Python version which is selected with pyenv.
2026-09-07 18:26:48 +02:00
Ivan Pozdeev
c293de3650
2.8.5
build / discover_build_logic_change (push) Waiting to run
build / build (push) Blocked by required conditions
pyenv_tests / pyenv_tests (macos-14) (push) Waiting to run
pyenv_tests / pyenv_tests (macos-15) (push) Waiting to run
pyenv_tests / pyenv_tests (macos-15-intel) (push) Waiting to run
pyenv_tests / pyenv_tests (macos-26) (push) Waiting to run
pyenv_tests / pyenv_tests (ubuntu-22.04-arm) (push) Waiting to run
pyenv_tests / pyenv_tests (ubuntu-24.04) (push) Waiting to run
pyenv_tests / pyenv_tests (ubuntu-24.04-arm) (push) Waiting to run
pyenv_tests / pyenv_tests_docker (push) Waiting to run
pyenv_tests / pyenv_tests (ubuntu-22.04) (push) Failing after 1s
2026-09-01 18:05:40 +03:00
Michael Newman
981559003f
Fix typo
pyenv_tests / pyenv_tests (ubuntu-22.04) (push) Failing after 0s
pyenv_tests / pyenv_tests (macos-15) (push) Has been cancelled
pyenv_tests / pyenv_tests (macos-15-intel) (push) Has been cancelled
pyenv_tests / pyenv_tests (macos-26) (push) Has been cancelled
pyenv_tests / pyenv_tests (ubuntu-22.04-arm) (push) Has been cancelled
pyenv_tests / pyenv_tests (ubuntu-24.04) (push) Has been cancelled
pyenv_tests / pyenv_tests (ubuntu-24.04-arm) (push) Has been cancelled
pyenv_tests / pyenv_tests_docker (push) Has been cancelled
build / discover_build_logic_change (push) Has been cancelled
pyenv_tests / pyenv_tests (macos-14) (push) Has been cancelled
build / build (push) Has been cancelled
2026-08-29 15:01:30 +03:00
native-api
b0cff001ff
tests: Fix "cd: null directory" in OpenSUSE ( #3524 )
...
A workaround because tests don't use the Pyenv launcher and setting PYENV_DIR to $PWD at every run invocation is too cumbersome.
2026-08-25 22:43:59 +03:00
Michael Newman
234a87e400
Fix typo
2026-08-17 01:51:28 +03:00
Ivan Pozdeev
0f16606e4f
2.8.4
2026-08-13 15:08:51 +03:00
Ivan Pozdeev
1a591b3963
Avoid extra iteration for argument with a trailing slash
2026-08-10 12:56:57 +03:00
Ivan Pozdeev
48e70e1fe9
Only test for UNC paths every iteration if they are special
2026-08-10 12:55:19 +03:00
付典
195b9fe940
version-file: Fix infinite loop for relative paths
...
find_local_version_file reduces its target with ${root%/*}, but that leaves a slash-less relative argument such as "." unchanged, leading to an infinite loop
Signed-off-by: 付典 <fudianchn@gmail.com>
2026-08-10 12:49:53 +03:00
Ivan Pozdeev
da172db42d
2.8.3
2026-08-05 22:08:09 +03:00
Ivan Pozdeev
9e4d1ca95a
2.8.2
2026-08-04 23:10:49 +03:00
Ivan Pozdeev
bec9a562a5
2.8.1
2026-07-18 22:02:09 +03:00
Ivan Pozdeev
135adbb192
2.8.0
2026-07-13 21:01:27 +03:00
native-api
b3a3e702f1
version-name: skip redundant checks ( #3492 )
macos_build / macos_build (3.10) (push) Has been cancelled
macos_build / macos_build (3.11) (push) Has been cancelled
macos_build / macos_build (3.12) (push) Has been cancelled
macos_build / macos_build (3.13) (push) Has been cancelled
macos_build / macos_build (3.14) (push) Has been cancelled
pyenv_tests / pyenv_tests (macos-14) (push) Has been cancelled
pyenv_tests / pyenv_tests (macos-15) (push) Has been cancelled
pyenv_tests / pyenv_tests (macos-15-intel) (push) Has been cancelled
pyenv_tests / pyenv_tests (macos-26) (push) Has been cancelled
pyenv_tests / pyenv_tests (ubuntu-22.04) (push) Has been cancelled
pyenv_tests / pyenv_tests (ubuntu-24.04) (push) Has been cancelled
ubuntu_build / ubuntu_build (3.10) (push) Has been cancelled
ubuntu_build / ubuntu_build (3.11) (push) Has been cancelled
ubuntu_build / ubuntu_build (3.12) (push) Has been cancelled
ubuntu_build / ubuntu_build (3.13) (push) Has been cancelled
ubuntu_build / ubuntu_build (3.14) (push) Has been cancelled
2026-07-11 08:24:01 +03:00
native-api
95df7dbc7b
Merge commit from fork
2026-07-11 07:22:46 +03:00
Yo Takezawa
3974647f0f
rehash: fix race condition in landlock writability check ( #3483 )
2026-06-26 21:04:33 +03:00
Ivan Pozdeev
933d0aaf1d
2.7.3
2026-06-24 05:14:13 +03:00
Ivan Pozdeev
b43c9e5d42
2.7.2
2026-06-10 23:16:50 +03:00
Anup Das
cf6f3c3200
fix(rehash): prevent terminal hang caused by stale or sandbox-blocked lock file ( #3469 )
...
* reduce stale lock TTL to 2 min, check for stale lock before acquiring and each time -- to hold up new shell sessions for as little as possible
---------
Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
2026-06-04 22:36:11 +03:00
Ivan Pozdeev
45180928d3
2.7.1
2026-06-03 09:09:54 +03:00
Ayush
455d1a31db
init: add --install for shell setup ( #3454 )
2026-06-03 01:13:07 +03:00
Ivan Pozdeev
29057a6c69
2.6.32
2026-05-31 06:20:35 +03:00
native-api
70f096a95c
rehash: detect and remove a stale lockfile ( #3450 )
...
fixes stalling for 60s and failing if some past fault
has resulting in a stale lockfile being present
---------
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-05-17 09:38:23 +03:00
Ivan Pozdeev
c639152ac7
2.6.31
2026-05-11 01:39:26 +03:00
Ivan Pozdeev
40dba8256f
2.6.30
2026-05-08 17:37:31 +03:00
Ivan Pozdeev
a7cc776274
2.6.29
2026-05-08 03:54:43 +03:00
Ivan Pozdeev
485090e713
2.6.28
2026-04-29 08:26:10 +03:00
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
2026-04-24 00:34:40 +03:00
Ivan Pozdeev
914ff80062
2.6.27
2026-04-08 18:26:46 +03:00
native-api
044d816d35
which: update pyenv help global tip ( #3424 )
2026-03-14 11:23:19 +03:00
Jake Lodwick
6a246fad63
commands: fast path for --sh, replace sort|uniq with sort -u ( #3423 )
2026-03-13 13:56:23 +03:00
Ivan Pozdeev
174c61526f
2.6.26
2026-03-11 01:37:45 +03:00
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)
2026-03-07 13:09:14 +03:00
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)
2026-03-04 10:02:44 +03:00
Ivan Pozdeev
aa2e8b8260
2.6.25
2026-03-03 20:06:38 +03:00
Ivan Pozdeev
c89b6b46dc
2.6.24
2026-03-03 08:17:57 +03:00
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.
2026-03-02 00:36:24 +03:00
Ivan Pozdeev
81befc1592
2.6.23
2026-02-17 02:38:47 +03:00
Ivan Pozdeev
57ec277d6a
2.6.22
2026-02-04 03:52:39 +03:00
Ivan Pozdeev
6d8c0e4021
2.6.21
2026-02-03 23:46:41 +03:00
Ivan Pozdeev
3441980e83
2.6.20
2026-01-15 07:05:06 +03:00
Ivan Pozdeev
92c9ab5273
2.6.19
2026-01-14 04:11:02 +03:00
Ivan Pozdeev
c62be31e8c
2.6.18
2026-01-10 06:16:21 +03:00
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>
2025-12-24 10:00:09 +03:00
native-api
aa6c9b9694
init: don't silence automatic rehash; rehash: report final error but not provisional ones ( #3377 )
2025-12-21 07:21:30 +03:00