diff --git a/CHANGELOG.md b/CHANGELOG.md index 70280cf..08dce12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,17 +1,32 @@ ## Version History -#### 1.2.4 +#### v1.2.6 +* Fix changelog and version numbers + +#### v1.2.5 +* Add prompt customization by @jimenezj8 in https://github.com/pyenv/pyenv-virtualenv/pull/476 +* README: fix and distinguish syntax highlighting in Bash vs Fish snippets by @diericx in https://github.com/pyenv/pyenv-virtualenv/pull/489 +* Fix pyenv-virtualenv using a different Python version in a conda environment by @native-api in https://github.com/pyenv/pyenv-virtualenv/pull/492 +* Fix confusing activate/deactivate error messages when Pyenv is not installed as a shell function by @native-api in https://github.com/pyenv/pyenv-virtualenv/pull/495 +* Fix errorneously creating a symlink inside env directory if running w… by @native-api in https://github.com/pyenv/pyenv-virtualenv/pull/496 +* Update LICENSE, fix copyright license year by @JasonnnW3000 in https://github.com/pyenv/pyenv-virtualenv/pull/499 +* docs: add WSL note about core.autocrlf to prevent CRLF issues by @stoneHee99 in https://github.com/pyenv/pyenv-virtualenv/pull/512 +* docs: fix the link to Pyenv shell setup steps by @cshen-dev in https://github.com/pyenv/pyenv-virtualenv/pull/516 +* Convert issue template to new Github format by @native-api in https://github.com/pyenv/pyenv-virtualenv/pull/519 +* Prevent loss of data on `virtualenv-delete -f` if the env doesn't exist and the PREFIX envvar is set elsewhere by @SabriRamadanTNG in https://github.com/pyenv/pyenv-virtualenv/pull/518 + +#### v1.2.4 * Fix failing to detect `-m venv` when "python" is not provided by the distro by @native-api in https://github.com/pyenv/pyenv-virtualenv/pull/479 * README: Remove dollar signs from commands that are meant to be copied by @galonsky in https://github.com/pyenv/pyenv-virtualenv/pull/481 * Reflect pyenv-latest switch change in 2.4.8 by @native-api in https://github.com/pyenv/pyenv-virtualenv/pull/484 -#### 1.2.3 +#### v1.2.3 * Fix: add `colorize` helper by @silverjam in https://github.com/pyenv/pyenv-virtualenv/pull/470 * Bump pyenv-virtualenv reporting version to match release by @ushuz in https://github.com/pyenv/pyenv-virtualenv/pull/471 * Add fish prompt changing by @romirk in https://github.com/pyenv/pyenv-virtualenv/pull/475 * Don't activate if a 3rd-party venv is activated over ours by @native-api in https://github.com/pyenv/pyenv-virtualenv/pull/478 -#### 1.2.2 +#### v1.2.2 * Prompt removal was never done and is not planned anymore by @native-api in https://github.com/pyenv/pyenv-virtualenv/pull/447 * Update PYENV_VIRTUALENV_VERSION by @jack-mcivor in https://github.com/pyenv/pyenv-virtualenv/pull/449 * Add activate/deactivate hooks by @joshfrench in https://github.com/pyenv/pyenv-virtualenv/pull/452 @@ -19,10 +34,10 @@ * Add fish install oneliner by @ElijahLynn in https://github.com/pyenv/pyenv-virtualenv/pull/322 * Link python*-config into VE by @native-api in https://github.com/pyenv/pyenv-virtualenv/pull/460 -#### 1.2.1 +#### v1.2.1 * Support prefixes resolved by pyenv-latest as base version names by @native-api in https://github.com/pyenv/pyenv-virtualenv/pull/446 -#### 1.2.0 +#### v1.2.0 * ~/.*rc should be modified instead of ~/.*profile by @native-api in https://github.com/pyenv/pyenv-virtualenv/pull/384 * Fixes #394 - update pyenv virtualenvs to list virtualenvs start with dot prefixes by @Gauravtalreja1 in https://github.com/pyenv/pyenv-virtualenv/pull/395 * Fix installation steps to allow for Pyenv 2 by @native-api in https://github.com/pyenv/pyenv-virtualenv/pull/388 @@ -45,63 +60,63 @@ * Use realpath of scripts to determine relative locations by @andrew-christianson in https://github.com/pyenv/pyenv-virtualenv/pull/308 * Shell detect improvements by @scop in https://github.com/pyenv/pyenv-virtualenv/pull/377 -#### 1.1.5 +#### v1.1.5 * Fix install script (#290, #302) -#### 1.1.4 +#### v1.1.4 * Support newer conda (#290) * Prefer `python3.x` executable if available (#206, #282, #296) -#### 1.1.3 +#### v1.1.3 * No code changes since 1.1.2 -#### 1.1.2 +#### v1.1.2 * Use custom get-pip URL based on the target version (#253, #254, #255) * Source conda 4.4.4 shell files (#251) * Evaluate force flag before testing if venv exists (#232) -#### 1.1.1 +#### v1.1.1 * Set `CONDA_PREFIX` to make is useable in conda activate/deactivate scripts (#224) * Generate `pydoc` executable after creating new virtualenv (#197, #230) -#### 1.1.0 +#### v1.1.0 * fish: use "set -gx" instead of "setenv" (#215, #216, #217, #218) -#### 1.0.0 +#### v1.0.0 * Use similar versioning scheme as pyenv; YYYYMMDD -> X.Y.Z -#### 20160716 +#### v20160716 * Suppress activate/deactivate messages by default (#169, #170, #171) * Source conda package activate/deactivat scripts if exist (#173) * Use `source` in favor of `.` for `fish` (#175) * Use `python -m venv` instead of `pyvenv` due to deprecation of `pyvenv` after 3.6 (#184, #185) -#### 20160315 +#### v20160315 * Evaluate `${PATH}` when outputted code is eval'd. (#154) * Set proper `CONDA_DEFAULT_ENV` for shorter name (#160) -#### 20160202 +#### v20160202 * Install virtualenv 13.1.2 for CPython/Stackless 3.2.x (yyuu/pyenv#531) -#### 20160112 +#### v20160112 * Fix problem with `virtualenv` to look up executables from source version with `--system-site-packages` (#62) -#### 20151229 +#### v20151229 * Fix `deactivate` error on `fish` (#136) -#### 20151222 +#### v20151222 * Improved interoperability with Anaconda/Miniconda (#103, #106, #107, #108) * Create `virtualenv` inside `envs` directory of source version, like Anaconda/Miniconda (#103, #107) @@ -111,49 +126,49 @@ * Add `--skip-aliases` to `pyenv virtualenvs` (#120) * Stop showing `version not installed` warning messages in precmd (#49) -#### 20151103 +#### v20151103 * Passing return value from executed command. (#100) * Add workaround for commands installed in a virtual environment created by `pyvenv` (#62) * init: zsh: prepend hook to `precmd_functions` (#101) -#### 20151006 +#### v20151006 * Ignore user's site-packages on ensurepip/get-pip (#89) * Find `python-config` from source version if current version is a virtualenv * Fix pyenv-virtualenv-init script for fish where command was in string and not being evaluated (#98) * Add foolproof for `-p` argument. (yyuu/pyenv#98) -#### 20150719 +#### v20150719 * Add support for `conda` environments created by Anaconda/Miniconda (#91) * Look up commands for original version as well if the environment is created with `--system-site-packages` (#62) * Add error message if the source version is not installed (#83) -#### 20150526 +#### v20150526 * Use `typeset -g` with `precmd_functions` (#75) * activate: display setup instructions only with `PYENV_VIRTUALENV_INIT=0` (#78) * Ignore failure of pyenv activate (#68) -#### 20150119 +#### v20150119 * Ignore errors from `pyenv-version-name` since it might fail if there is configuration error (yyuu/pyenv#291) * The _shell_ version set in `activate` should be unset in `deactivate` (#61) * Anaconda has `activate` script nevertheless it is not a virtual environment (#65) -#### 20141106 +#### v20141106 * Stop creating after `ensurepip` since it has done by `ensurepip` itself * Suppress some useless warnings from `pyenv virtualenv-init` -#### 20141012 +#### v20141012 * Fix warnings from `shellcheck` to improve support for POSIX sh (#40) * Do not allow whitespace in `VIRTUALENV_NAME` (#44) * Should not persist `PYENV_DEACTIVATE` after automatic deactivation (#47, #48) -#### 20140705 +#### v20140705 * Display information on auto-(de)?activation * Support manual (de)?activation with auto-activation enabled (#32, #34) @@ -161,88 +176,88 @@ * Use https://bootstrap.pypa.io/ to install setuptools and pip * Create backup of original virtualenv within `$(pyenv root)/versions` when `--upgrade` -#### 20140615 +#### v20140615 * Fix incompatibility issue of `pyenv activate` and `pyenv deactivate` (#26) * Workaround for the issue with pyenv-which-ext (#26) -#### 20140614 +#### v20140614 * Add `pyenv virtualenv-init` to enable auto-activation feature (#24) * Create symlinks for executables with version suffix (yyuu/pyenv#182) -#### 20140602 +#### v20140602 * Use new style GH raw url to avoid redirects (raw.github.com -> raw.githubusercontent.com) * Repaired virtualenv activation and deactivation for the fish shell (#23) -#### 20140421 +#### v20140421 * Display error if `pyenv activate` was invoked as a command * Fix completion of `pyenv activate` (#15) * Use `virtualenv` instead of `pyvenv` if `-p` has given (yyuu/pyenv#158) -#### 20140123 +#### v20140123 * Add `activate` and `deactivate` to make `pyenv-virtualenv` work with [jedi](https://github.com/davidhalter/jedi) (#9) * Use `ensurepip` to install `pip` if it is available * Unset `PIP_REQUIRE_VENV` to avoid problem on the installation of `virtualenv` (#10) * Add tests -#### 20140110.1 +#### v20140110.1 * Fix install script -#### 20140110 +#### v20140110 * Support environment variables of `EZ_SETUP` and `GET_PIP`. * Support a short option `-p` of `virtualenv`. -#### 20131216 +#### v20131216 * Use latest release of setuptools and pip if the version not given via environment variables. -#### 20130622 +#### v20130622 * Removed bundled `virtualenv.py` script. Now pyenv-virtualenv installs `virtualenv` package into source version and then use it. * On Python 3.3+, use `pyvenv` as virtualenv command if `virtualenv` is not available. * Install setuptools and pip into environments created by `pyvenv`. -#### 20130614 +#### v20130614 * Add `pyenv virtualenvs` to list all virtualenv versions. * *EXPERIMENTAL*: Add `--upgrade` option to re-create virtualenv with migrating packages -#### 20130527 +#### v20130527 * Remove `python-virtualenv` which was no longer used. * Change the installation path of the `virtualenv.py` script. (`./libexec` -> `./libexec/pyenv-virtualenv/${VIRTUALENV_VERSION}`) * Download `virtualenv.py` if desired version has not been installed. -#### 20130507 +#### v20130507 * Display virtualenv information in `--help` and `--version` * Update virtualenv version; 1.8.4 -> 1.9.1 -#### 20130307 +#### v20130307 * Rename the project; `s/python-virtualenv/pyenv-virtualenv/g` * The `pyenv-virtualenv` script is not depending on `python-virtualenv` now. `python-virtualenv` will left for compatibility and will not continue for future releases. * Update virtualenv version; 1.8.2 -> 1.8.4 -#### 20130218 +#### v20130218 * Add pyenv 0.2.x (rbenv 0.4.x) style help messages. -#### 20121023 +#### v20121023 * Create virtualenv with exact name of python executables. * Changed command-line options of python-virtualenv. First argument should be a path to the python executable. * Add install script. -#### 20120927 +#### v20120927 * Initial public release. diff --git a/bin/pyenv-virtualenv b/bin/pyenv-virtualenv index 16bb6c6..5528dec 100755 --- a/bin/pyenv-virtualenv +++ b/bin/pyenv-virtualenv @@ -13,7 +13,7 @@ # -u/--upgrade Imply --force # -PYENV_VIRTUALENV_VERSION="1.2.4" +PYENV_VIRTUALENV_VERSION="1.2.6" set -e [ -n "$PYENV_DEBUG" ] && set -x