Christoph Paulik
f64c8ed0dd
Set CONDA_PREFIX to make is useable in conda activate/deactivate scripts.
7 yıl önce
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 yıl önce
Yamashita, Yuu
a3bc42cb93
v1.0.0 ( yyuu/pyenv#520 )
8 yıl önce
Yamashita, Yuu
8c7dd01954
Replaced `pyvenv` by `-m venv`
8 yıl önce
Yamashita, Yuu
99a90ab774
Fix still broken tests
8 yıl önce
Yamashita, Yuu
187156d600
Use `python -m venv` instead on `pyvenv` in tests
8 yıl önce
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 yıl önce
Yamashita, Yuu
d9391b4fb9
Add tests for conda's package activate/deactivate script
8 yıl önce
Yamashita, Yuu
c64aebef08
1) Made `--quiet` as opposite of `--verbose` 2) Suppress warning about prompts on `--quiet`
8 yıl önce
puhitaku
62e32f9cb3
Fix test: add unsets
8 yıl önce
puhitaku
8ab4463d80
Fix test: unnecessary env
8 yıl önce
puhitaku
34dc769a5d
Fix test: conda env
8 yıl önce
puhitaku
16597f0bb8
Fix test: deactivate
8 yıl önce
puhitaku
fa0876685e
Fix test: wrongly removed lines
8 yıl önce
puhitaku
ab5b5b9221
Fix tests
8 yıl önce
shangsunset
55f7e3e1e1
fix minor typos in test
8 yıl önce
shangsunset
d26852e274
fix minor typos in test
8 yıl önce
Sean Fisk
dbbbc33206
Evaluate ${PATH} when outputted code is eval'd.
It was previously evaluated when 'pyenv virtualenv-init' is run.
8 yıl önce
Yamashita, Yuu
1f761275cd
Install virtualenv 13.1.2 for CPython 3.2 ( yyuu/pyenv#531 )
8 yıl önce
Yamashita, Yuu
13b7dc172a
need to use `functions -q` to check existence of the function in fish ( #136 )
8 yıl önce
Yamashita, Yuu
bc5d308d05
Remove version string from test
8 yıl önce
Yamashita, Yuu
2d73d058bd
Fix wrong library path for virtualenv on PyPy/Jython ( fixes #134 )
8 yıl önce
Yamashita, Yuu
1e88df88a9
Rewrite virtualenv-prefix without executing python ( #132 )
8 yıl önce
Yamashita, Yuu
17d22e7a13
Add `PYENV_VIRTUAL_ENV` to check if the virtualenv has been activated via pyenv-virtualenv or not ( #128 )
8 yıl önce
Yamashita, Yuu
a5d406a545
Add tests for extra `envs` in `PYENV_ROOT`
8 yıl önce
Yamashita, Yuu
9c49fcd734
Fix broken tests
8 yıl önce
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 yıl önce
Yamashita, Yuu
fa11d65bf6
Add tests for `conda create`
8 yıl önce
Yamashita, Yuu
48b491f343
Add test helpers for virtualenv, pyvenv and conda
8 yıl önce
Yamashita, Yuu
6a2b77ed5b
Fix tests
8 yıl önce
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 yıl önce
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 yıl önce
Yamashita, Yuu
aae07d1318
Deactivation before activation should not return as non-zero ( fixes #116 )
8 yıl önce
Yamashita, Yuu
5f87786adf
Remove `PYENV_DEACTIVATE` ( fixes #121 )
This means that pyenv-virtualenv will not allow manual deactivation of
virtualenv if pyenv-virtualenv-init is enabled. This must be acceptable
since the activation of virtualenv is just setting of environment
variables in current implementation.
8 yıl önce
Yamashita, Yuu
59bc189bec
Basically `/` should not be allowed as a part of name of virtualenv
8 yıl önce
Yamashita, Yuu
83bc6a49e4
Restore variables set by `activate` script of virtualenv properly ( #150 )
The `activate` script does't export the variables of `_OLD_VIRTUAL_*`,
most the deactivation code needed to be moved to `sh-deactivate`.
8 yıl önce
Yamashita, Yuu
25bf4a6155
Unset environment variables to pass tests while activated
8 yıl önce
Yamashita, Yuu
bb623bd8bf
Prevent removing symlinks bound to different version ( #106 )
9 yıl önce
Yamashita, Yuu
ee18ffac9f
Change prompt after `activate` ( #52 )
9 yıl önce
Yamashita, Yuu
c1b9238cbe
Reject creating a virtualenv named `system` ( yyuu/pyenv#475 )
9 yıl önce
Yamashita, Yuu
bdd52a79cd
Revert `PYENV_DEACTIVATE` for backward compatibility
9 yıl önce
Yamashita, Yuu
d2edf5dddb
Fix tests
9 yıl önce
Yamashita, Yuu
0fa5de07c9
fix broken tests
9 yıl önce
Yamashita, Yuu
ad2ada84ab
fix broken tests
9 yıl önce
Yamashita, Yuu
270c379a32
rename tests
9 yıl önce
Yamashita, Yuu
07b31aa2f6
Add tests for `virtualenv-delete`
9 yıl önce
Yamashita, Yuu
c6a705b1d9
Setup `CONDA_DEFAULT_ENV` only if `conda` executable exists
9 yıl önce
Yamashita, Yuu
8038659299
Create virtualenv inside `envs` directory as similar as Anaconda
9 yıl önce
Yamashita, Yuu
64ceee5c8e
Stop using virtualenv's `activate` script ( #69 )
9 yıl önce
Yamashita, Yuu
2ae921c253
Treat all versions with `activate` script as a virtual environment
9 yıl önce