526 Commits

Author SHA1 Message Date
Charlie (cshen.dev)
387f627464 docs: fix the link to Pyenv shell setup steps (#516)
Some checks failed
tests / tests (macos-13) (push) Has been cancelled
tests / tests (macos-14) (push) Has been cancelled
tests / tests (macos-15) (push) Has been cancelled
tests / tests (ubuntu-22.04) (push) Has been cancelled
tests / tests (ubuntu-24.04) (push) Has been cancelled
2025-09-22 08:36:00 +03:00
Seokhee Park
4b3f5f8468 docs: add WSL note about core.autocrlf to prevent CRLF issues (#512)
Some checks failed
tests / tests (macos-13) (push) Has been cancelled
tests / tests (macos-14) (push) Has been cancelled
tests / tests (macos-15) (push) Has been cancelled
tests / tests (ubuntu-22.04) (push) Has been cancelled
tests / tests (ubuntu-24.04) (push) Has been cancelled
2025-05-17 10:19:25 +03:00
Ivan Pozdeev
3057e1549b [CI] Update environments
Some checks failed
tests / tests (macos-13) (push) Has been cancelled
tests / tests (macos-14) (push) Has been cancelled
tests / tests (macos-15) (push) Has been cancelled
tests / tests (ubuntu-22.04) (push) Has been cancelled
tests / tests (ubuntu-24.04) (push) Has been cancelled
ubuntu-20.04 is dropped, macos-15 is available
2025-05-06 19:14:54 +03:00
Jason N. White
aa9b8e9a5a Update LICENSE, fix license year (#499)
Some checks failed
tests / tests (macos-13) (push) Has been cancelled
tests / tests (macos-14) (push) Has been cancelled
tests / tests (ubuntu-20.04) (push) Has been cancelled
tests / tests (ubuntu-22.04) (push) Has been cancelled
Signed-off-by: JasonnnW3000 <sufssl04@gmail.com>
2025-01-01 20:46:21 +03:00
native-api
e8c8fd9b84 Fix errorneously creating a symlink inside env directory if running with -f (#496)
Some checks failed
tests / tests (macos-13) (push) Has been cancelled
tests / tests (macos-14) (push) Has been cancelled
tests / tests (ubuntu-20.04) (push) Has been cancelled
tests / tests (ubuntu-22.04) (push) Has been cancelled
2024-12-08 23:30:27 +03:00
native-api
db299cada3 Fix confusing activate/deactivate error messages (#495) 2024-12-08 21:43:35 +03:00
native-api
c6bb0694bf Fix pyenv-virtualenv using a different Python version in a conda environment (#492)
Some checks failed
tests / tests (macos-13) (push) Has been cancelled
tests / tests (macos-14) (push) Has been cancelled
tests / tests (ubuntu-20.04) (push) Has been cancelled
tests / tests (ubuntu-22.04) (push) Has been cancelled
Allow output checking with wildcards
2024-11-25 00:54:05 +03:00
Zac Holland
28cd9be54e README: fix and distinguish syntax highlighting in Bash vs Fish snippets (#489)
Some checks failed
tests / tests (macos-13) (push) Has been cancelled
tests / tests (macos-14) (push) Has been cancelled
tests / tests (ubuntu-20.04) (push) Has been cancelled
tests / tests (ubuntu-22.04) (push) Has been cancelled
Co-authored-by: native-api <vano@mail.mipt.ru>
2024-09-18 22:08:52 +03:00
Jovier Jimenez
d4c9655e26 Add prompt customization (#476)
Some checks failed
tests / tests (macos-13) (push) Has been cancelled
tests / tests (macos-14) (push) Has been cancelled
tests / tests (ubuntu-20.04) (push) Has been cancelled
tests / tests (ubuntu-22.04) (push) Has been cancelled
2024-09-15 09:40:44 +03:00
Ivan Pozdeev
e9b88cc366 1.2.4 v1.2.4 2024-07-22 00:37:02 +03:00
native-api
d811b3fef2 Merge pull request #484 from native-api/pyenv_latest_f
Reflect pyenv-latest switch change in 2.4.8
2024-07-22 00:34:28 +03:00
Ivan Pozdeev
d6756cab9b CI: bump macos
Github dropped macos-11, introduced 13 and 14
2024-07-22 00:32:59 +03:00
Ivan Pozdeev
6179ac76c4 Reflect pyenv-latest switch change in 2.4.8 2024-07-21 23:31:47 +03:00
Alex Galonsky
cf45718a1b README: Remove dollar signs from commands that are meant to be copied (#481) 2024-06-27 20:16:45 +03:00
native-api
37917069ec Fix failing to detect -m venv when "python" is not provided by the distro (#479) 2024-04-10 00:14:13 +03:00
Ivan Pozdeev
b90bd92853 1.2.3 v1.2.3 2024-04-07 22:59:10 +03:00
Ivan Pozdeev
33f54ecad9 Add maintenance guide 2024-04-07 22:50:45 +03:00
native-api
f8469a1c67 Merge pull request #478 from native-api/3drparty_venv_over_ours
Don't activate if a 3rd-party venv is activated over ours
2024-04-03 23:12:47 +03:00
Ivan Pozdeev
ac28398fc0 Don't activate if a 3rd-party virtualenv is active over ours 2024-04-03 21:09:22 +03:00
Ivan Pozdeev
45a28ac094 bump stub and stub fns to Pyenv version 2024-04-03 21:09:22 +03:00
Romir K
0f83c33a3b Add fish prompt changing (#475) 2024-02-12 12:58:27 +03:00
John HU
2b2b87a25a Bump pyenv-virtualenv reporting version to match release (#471)
The latest release so far (Dec 2023) is 1.2.2, but the version reported is still 1.2.1:
https://github.com/pyenv/pyenv-virtualenv/releases/tag/v1.2.2
2023-12-06 06:56:52 +03:00
Jason Mobarak
38a6561f96 fix: add colorize helper (#470) 2023-11-29 11:37:00 +03:00
native-api
c85c1c9ed5 Link python*-config into VE (#460)
Required to build binaries that link against Python.
Carl Meyer, the champion for PEP 0405, has confirmed that there isn't a particular reason why `venv` doesn't do that.
v1.2.2
2023-06-27 01:36:04 +03:00
Elijah Lynn
cd6a51ad68 Add fish install oneliner (#322)
Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
2023-04-17 00:01:19 +03:00
Marcin Konowalczyk
85d8c5aabf More helpful error message when env's base version is not installed (#454) 2023-04-10 21:42:47 +03:00
Josh French
fca12418ca Add activate/deactivate hooks (#452) 2023-03-22 20:39:55 +03:00
Jack McIvor
13bc1877ef Update PYENV_VIRTUALENV_VERSION (#449)
Co-authored-by: Jack McIvor <j.mcivor@draftkings.com>
2023-02-07 19:37:47 +03:00
Ivan Pozdeev
a724aaa149 Merge branch 'master' of https://github.com/pyenv/pyenv-virtualenv 2023-02-01 00:27:32 +03:00
Ivan Pozdeev
f4162706d8 Remove Bountysource from advertized donation sources
Same as in Pyenv, as it's gone rogue
2023-02-01 00:27:13 +03:00
native-api
77a7644ff7 Remove prompt deprecation warning (#447)
Prompt removal was never done and is not planned anymore
2023-01-31 23:14:52 +03:00
Ivan Pozdeev
826f3fbe6f ISSUE_TEMPLATE.md: Add Zsh PS4 2023-01-31 23:02:54 +03:00
native-api
a6ab660b72 Support a prefix resolved by pyenv-latest as base version (#446) v1.2.1 2023-01-29 23:47:22 +03:00
Ville Skyttä
d5f2878a97 Strip -<suffix> when autodetecting shell (#377)
For example bash-5.1, bash-static.
v1.2.0
2022-10-18 20:37:46 +03:00
Andrew Christianson
c4de2555b7 Use realpath of scripts to determine relative locations (#308)
Just using paths relative to ${BASH_SOURCE} to access `libexec`
fails if the scripts are symlinked to a location,
such as when installed with Homebrew,
since the `libexec` directory is not linked into `brew --prefix`.

Implement a simple version of `realpath`
and run `${BASH_SOURCE}` through it.
This gets the actual installation directory
relative to which `libexec` is located.

Co-authored-by: Andrew Christianson <achristianson@edmunds.com>
2022-10-14 04:37:08 +03:00
Diego Fernández Giraldo
633711a0bc Return control to pyenv-uninstall in uninstall/envs.bash (#321) 2022-10-12 22:36:52 +03:00
P M
177eb67af3 Enhance documentation about options for pyenv virtualenv (#425)
Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
2022-10-12 22:12:21 +03:00
native-api
0a1839d22a Set up Github Actions CI (#440)
* Adjust tests: update Pip URLs, update expected output to match newer code
* Test library: improve failure message to eliminate the illusion of extra leading space in "actual" output
* Use Bats 1.2.0 like Pyenv
* Install greadlink for old MacOS
* Delete duplicate test
2022-10-12 21:30:36 +03:00
Ville Skyttä
4054162a1c Fix errors when set -u is set in the user's shell (#350) 2022-10-12 07:41:29 +03:00
Ville Skyttä
9a57cd7711 Clone bats with --depth=1, gitignore it (#351) 2022-10-11 22:53:34 +03:00
Ville Skyttä
3c0edf888e Spelling fixes (#352) 2022-10-10 21:50:28 +03:00
Ville Skyttä
057b9be9d8 fix: relative path to pyenv-realpath.dylib (#378) 2022-10-10 21:48:29 +03:00
Joseph Egan
7932bb4cc0 Stop delete force failing when virtualenv does not exist (#330) 2022-10-10 21:47:19 +03:00
laggardkernel
a911a2223f Upgrade uninstall hook after pyenv/pyenv#2432 (#438) 2022-10-10 20:34:24 +03:00
Eric N. Vander Weele
c6ff093344 Deduplicate shims in $PATH for the fish shell during initialization (#430)
When a fish login shell is invoked within an existing login shell, avoid
duplicating path to the shims by removing existing occurrences before
prepending.
2022-05-19 19:03:51 +03:00
Nick
cc9d5f168e Update get-pip.py URLs in pyenv-virtualenv (#426) 2022-02-26 09:41:41 +03:00
Alain Kalker
017ea60cd3 Fix another unbound variable error (#424)
* Fix tests failing after #423
2022-01-30 21:14:28 +03:00
Alain Kalker
1ee7ca6346 Fix unbound variable errors when running pyenv activate with set -u (#423) 2022-01-29 20:53:52 +03:00
Ville Skyttä
91609e25f3 perf(sh-activate): avoid a duplicate pyenv-version-name call (#380) 2021-11-14 02:30:56 +03:00
Seonghyeon Cho
5509c25ac1 Add (y/N) prompt help text (#404) 2021-11-08 18:15:23 +03:00