summaryrefslogtreecommitdiff
path: root/src/virtualenv/util
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade setuptools and pip (#1939)Bernát Gábor2020-09-102-2/+8
|
* Avoid showing new windows on Windows (#1929)Bernát Gábor2020-08-311-2/+2
| | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* Use unix line-endings in bash activate script (#1924)Siddhant Kumar2020-08-231-2/+5
| | | Co-authored-by: Bernat Gabor <bgabor8@bloomberg.net>
* Fix parallel app-data base image creation (#1870)Bernát Gábor2020-06-231-0/+6
| | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* Implement periodic update feature (#1841)Bernát Gábor2020-06-215-28/+36
| | | Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
* Bump linters (#1823)Bernát Gábor2020-05-123-23/+42
|
* Fix pinning seed packages via app-data fails (#1788)Bernát Gábor2020-04-271-2/+2
|
* PyPy CI timeouts (#1720)Bernát Gábor2020-03-131-12/+14
| | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* pythonw works as python on Windows (#1693)Bernát Gábor2020-03-081-1/+4
| | | | | | | * pythonw works as python on Windows Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * foix
* do not fail if lock not present (#1696)Bernát Gábor2020-03-061-1/+1
| | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* fix relative zipapp paths on UNIX20.0.6release-20.0.6Bernat Gabor2020-02-261-1/+2
| | | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* handle application data folder is read only (#1661)Seungmin Ryu2020-02-264-11/+45
| | | | | | | | | | | | | | | | | | | | * 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>
* Make aliases relative symlinks (#1610)Anthony Sottile2020-02-132-14/+2
|
* Lower min version of six to 1.9 (#1606)Sorin Sbarnea2020-02-134-10/+60
| | | | | This change should allow installation of virtualenv on systems with older six where their LTS support may prevent them from upgrading it.
* avoid copying the stats with copytree (#1571)Bernát Gábor2020-02-112-4/+31
| | | | | | | | | | | | * avoid copying the stats with copytree This information is not needed, so it's redundant work; similarly it might not be allowed (e.g. on macOS framework python). Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * fix
* fix system executable discovery (#1550)Bernát Gábor2020-02-101-3/+0
| | | | | | | | | | | | | | * fix system executable discovery Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * time to eat our own dogfood Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * seems Path.absolute should not be used Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* generate fish and bash activators on Windows (#1528)Bernát Gábor2020-01-311-0/+4
| | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* Fix failing to acquire lock in case of parallel runs (#1524)Bernát Gábor2020-01-291-3/+10
| | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* add a write through filesystem cache with locks for py informat… (#1505)20.0.0b1Bernát Gábor2020-01-282-8/+111
| | | | | | | | | | | | | | | | | | | | * 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>
* support for c-extension builds within virtualenv (#1503)Bernát Gábor2020-01-273-57/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test include folders - add test to check if it works Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * pypy add lib on Linux Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * fix Windows * fix Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * debug macos Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * try fix pypy windows Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * fix Windows * fix * fix Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * Windows PyPy just does not understand non-ascii PATHS :-( * allow pypy3 to fail Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* separate describe/create - check upfront if can create (#1502)Bernát Gábor2020-01-213-5/+11
| | | | | | | | | | | | | | | | * 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
* CentOs and Fedora support (#1500)Bernát Gábor2020-01-183-2/+5
| | | | | | | | | | | | | | | | | * CentOs support Instead of hard coding patterns and guessing let's ask the host python via the sysconfig. Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * add isolated test Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * fixes for Fedora Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* add zipapp support with bundled dependencies (#1491)Bernát Gábor2020-01-163-7/+65
| | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* fix errors under CPython 3.4 on WindowsBernat Gabor2020-01-101-0/+5
|
* reorganize run.py - prefer inheritence based API over generatorsBernat Gabor2020-01-101-1/+1
| | | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* prefer if/else over try/expect for import of config parserBernat Gabor2020-01-101-4/+5
| | | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* support for pypy2 and pypy3 (#1482)Bernát Gábor2020-01-102-3/+15
|
* link app data needs ro with symlinks (#1480)Bernát Gábor2020-01-101-0/+5
| | | | | | | | | | | | | | | | | * fix app data logic 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> * fix Windows * fix * fix Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* interface compatibility with before rewrite (#1479)Bernát Gábor2020-01-108-204/+238
| | | | | | 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-104-0/+373
* 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>