summaryrefslogtreecommitdiff
path: root/src/virtualenv/discovery
Commit message (Collapse)AuthorAgeFilesLines
* Drop Python 2 support (#2548)Bernát Gábor2023-04-197-44/+54
|
* Bump deps and tools (#2545)Bernát Gábor2023-04-192-4/+4
|
* Sepcify the encoding (#2515)Filipe Laíns2023-03-121-0/+1
|
* Support Windows CPython interpreters distributed by non-standard orgs (#2504)faph2023-02-271-5/+15
| | | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Move to hatchling, drop 3.6 support (#2474)Bernát Gábor2022-12-291-1/+2
|
* Py marker means any python not CPython (#2460)Bernát Gábor2022-12-051-1/+1
| | | Resolves https://github.com/tox-dev/tox/issues/2566
* Try alternate filenames for system_executable (#2442)Vincent Fazio2022-11-101-1/+18
|
* fix building python3.10 virtualenvs on debian derivatives (#2415)Anthony Sottile2022-09-121-2/+15
|
* Bump dependencies and build tools (#2394)Bernát Gábor2022-08-042-3/+3
| | | Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Drop support of running under Python 2.7 (#2382)Bernát Gábor2022-07-257-115/+74
|
* Fixed the incorrect operation when `setuptools` plugins output something ↵KOLANICH2022-06-292-2/+58
| | | | into `stdout`. (#2335)
* Windows embedable support (#2353)reksarka2022-06-251-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bump pip and setuptools (#2348) Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net> * Use shlex.quote instead of deprecated pipes.quote (#2351) * Embeds the "python<VERSION>.zip" for Windows. For example, for Python 3.10 the embeddable file name would be "python310.zip". If this file would be found in `sys.path`, the virtualenv should copy it into the "<venv>\Scripts\python310.zip". * For Windows CPython3: *.dll/*.pyd -> to_bin * Fixture for a Python interpreter info. Helps to test virtualenv creator classes. * Creators tests: path_mock as separate module. * Clarifies tests, separates testing tools. * Tests for CPython3Windows sources. * Tests for the embedded Python std lib for Windows. * Add news entry. * Replaces `yield from` for backward compability. * FIX: Path mocking in pypy tests. * Wrap `sys` `Path` with `str` for importlib. The importlib accepts a Path-like objects from Python 3.6 * Makes PathMock ABC compatible with Python 2 * Does not collect tests for Python3 under Python 2 It is possible to make pass CPython3 tests under Python 2, but it's better to disable it instead of decreasing the readability and performance of Python 3 style. * Allows empty `Path()` in Windows with Python 2 * Allows to load fixture files with PY2 Windows Path * Skips one PY3 POSIX test in PY2 Windows Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com> Co-authored-by: Lumír 'Frenzy' Balhar <lbalhar@redhat.com>
* Use shlex.quote instead of deprecated pipes.quote (#2351)Lumír 'Frenzy' Balhar2022-06-101-2/+6
|
* [pre-commit.ci] pre-commit autoupdate (#2293)pre-commit-ci[bot]2022-02-011-3/+3
| | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Properly hide PEP-632 warning on latest version of `setuptools` (#2251)Ofek Lev2021-12-271-1/+5
|
* Favor the "venv" sysconfig install scheme over the default and distutils ↵Miro Hrončok2021-10-281-3/+13
| | | | scheme (#2209)
* fix ValueError when unpacking (#2165)Denis Maciel2021-08-091-1/+1
|
* Support without distutils (#2146)Bernát Gábor2021-07-141-4/+21
| | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Drop Python 3.4 support (#2143)Bernát Gábor2021-07-131-1/+1
|
* [pre-commit.ci] pre-commit autoupdate (#2098)pre-commit-ci[bot]2021-04-272-2/+2
| | | | | | | | | | | | | * [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-185-31/+37
| | | | | Defaults to os.environ. Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Clear stash if system executable is missing (#2050)Bernát Gábor2021-01-131-0/+4
| | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Improve discovery on Windows and provide escape hatchet (#2046)Bernát Gábor2021-01-102-5/+28
| | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Fix `VIRTUALENV_PYTHON` environment lookup (#1998)Patrice Neff2020-10-281-0/+1
|
* Fallback functionality for interpreter discovery (#1995)Bernát Gábor2020-10-251-5/+12
| | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Use main branch instead of masterBernat Gabor2020-09-251-1/+1
|
* 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>