pyenv/test
Ed Morley d60d1c5cdc
Fix latest version resolution when using python- prefix (#3056)
Fixes use of version specifiers like `python-3.12`, which:
- have an explicit `python-` prefix
- are using a major version alias that has to be resolved
  to an exact version.

Also simplified the conditional for the already
working case, since it had two branches that were virtually identical.
2024-09-10 18:51:55 +03:00
..
libexec Revert "Merge pull request #1153 from cmcginty/remove-sbang" 2019-04-23 10:23:33 -04:00
--version.bats Workaround for CI failures with versions with multiple digits 2017-03-28 04:43:28 +00:00
commands.bats Import tests from rbenv with sed -e s/rbenv/pyenv/g 2014-01-03 02:06:36 +09:00
completions.bats Merge remote-tracking branch 'rbenv/master' into rbenv-20151121 2015-11-21 04:21:14 +00:00
exec.bats allow for sys.executable to be different 2021-09-21 05:07:06 +03:00
global.bats Merge remote-tracking branch 'rbenv/master' into rbenv-1.0 2016-03-02 01:39:52 +00:00
help.bats Import tests from rbenv with sed -e s/rbenv/pyenv/g 2014-01-03 02:06:36 +09:00
hooks.bats Merge remote-tracking branch 'rbenv/master' into rbenv-1.0 2016-03-02 01:39:52 +00:00
init.bats Handle case where pyenv-commands --sh returns nothing (#2908) 2024-02-26 00:07:52 +03:00
latest.bats pyenv-latest: replace -q with -b and -f, document as internal 2024-07-21 06:31:42 +03:00
local.bats Merge remote-tracking branch 'rbenv/master' into rbenv-1.0 2016-03-02 01:39:52 +00:00
prefix.bats consistent message 2021-09-21 05:07:12 +03:00
pyenv.bats Add /usr/etc/pyenv.d to hooks path (#3039) 2024-08-24 12:38:54 +03:00
pyenv_ext.bats Revert "add tests for PYENV_FILE_ARG" 2021-02-16 23:46:08 +03:00
rehash.bats Add basic test for rehash wait 2018-04-24 00:42:47 +00:00
run Import rbenv changes at 7e0e85bdda 2014-12-01 00:29:26 +09:00
shell.bats Make work in nounset (-u) mode 2021-02-23 22:29:56 +02:00
shims.bats Import tests from rbenv with sed -e s/rbenv/pyenv/g 2014-01-03 02:06:36 +09:00
test_helper.bash Show output for assert_line() and refure_line() 2022-05-02 04:46:00 +03:00
version-file-read.bats Re-allow paths in .python-version provided that they resolve to within the versions dir (#2442) 2022-09-03 22:37:53 +03:00
version-file-write.bats Modify applications and versions for Python 2014-01-03 04:41:23 +09:00
version-file.bats Merge remote-tracking branch 'rbenv/master' into rbenv-20180402 2018-04-02 01:46:48 +00:00
version-name.bats Fix latest version resolution when using python- prefix (#3056) 2024-09-10 18:51:55 +03:00
version-origin.bats Merge remote-tracking branch 'rbenv/master' into rbenv-20180402 2018-04-02 01:46:48 +00:00
version.bats Merge remote-tracking branch 'rbenv/master' into rbenv-20151121 2015-11-21 04:21:14 +00:00
versions.bats Fix intermittent "broken pipe" in version sort test (#2817) 2023-10-12 22:09:48 +03:00
whence.bats Modify applications and versions for Python 2014-01-03 04:41:23 +09:00
which.bats Speed up pyenv prefix by not constructing advice text when it would be discarded (#3005) 2024-07-04 03:49:12 +03:00