summaryrefslogtreecommitdiff
path: root/src/virtualenv/create/via_global_ref/builtin
Commit message (Collapse)AuthorAgeFilesLines
* Drop Python 2 support (#2548)Bernát Gábor2023-04-1913-609/+19
|
* Sepcify the encoding (#2515)Filipe Laíns2023-03-121-2/+2
|
* Move to hatchling, drop 3.6 support (#2474)Bernát Gábor2022-12-293-3/+11
|
* Remove outdated PyPy stdlib overrides (#2426)Matti Picus2022-10-241-17/+0
|
* Bump dependencies and build tools (#2394)Bernát Gábor2022-08-046-19/+19
| | | Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Drop support of running under Python 2.7 (#2382)Bernát Gábor2022-07-2512-195/+177
|
* 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-252-2/+13
|
* Support Python 2.7 framework-style distributions on macOS 12 (#2325)Nicholas Hutchinson2022-04-111-20/+26
|
* 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-142-2/+2
| | | 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>
* 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>
* 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-102-3/+4
|
* Bump linters (#1823)Bernát Gábor2020-05-124-8/+8
|
* Ensure makefile is present on CPython2 POSIX (#1787)Bernát Gábor2020-04-263-3/+21
|
* do not allow PYVENV_LAUNCHER to be set (#1749)Bernát Gábor2020-03-251-0/+19
| | | 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>
* amazonlinux support (#1728)Bernát Gábor2020-03-183-26/+46
| | | | | | | | | * 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-173-26/+45
| | | | | | * Fix Windows Store support Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* Allow missing .py files if .pyc is present (#1714)David Tucker2020-03-133-5/+29
| | | | | | | | | | | | | | | | | * Allow missing .py files if .pyc is present * Document packaging types we support Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * improve test Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * PyPy requires the standard library source files Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> Co-authored-by: Bernat Gabor <bgabor8@bloomberg.net>
* macOS Python 3 Framework support (#1711)Bernát Gábor2020-03-134-31/+94
| | | 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
* Support for Python 2 platform that store landmark in platstdlib (#1697)Bernát Gábor2020-03-063-4/+5
| | | | Resolves #1694. Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* use import hooks to patch distutils/setuptools (#1688)Bernát Gábor2020-03-041-26/+0
|
* Fix setting PYTHONPATH on Python 2 not working (#1673)Julien Danjou2020-03-032-28/+47
| | | | | | | | | - ensure we do not rewrite the ``PYTHONPATH`` - ensure we respect the ``-E`` flag Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
* Ensure distutils configuration values do not escape virtual environment (#1657)Bernát Gábor2020-02-241-0/+1
| | | | | | | | | | | | | | * Ensure distutils configuration values do not escape virtual environment Distutils has some configuration files where the user may alter paths to point outside of the virtual environment. Defend against this by installing a pth file that resets this to their expected path. Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * fix CI failure due to #pypa/pip/issues/7778 Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* fix pypy2 builtins are imported as stdlib modules (#1656)Bernát Gábor2020-02-233-13/+32
| | | | | | | | | | | | * fix pypy2 builtins are imported as stdlib modules Resolves #1652. Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net> * test failure Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* Fix global site package always being added with bundled macOs python ↵Bernát Gábor2020-02-223-1/+30
| | | | | framework builds (#1653) Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* release 20.0.520.0.5Bernat Gabor2020-02-211-1/+1
| | | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* macOs Python 2 Framework support (#1641)Bernát Gábor2020-02-215-41/+325
|
* Also add executables for pythonX.X under pypy (#1615)Anthony Sottile2020-02-141-1/+2
| | | | | | | | * Also add executables for pythonX.X under pypy * Fix losing libpypy-c.so when pypy executable is a symlink * Skip trying pythonX.X on pypy3.6 7.3.0