summaryrefslogtreecommitdiff
path: root/src/virtualenv/create
Commit message (Collapse)AuthorAgeFilesLines
* Drop Python 2 support (#2548)Bernát Gábor2023-04-1921-713/+100
|
* Sepcify the encoding (#2515)Filipe Laíns2023-03-123-6/+6
|
* Move to hatchling, drop 3.6 support (#2474)Bernát Gábor2022-12-294-8/+12
|
* Set 'home' to parent directory of system_executable (#2441)Vincent Fazio2022-11-121-1/+1
| | | close https://github.com/pypa/virtualenv/issues/2440
* Remove outdated PyPy stdlib overrides (#2426)Matti Picus2022-10-241-17/+0
|
* Bump dependencies and build tools (#2394)Bernát Gábor2022-08-0410-24/+24
| | | Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Drop support of running under Python 2.7 (#2382)Bernát Gábor2022-07-2519-309/+267
|
* docs: fix simple typo, developent -> development (#2377)Tim Gates2022-07-231-1/+1
|
* Ignores missing DLLs dir in CPython3Windows (#2369)reksarka2022-06-291-2/+8
| | | | Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com> Co-authored-by: Lumír 'Frenzy' Balhar <lbalhar@redhat.com>
* Windows embedable support (#2353)reksarka2022-06-251-9/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Fixes for Windows PyPy 3.6 (#2363)reksarka2022-06-254-3/+33
|
* Support Python 2.7 framework-style distributions on macOS 12 (#2325)Nicholas Hutchinson2022-04-111-20/+26
|
* fix 20ms startup penalty added by virtualenv (#2317)Anthony Sottile2022-03-181-4/+4
|
* Avoid symlinking the contents of /usr into PyPy3 virtualenvs (#2310)Stefano Rivera2022-03-071-0/+5
| | | Co-authored-by: Bernát Gábor <bgabor8@bloomberg.net>
* fix: cast type from Path to text (#2288)Isac Byeonghoon Yoo2022-02-051-4/+5
| | | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
* [pre-commit.ci] pre-commit autoupdate (#2293)pre-commit-ci[bot]2022-02-011-1/+1
| | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* PyPy: glob for required dlls, check they exist (#2274)Matti Picus2022-01-023-14/+21
| | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* fix: Correctly remove bk dir when re-signing macOS Python 2.x executable (#2272)Alex Willmer2022-01-021-1/+1
|
* fix: AttributeError on macOS creating a Python 2.x virtualenv (#2270)Alex Willmer2022-01-021-2/+6
|
* Sign the python2 exe on Darwin arm64 (#2233)Tracey Spicer2021-12-311-4/+34
| | | Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
* Support PyPy 3.8 (#2206)Matti Picus2021-10-231-1/+11
| | | | Co-authored-by: Michał Górny <mgorny@gentoo.org> Co-authored-by: Bernát Gábor <bgabor8@bloomberg.net>
* add libffi-8.dll to pypy windows _shared_libs (#2218)Matti Picus2021-10-232-3/+3
|
* Fail early instead of creating non-working env (#2189)Greg Dubicki2021-09-211-0/+8
| | | | | for Python 2 on Apple Silicon (M1) Macs. Related to #2024.
* Support without distutils (#2146)Bernát Gábor2021-07-143-5/+5
| | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* add libffi-7.dll to pypy on windows (#2141)Matti Picus2021-07-122-2/+2
| | | Co-authored-by: Bernát Gábor <bgabor8@bloomberg.net>
* Fix site.getsitepackages() broken on python2 on debian (#2108)Adrian Freund2021-05-051-8/+34
|
* Fix site.getsitepackages() ignoring --system-site-packages on python2 (#2107)Adrian Freund2021-05-041-1/+1
| | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* [pre-commit.ci] pre-commit autoupdate (#2098)pre-commit-ci[bot]2021-04-272-3/+3
| | | | | | | | | | | | | * [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>
* Fix PyPy3 Windows stlib path (#2072)Bernát Gábor2021-03-161-8/+10
| | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* API: Allow passing on the environment variable as an argument (#2054)Bernát Gábor2021-01-181-3/+4
| | | | | Defaults to os.environ. Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Improve discovery on Windows and provide escape hatchet (#2046)Bernát Gábor2021-01-101-6/+13
| | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Optionally skip creation of .gitignore in virtualenv directory (#2004)Aren Siekmeier2020-11-021-1/+11
|
* Always copy executable on Windows 3+ (#1977)Bernát Gábor2020-10-123-30/+27
|
* Align Windows 3.7 methodology and later with venv (#1976)Bernát Gábor2020-10-126-56/+106
| | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Process pth files even if $PYTHONPATH points to site-packages/ (#1960)Kirill Smelkov2020-10-011-2/+1
|
* Upgrade setuptools and pip (#1939)Bernát Gábor2020-09-104-6/+14
|
* Use unix line-endings in bash activate script (#1924)Siddhant Kumar2020-08-231-2/+3
| | | Co-authored-by: Bernat Gabor <bgabor8@bloomberg.net>
* Bump pre-commit hooksBernat Gabor2020-07-201-1/+1
| | | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* Don't preimport threading early (#1897)Kirill Smelkov2020-07-151-3/+18
|
* Do not write .gitignore if already exists (#1866)Bernát Gábor2020-06-211-8/+10
| | | | | | This ensures that we do not overwrite an existing .gitignore when the target directory is not created by virtualenv. Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* Implement periodic update feature (#1841)Bernát Gábor2020-06-215-8/+74
| | | Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
* Mark virtual environments ignored for Git (#1825)Bernát Gábor2020-05-121-0/+19
|
* Bump linters (#1823)Bernát Gábor2020-05-125-12/+12
|
* Wrap usage of get_makefile_filename (#1811)Ian Wienand2020-05-041-1/+3
|
* Fix typo in symlink detection (#1803)Anthony Sottile2020-05-021-1/+1
|
* Ensure makefile is present on CPython2 POSIX (#1787)Bernát Gábor2020-04-264-8/+39
|
* Better handling of conflicting --copies and --symlinks (#1785)Bernát Gábor2020-04-251-3/+20
|
* Allow all command line option flags to be used in config file/env-var (#1763)Bernát Gábor2020-04-081-1/+3
| | | | | | | | | | | | | * 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>
* do not allow PYVENV_LAUNCHER to be set (#1749)Bernát Gábor2020-03-252-9/+32
| | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* Do not fail when the pyc files is missing for the host Python 2 (#1741)Bernát Gábor2020-03-191-1/+2
| | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>