3925 Commits
Author SHA1 Message Date
msaladna cf2ac2a87c Squelch shim notice 2026-11-27 16:00:29 +00:00
Ivan Pozdeev f5b59c5759 mark added scripts executable 2026-11-27 09:32:32 +03:00
Ivan Pozdeev 4837971469 Add profiling tools to codebase 2026-11-27 09:29:16 +03:00
Rohit Mulani 26de18044d python-build: log and print the build commands of the other flavors too (#3655) 2026-11-27 03:58:53 +03:00
Rohit Mulani 6f22e47bdd Merge pull request #3654 from rohitmulani63-ops/rustpython-releases
python-build: Add RustPython releases and add_rustpython.py
2026-11-27 03:00:58 +03:00
native-api aa6882a15c Merge pull request #3651 from macayu17/fix/binary-find-misc
python-build: miscellaneous fixes
2026-11-27 01:36:07 +03:00
Rohit Mulani e374f5625f python-build: print configure and make commands to the console (without envvars) (#3645) 2026-11-26 21:50:52 +03:00
Rohit Mulani 8eb39f5070 python-build: Add rustpython-dev (#3642) 2026-11-25 23:24:04 +03:00
Michael Šimáček f5bc93950b Add GraalPy 25.6.5 and 25.0.5.1 (#3653) 2026-11-25 04:26:13 +03:00
Ayush 26bee1720f python-build: preserve lsb_release query failures 2026-11-22 06:04:45 +03:00
Ayush 38c4826b09 pyenv-binary: stub readelf in metadata test 2026-11-22 06:04:02 +03:00
Rohit Mulani fc6046ccd0 init: explain what --install does and check every file before changing any (#3644) 2026-11-20 08:33:41 +03:00
Rohit Mulani 186b350c85 python-build: log configure and make invocations, with build variables (only flavors using the CPython build command) (#3641) 2026-11-19 01:38:15 +03:00
Jiuyi(Jeremy) Liu 2fbba7f390 pyenv-install: exclude alpha prereleases when resolving :latest (#3640) 2026-11-18 17:44:49 +03:00
Wei-Lun Li ff74777fa8 exec/which: don't launch the same lookups twice per shim call (#3636)
Cache the result of  `pyenv-version-name -f` in an internal envvar
2026-11-18 05:23:18 +03:00
Ayush de5e15ebaa pyenv-do: add as an alias to PYENV_VERSION=<version> pyenv exec (#3639) 2026-11-17 05:36:38 +03:00
Rajatendu DeyandRajatendu Dey ba617bb1f9 python-build: honor custom dependency header flags (#3633)
Co-authored-by: Rajatendu Dey <29519926+Rajatendu1@users.noreply.github.com>
2026-11-15 17:40:36 +03:00
IssennandumbralOptimatum 2e578d9738 init: Improve zsh init performance (#3638)
When deduplicating PATH, use zsh's $path and array replacement instead of starting a bash subprocess.

Speeds up `eval "$(pyenv init - zsh)"` by about 100ms (~20%).

---------

Co-authored-by: umbralOptimatum <umbralOptimatum@users.noreply.github.com>
2026-11-15 06:44:17 +03:00
e1065c334c python-build: add PYTHON_BUILD_MIRROR_NO_FALLBACK (#3620)
---------

Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-11-14 23:25:28 +03:00
native-api debb762757 python-build: fix false documentation about the effect of PYTHON_BUILD_MIRROR_URL_SKIP_CHECKSUM (#3635) 2026-11-14 02:04:00 +03:00
Rohit Mulani 20370c2e30 pyenv-versions: add -k/--known as an alias to pyenv install --list (#3634) 2026-11-13 20:44:09 +03:00
native-api ba16d2e91b python-build: don't fall back to openssl formula/port (#3631)
Homebrew now has versioned names for all available OpenSSL versions.
In MacPorts, `openssl` is a shim for the "current" port.

Falling back to an unknown OpenSSL version has caused confusing build failures
(e.g. #3629). Due to above, no need to do that anymore.
2026-11-12 00:01:34 +03:00
native-api ae309d0804 python_build: Build bundled OpenSSL with --libdir=lib (#3630)
Since 3.0.0 (openssl commit 74b7f339aa58af57c0e71b7efca66e6f2db5ae2e),
OpenSSL source build unconditionally puts libraries into
"lib<hardcoded_multilib_suffix>"
which there's no way to reliably find out
(https://github.com/openssl/openssl/discussions/32044).
2026-11-11 17:14:01 +03:00
Ivan Pozdeev 03ffc48ef3 2.8.15 2026-11-11 00:40:30 +03:00
native-api a46aa396cd Add miniforge3 26.9.4-2 (#3628) 2026-11-11 00:38:05 +03:00
native-api 37e276681c Add miniconda3 26.9.4 (#3627) 2026-11-11 00:37:52 +03:00
pyenv-bot[bot]andnative-api aee567fe4e Add CPython 3.16.0a2 (#3626)
Co-authored-by: native-api <2670332+native-api@users.noreply.github.com>
2026-11-11 00:12:37 +03:00
RollingAIandIvan Pozdeev 9e40c078c0 version-file: fix infinite loop in Bash <4.4 with some invalid PWD values inherited from environment (#3624)
---------

Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
2026-11-08 04:38:39 +03:00
Blues-berryandIvan Pozdeev 0dd55f83b6 docs: explain the python- version prefix (#3610)
---------

Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
2026-11-06 02:46:41 +03:00
Michael Šimáček 68a076e0a8 Add GraalPy 25.5.5 (#3622) 2026-11-03 20:11:59 +03:00
nk-batman21 be94f3539f pyenv-latest: keep the 't' suffix when printing an unresolved prefix back (#3621) 2026-11-03 13:11:57 +03:00
AyushandIvan Pozdeev e6669f0a84 python-build: share platform detection (#3618)
---------

Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
2026-11-01 05:53:45 +03:00
native-api 6b38999a60 CI: remove macos-14 (#3619)
GitHub has retired them
https://github.com/actions/runner-images/issues/13518
2026-10-31 22:56:28 +03:00
native-api 3e05a1ebf6 Add check for whitespace issues (#3616)
* Add check for whitespace issues

* editorconfig: add directives for whitespace issues

* pyenv.bats: filter empty line from definitions stub

Drop redundant empty item from `PYTHON_BUILD_DEFINITIONS`

* Fix whitespace issues
2026-10-31 22:25:29 +03:00
Andrej730 f17642d4b6 Fix whitespace issues 2026-10-31 15:31:13 +03:00
Andrej730 40f7ca6684 pyenv.bats: filter empty line from definitions stub
Drop redundant empty item from `PYTHON_BUILD_DEFINITIONS`
2026-10-31 15:30:37 +03:00
Andrej730 9153118dd0 editorconfig: add directives for whitespace issues 2026-10-31 15:28:06 +03:00
Andrej730 32c297e66c Add check for whitespace issues 2026-10-31 15:27:16 +03:00
nk-batman21andIvan Pozdeev 1f74f959e0 pyenv-latest: exclude free-threaded prereleases from prefix resolution (#3617)
---------

Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
2026-10-31 03:22:42 +03:00
native-api a2d0ea8903 Merge pull request #3614 from Andrej730/fix-commands-dylib
Fix broken `pyenv --help` when `.dylib` was compiled
2026-10-30 03:11:32 +03:00
native-api 81eef98787 Run CI tests in parallel; allow to pass Bats options (#3615)
Make tests about 1,5 times faster except `test-docker`
2026-10-30 02:54:18 +03:00
vulragrag-star 973bfbcd41 pyenv-latest: sort flavors with a dotted name (e.g. pypy2.7) by version (#3613)
The sort key only split off a flavor name made of alphanumerics, so
"pypy2.7-8.0.1" kept its hyphen and the PyPy version was erroneously compared from
the second numeric field.
2026-10-29 21:21:16 +03:00
Andrej730 e87149e9a1 CI: run full test suite with native extension built 2026-10-29 21:33:21 +05:00
Andrej730 cf4d2f13e1 Exclude .dylib from pyenv-commands
Since it's not actually a command, but a binary lib, and better avoid it
unexpectedly appearing in `commands`.
2026-10-29 21:33:21 +05:00
Andrej730 0dea25c4b3 Initialize summary/usage/help local vars
Fix currently broken `pyenv --help` when `.dylib` was compiled
   pyenv/libexec/pyenv-help: line 105: summary: unbound variable

And also return support for commands missing summary/usage/help (it
broke after `set -u` was added recently to all scripts, so the use of
variables got more strict).
2026-10-29 21:33:21 +05:00
eda-ai-botandeda-ai-bot c34a063004 pyenv-uninstall: list installed versions matching a missing version's prefix (#3611)
Middle ground helper due to `pyenv uninstall` not resolving prefixes

Co-authored-by: eda-ai-bot <eda-ai-bot@users.noreply.github.com>
2026-10-28 23:42:30 +03:00
native-api 9b9caf040a Add miniforge3 26.7.2-1, 26.9.4-0, 26.9.4-1 (#3608) 2026-10-26 22:57:00 +03:00
native-api 0cba573e15 Add miniconda3 26.9.3, 26.9.4 (#3607) 2026-10-26 21:36:12 +03:00
Ivan Pozdeev 3fb25668b4 2.8.14 2026-10-26 16:31:09 +03:00
native-api 674b83033a Prefer Tcl/Tk 9 for 3.15+ (#3606)
* Prefer Tcl/Tk 9 for 3.15+

Tcl/Tk 9 support seems to be official since 3.15.0 (gh-124111)
despite test failures.
2026-10-26 16:28:23 +03:00