summaryrefslogtreecommitdiff
path: root/src/virtualenv/discovery
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade setuptools and pip (#1939)Bernát Gábor2020-09-102-2/+6
|
* Implement periodic update feature (#1841)Bernát Gábor2020-06-212-56/+28
| | | Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
* Bump linters (#1823)Bernát Gábor2020-05-123-4/+4
|
* Wrap usage of get_makefile_filename (#1811)Ian Wienand2020-05-041-3/+5
|
* Fix CPython2 not found on Windows via registry (#1797)Bernát Gábor2020-05-022-3/+9
|
* Handle poison interpreters during discovery (#1790)Bernát Gábor2020-04-281-1/+7
|
* Ensure makefile is present on CPython2 POSIX (#1787)Bernát Gábor2020-04-261-0/+9
|
* Setuptools compatibility with cli_run (#1771)Bernát Gábor2020-04-161-2/+3
| | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* Fix discovery when name is non-spec format on PATH (#1748)Bernát Gábor2020-03-241-7/+13
| | | | | | | * Fix discovery when name is non-spec format on PATH Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * fix windows
* Support as fallback distutils pattern for include over sysconfig (#1742)Bernát Gábor2020-03-191-1/+7
| | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* Fix relative discovery (#1734)Bernát Gábor2020-03-191-2/+2
| | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* amazonlinux support (#1728)Bernát Gábor2020-03-182-17/+1
| | | | | | | | | * Allow testing docker images Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * amazonlinux support Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* Fix Windows Store support (#1725)Bernát Gábor2020-03-174-17/+29
| | | | | | * Fix Windows Store support Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* macOS Python 3 Framework support (#1711)Bernát Gábor2020-03-131-0/+2
| | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* Fix py info might be misslead by distutils config (#1705)Bernát Gábor2020-03-101-3/+2
| | | | | | | Ignore configuration file parsing when getting distutils data. Resolves #1663. Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* Support for Python 2 platform that store landmark in platstdlib (#1697)Bernát Gábor2020-03-061-5/+18
| | | | Resolves #1694. Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* handle application data folder is read only (#1661)Seungmin Ryu2020-02-264-92/+86
| | | | | | | | | | | | | | | | | | | | * 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>
* Accept python self-referencing python executables (#1664)Bernát Gábor2020-02-251-1/+5
| | | | | | | | Accept these as if they were system executables, print a info about them referencing themselves. Resolves #1632. Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* Prevent sys.prefix from leaking into child process on macOS (#1648)Claudio Jolowicz2020-02-211-1/+10
|
* macOs Python 2 Framework support (#1641)Bernát Gábor2020-02-211-7/+8
|
* Discover python interpreter in a case insensitive manner (#1629)PRAJWAL M2020-02-152-2/+2
| | | Closes https://github.com/pypa/virtualenv/issues/1624
* Lower min version of six to 1.9 (#1606)Sorin Sbarnea2020-02-134-12/+9
| | | | | This change should allow installation of virtualenv on systems with older six where their LTS support may prevent them from upgrading it.
* fix python discovery with non resolved prefix paths (#1590)Bernát Gábor2020-02-121-11/+10
| | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* on exe discovery ignore incorrect interpreters, also try in the… (#1573)Bernát Gábor2020-02-111-1/+6
| | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* only info if during discovery fail to query a executable (#1574)Bernát Gábor2020-02-111-1/+1
| | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* fix system executable discovery (#1550)Bernát Gábor2020-02-102-2/+4
| | | | | | | | | | | | | | * 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>
* rewrite the documentation (#1519)Bernát Gábor2020-02-042-4/+23
|
* Better handling of base executable not found #1515Bernát Gábor2020-01-304-149/+261
| | | | | | | Improve the base executable discovery mechanism: - print at debug level why we refuse some candidates, - when no candidates match exactly, instead of hard failing fallback to the closest match where the priority of matching attributes is python implementation, major version, minor version, architecture, patch version, release level and serial (this is to facilitate things to still work when the OS upgrade replace/upgrades the system python with a newer version than what the virtualenv host python was created with), - always resolve system_executable information during the interpreter discovery, and the discovered environment is the system interpreter instead of the venv/virtualenv (this happened before lazily the first time we accessed and caused reporting that the created virtual environment is of type of the virtualenv host python version, instead of the system pythons version - these two can differ if the OS upgraded the system python underneath and the virtualenv host was created via copy),
* Support relative paths for the python specification string. (#1523)Bernát Gábor2020-01-291-1/+1
| | | | | | | The python info discovery mechanism does not work with relative paths, normalize python specification strings to always be absolute paths. Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* We should override the executable rather than original executable during our ↵Bernat Gabor2020-01-291-1/+1
| | | | | | py info cache load Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* Cached python information load should update original executable (#1513)Bernát Gábor2020-01-281-0/+3
| | | | | | | | | | * Cached python information load should update original executable Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * add some tests to validate solution Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* Make single verbosity output cleaner (#1511)Bernát Gábor2020-01-282-2/+2
| | | 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-283-107/+205
| | | | | | | | | | | | | | | | | | | | * 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-271-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-217-0/+865
* 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