Jovier Jimenez
d4c9655e26
Add prompt customization ( #476 )
1週間前
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
ac28398fc0
Don't activate if a 3rd-party virtualenv is active over ours
5ヶ月前
Ivan Pozdeev
45a28ac094
bump stub and stub fns to Pyenv version
5ヶ月前
Romir K
0f83c33a3b
Add fish prompt changing ( #475 )
7ヶ月前
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年前
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年前
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
1年前
Ville Skyttä
4054162a1c
Fix errors when `set -u` is set in the user's shell ( #350 )
1年前
Alain Kalker
017ea60cd3
Fix another unbound variable error ( #424 )
* Fix tests failing after #423
2年前
Yamashita, Yuu
a9e1891e8b
Prefer `python3.x` executable if avaialble ( closes #206 , #282 )
5年前
Yamashita, Yuu
0b24ff557e
I should have used custom `GET_PIP_URL` for 3.3
6年前
Yamashita, Yuu
927914b25f
Make sure pydoc executable exists after creating virtualenv
7年前
Christoph Paulik
f64c8ed0dd
Set CONDA_PREFIX to make is useable in conda activate/deactivate scripts.
7年前
Drummond Ogilvie
862be21a32
fish: use "set -gx" instead of "setenv" ( #218 )
Use `set -gx` instead of `setenv` for fish shell.
Fix test "activate if the first virtualenv is a virtualenv": it was asserting
the output was of bash form, but not specifying that in the test — it now does.
Fixes https://github.com/pyenv/pyenv-virtualenv/issues/216 .
7年前
Yamashita, Yuu
a3bc42cb93
v1.0.0 ( yyuu/pyenv#520 )
8年前
Yamashita, Yuu
8c7dd01954
Replaced `pyvenv` by `-m venv`
8年前
Yamashita, Yuu
99a90ab774
Fix still broken tests
8年前
Yamashita, Yuu
187156d600
Use `python -m venv` instead on `pyvenv` in tests
8年前
Yamashita, Yuu
5c2d7dc291
Use `source` in favor of `.` ( fixes #175 )
* https://github.com/yyuu/pyenv/pull/615
* https://github.com/fish-shell/fish-shell/issues/310
8年前
Yamashita, Yuu
d9391b4fb9
Add tests for conda's package activate/deactivate script
8年前
Yamashita, Yuu
c64aebef08
1) Made `--quiet` as opposite of `--verbose` 2) Suppress warning about prompts on `--quiet`
8年前
puhitaku
62e32f9cb3
Fix test: add unsets
8年前
puhitaku
8ab4463d80
Fix test: unnecessary env
8年前
puhitaku
34dc769a5d
Fix test: conda env
8年前
puhitaku
16597f0bb8
Fix test: deactivate
8年前
puhitaku
fa0876685e
Fix test: wrongly removed lines
8年前
puhitaku
ab5b5b9221
Fix tests
8年前
shangsunset
55f7e3e1e1
fix minor typos in test
8年前
shangsunset
d26852e274
fix minor typos in test
8年前
Sean Fisk
dbbbc33206
Evaluate ${PATH} when outputted code is eval'd.
It was previously evaluated when 'pyenv virtualenv-init' is run.
8年前
Yamashita, Yuu
1f761275cd
Install virtualenv 13.1.2 for CPython 3.2 ( yyuu/pyenv#531 )
8年前
Yamashita, Yuu
13b7dc172a
need to use `functions -q` to check existence of the function in fish ( #136 )
8年前
Yamashita, Yuu
bc5d308d05
Remove version string from test
8年前
Yamashita, Yuu
2d73d058bd
Fix wrong library path for virtualenv on PyPy/Jython ( fixes #134 )
8年前
Yamashita, Yuu
1e88df88a9
Rewrite virtualenv-prefix without executing python ( #132 )
8年前
Yamashita, Yuu
17d22e7a13
Add `PYENV_VIRTUAL_ENV` to check if the virtualenv has been activated via pyenv-virtualenv or not ( #128 )
8年前
Yamashita, Yuu
a5d406a545
Add tests for extra `envs` in `PYENV_ROOT`
8年前
Yamashita, Yuu
9c49fcd734
Fix broken tests
8年前
Yamashita, Yuu
6e91d75069
Stop showing message about `pyenv virtualenv-init` on activate ( #122 )
`pyenv virtualenv-init` is just an option. Always showing message about
it would be too much to do.
8年前
Yamashita, Yuu
fa11d65bf6
Add tests for `conda create`
8年前
Yamashita, Yuu
48b491f343
Add test helpers for virtualenv, pyvenv and conda
8年前
Yamashita, Yuu
6a2b77ed5b
Fix tests
8年前
Yamashita, Yuu
116e133c90
Activate a virtualenv of current version if specified version is not a virtualenv
```sh
% pyenv versions
system
* miniconda3-3.16.0 (set by PYENV_VERSION environment variable)
miniconda3-3.16.0/envs/venv
% pyenv activate venv
pyenv-virtualenv: deactivate miniconda3-3.16.0
pyenv-virtualenv: activate miniconda3-3.16.0/envs/venv
```
8年前
Yamashita, Yuu
1edff311d5
exits as error if the virtual environment doesn't have `python` executable ( #104 )
conda's environment might not have `python` executable. If the prefix
doesn't contain `python` in it, `pyenv-which` might be ran into infinite
loop if some of `which` hooks invoke `pyenv-virtualenv-prefix`.
8年前
Yamashita, Yuu
aae07d1318
Deactivation before activation should not return as non-zero ( fixes #116 )
8年前