Jovier Jimenez
d4c9655e26
Add prompt customization ( #476 )
1 주 전
Ivan Pozdeev
e9b88cc366
1.2.4
2 달 전
Ivan Pozdeev
6179ac76c4
Reflect pyenv-latest switch change in 2.4.8
2 달 전
native-api
37917069ec
Fix failing to detect `-m venv` when "python" is not provided by the distro ( #479 )
5 달 전
Ivan Pozdeev
b90bd92853
1.2.3
5 달 전
Ivan Pozdeev
ac28398fc0
Don't activate if a 3rd-party virtualenv is active over ours
5 달 전
Romir K
0f83c33a3b
Add fish prompt changing ( #475 )
7 달 전
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
9 달 전
Jason Mobarak
38a6561f96
fix: add `colorize` helper ( #470 )
9 달 전
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.
1 년 전
Marcin Konowalczyk
85d8c5aabf
More helpful error message when env's base version is not installed ( #454 )
1 년 전
Josh French
fca12418ca
Add activate/deactivate hooks ( #452 )
1 년 전
Jack McIvor
13bc1877ef
Update PYENV_VIRTUALENV_VERSION ( #449 )
Co-authored-by: Jack McIvor <j.mcivor@draftkings.com>
1 년 전
native-api
77a7644ff7
Remove prompt deprecation warning ( #447 )
Prompt removal was never done and is not planned anymore
1 년 전
native-api
a6ab660b72
Support a prefix resolved by pyenv-latest as base version ( #446 )
1 년 전
Ville Skyttä
d5f2878a97
Strip -<suffix> when autodetecting shell ( #377 )
For example bash-5.1, bash-static.
1 년 전
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>
1 년 전
P M
177eb67af3
Enhance documentation about options for `pyenv virtualenv` ( #425 )
Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
1 년 전
Ville Skyttä
4054162a1c
Fix errors when `set -u` is set in the user's shell ( #350 )
1 년 전
Ville Skyttä
3c0edf888e
Spelling fixes ( #352 )
1 년 전
Joseph Egan
7932bb4cc0
Stop delete force failing when virtualenv does not exist ( #330 )
1 년 전
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.
2 년 전
Nick
cc9d5f168e
Update `get-pip.py` URLs in `pyenv-virtualenv` ( #426 )
2 년 전
Alain Kalker
017ea60cd3
Fix another unbound variable error ( #424 )
* Fix tests failing after #423
2 년 전
Alain Kalker
1ee7ca6346
Fix unbound variable errors when running `pyenv activate` with `set -u` ( #423 )
2 년 전
Ville Skyttä
91609e25f3
perf(sh-activate): avoid a duplicate pyenv-version-name call ( #380 )
2 년 전
Seonghyeon Cho
5509c25ac1
Add (y/N) prompt help text ( #404 )
2 년 전
jivanf
c3110d874e
Fix get-pip.py URLs for older versions of Python ( #403 )
2 년 전
Gaurav Talreja
b334dde5ef
Fix #394 - update pyenv virtualenvs command to list virtualenvs starting with dot prefixes
3 년 전
Anton Petrov
8c7ef734f9
Update pyenv-virtualenv-init
https://github.com/pyenv/pyenv-installer/pull/109
3 년 전
Ivan Pozdeev
90f7b999ff
~/.*rc should be modified instead of ~/.*profile
Otherwise, there's no effect for non-login interactive shells
3 년 전
Yamashita, Yuu
294f64f76b
v1.1.5
5 년 전
Yamashita, Yuu
74bba45b9c
v1.1.4
5 년 전
Yamashita, Yuu
a9e1891e8b
Prefer `python3.x` executable if avaialble ( closes #206 , #282 )
5 년 전
Luis Marsano
ed779fea14
cleanup `pyenv virtualenv` on ERR
also cleanup compatibility paths
5 년 전
Luis Marsano
e0a1e9b35c
support newer conda
pyenv-virtualenvs could not list conda environments & pyenv shell would only activate the base conda environment
the conda detection criteria of testing the presence of `conda` or `activate` files under `$(pyenv root)/versions/$version/bin` appears to be the culprit, since newer environments no longer include these files: those files reside in the base conda environment
- add detection criteria of `$(pyenv root)/versions/$version/conda-meta`
- compute the real prefix to the base environment from `realpath $(realpath $(pyenv root)/versions/$version)/../..`
- to allow that, enhance substitute `realpath` in `pyenv-virtualenvs` to reduce relative paths `.` & `..`, and factor that code out to a file under `libexec` for reuse
- hook `which` to locate conda from the real prefix
5 년 전
Yamashita, Yuu
42f8ed2dce
v1.1.3
6 년 전
Yamashita, Yuu
9a03eb5b9c
v1.1.2
6 년 전
Yamashita, Yuu
077edc3b4d
Update warning message on presence of `PIP_VERSION`
6 년 전
Yamashita, Yuu
6a3172ff47
Unlike `python-build`, `DEFINITION_PATH` isn't available within `pyenv-virtualenv`
6 년 전
Yamashita, Yuu
894d4af8a3
Show some warning on the use of `PIP_VERSION`
6 년 전
Yamashita, Yuu
980159f221
Use custom get-pip URL based on the target version ( pyenv/pyenv#1127 )
6 년 전
Yamashita, Yuu
cfb8691fc5
Refactoring
Manage `GET_PIP_URL` value at single place for readability.
6 년 전
Yamashita, Yuu
b1d0d72343
Unset `PIP_VERSION` before invoking `get-pip.py` as a workaround for `invalid truth value` error ( pyenv/pyenv-installer#70 )
6 년 전
Teake Nutma
393bcc36b8
Source conda 4.4.4 shell files
Conda 4.4.4 (https://github.com/conda/conda/releases/tag/4.4.0 )
made some changes on how to set up conda in the shell.
This commit addresses these.
This fixes some of the discussion in #178 .
6 년 전
Chris Larsen
52cb0b1086
evaluate force flag before testing if venv exists
fixes #161 , fixes #187
7 년 전
Yamashita, Yuu
4c8da67f02
v1.1.1
7 년 전
Yamashita, Yuu
e339fde2f3
Create virtualenv's bin directory explicitly to avoid CI failures
7 년 전
Yamashita, Yuu
e83a1f12c2
Generate `pydoc` executable after creating new virtualenv ( fixes #197 , pyenv/pyenv#963 )
7 년 전
Christoph Paulik
f64c8ed0dd
Set CONDA_PREFIX to make is useable in conda activate/deactivate scripts.
7 년 전