summaryrefslogtreecommitdiff
path: root/src/virtualenv/config
Commit message (Collapse)AuthorAgeFilesLines
* Drop Python 2 support (#2548)Bernát Gábor2023-04-194-0/+8
|
* Sepcify the encoding (#2515)Filipe Laíns2023-03-121-1/+1
|
* Bump embedded pip and setuptools (#2489)Bernát Gábor2023-02-051-1/+0
|
* Bump dependencies and build tools (#2394)Bernát Gábor2022-08-041-1/+1
| | | Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Drop support of running under Python 2.7 (#2382)Bernát Gábor2022-07-256-56/+40
|
* Use platformdirs instead of appdirs (#2142)Bernát Gábor2021-07-131-1/+1
|
* [pre-commit.ci] pre-commit autoupdate (#2098)pre-commit-ci[bot]2021-04-271-1/+1
| | | | | | | | | | | | | * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/asottile/pyupgrade: v2.12.0 → v2.13.0](https://github.com/asottile/pyupgrade/compare/v2.12.0...v2.13.0) - [github.com/psf/black: 20.8b1 → 21.4b0](https://github.com/psf/black/compare/20.8b1...21.4b0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* API: Allow passing on the environment variable as an argument (#2054)Bernát Gábor2021-01-183-10/+14
| | | | | Defaults to os.environ. Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Fix `VIRTUALENV_PYTHON` environment lookup (#1998)Patrice Neff2020-10-281-3/+20
|
* Use \n instead if \r\n as line separator (#1905)Bernát Gábor2020-07-241-1/+1
| | | | | | | The logging framework will write to a pipe, which then will blindly transform all carriage returns to carriage return plus line feed, when on Windows. So injecting the \r\n leaves us with double carriage return. Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* Implement periodic update feature (#1841)Bernát Gábor2020-06-211-1/+0
| | | Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
* Bump linters (#1823)Bernát Gábor2020-05-121-1/+2
|
* Better handling of conflicting --copies and --symlinks (#1785)Bernát Gábor2020-04-251-8/+48
|
* Allow all command line option flags to be used in config file/env-var (#1763)Bernát Gábor2020-04-081-2/+11
| | | | | | | | | | | | | * Allow all command line option flags to be used in config file/env-var Extend config file and environment variables checked for configuration to also check aliases (e.g. setting either ``VIRTUALENV_COPIES`` or ``VIRTUALENV_ALWAYS_COPY`` will work). Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * fix CI Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* Fix list configuration value parsing (#1676)Bernát Gábor2020-02-272-46/+60
| | | | | Resolves #1674. Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* handle application data folder is read only (#1661)Seungmin Ryu2020-02-262-3/+10
| | | | | | | | | | | | | | | | | | | | * fixed FileNotFoundError when directory isn't writable (#1640) - when using docker, if `user_data_dir()` isn't writable directory, `default_data_dir()` use `system temp directory` + `virtualenv`. for example, tempdir is `/tmp`, it use `/tmp/virtualenv` * start making the app-data more explicit and robust Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * fix Windows * fix docs Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
* Lower min version of six to 1.9 (#1606)Sorin Sbarnea2020-02-132-6/+5
| | | | | This change should allow installation of virtualenv on systems with older six where their LTS support may prevent them from upgrading it.
* expose and document programmatic API (#1592)Bernát Gábor2020-02-121-13/+19
| | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* add option to view failure stacktraces (#1572)Bernát Gábor2020-02-111-2/+2
| | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* rewrite the documentation (#1519)Bernát Gábor2020-02-041-1/+5
|
* add a write through filesystem cache with locks for py informat… (#1505)20.0.0b1Bernát Gábor2020-01-281-1/+2
| | | | | | | | | | | | | | | | | | | | * add a write through filesystem cache with locks for py information queries via sys executables this speeds up significantly the creation process, as calling subprocesess is at least an order of mangitued slower than reading the information from a json dump We also now default to the built-in mechanism Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * fix Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * make file lock reentrant and thread safe Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* separate describe/create - check upfront if can create (#1502)Bernát Gábor2020-01-211-2/+2
| | | | | | | | | | | | | | | | * start Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * test for Windows Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * test for Windows Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * fix Windows symlink cache
* simplify code logicBernat Gabor2020-01-101-14/+15
| | | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* cleanup env-vars and use venv as default dest dir instead of envBernat Gabor2020-01-102-3/+7
| | | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* converter already logs, mention for env-var getterBernat Gabor2020-01-101-1/+1
| | | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* consider empty value for an env-var also falseBernat Gabor2020-01-101-1/+1
| | | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* interface compatibility with before rewrite (#1479)Bernát Gábor2020-01-101-8/+2
| | | | | | Ensure that what ran with virtualenv 17 will continue running in a post rewrite world minus the deprecated flags, plus the relocatable feature. Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* unicode support (#1477)Bernát Gábor2020-01-101-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * creator unicode support Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * activator support Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * fix * add space * python3.4 support * Windows fixes * some fixes * fix powershell requires utf-16 * try to fix python2 windows Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * use utf-8 for activation scripts Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * fix * more fix Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * fix Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * windows path py2.7 * fixes for Python 2 and unicode on Windows * do not single out mbcs, but the file system encoder * do not install pathlib python 2 windows Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * fix encoding on py35 Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* Activation scripts for next-gen virtualenv (#1454)Siddhant Kumar2020-01-101-1/+1
|
* Stat rewrite - POCBernát Gábor2020-01-106-0/+237
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>