summaryrefslogtreecommitdiff
path: root/src/virtualenv/util/path
Commit message (Collapse)AuthorAgeFilesLines
* 3.12 support and no setuptools/wheel on 3.12+ (#2558)chrysle2023-04-271-1/+3
|
* Drop Python 2 support (#2548)Bernát Gábor2023-04-194-0/+9
|
* Bump dependencies and build tools (#2394)Bernát Gábor2022-08-042-2/+2
| | | Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Drop support of running under Python 2.7 (#2382)Bernát Gábor2022-07-256-216/+17
|
* Windows embedable support (#2353)reksarka2022-06-251-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Avoid symlinking the contents of /usr into PyPy3 virtualenvs (#2310)Stefano Rivera2022-03-071-0/+3
| | | Co-authored-by: Bernát Gábor <bgabor8@bloomberg.net>
* [pre-commit.ci] pre-commit autoupdate (#2242)pre-commit-ci[bot]2021-12-271-1/+0
| | | 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-46/+0
|
* Bump pip to 20.3.3 and wheel to 0.36.2 (#2036)Bernát Gábor2021-01-122-0/+21
|
* clean up a few small things (#2002)Anthony Sottile2020-11-011-1/+1
|
* Restore python3.4 support (add it back to CI) (#1965)Bernát Gábor2020-10-041-3/+21
|
* Upgrade setuptools and pip (#1939)Bernát Gábor2020-09-101-1/+3
|
* Use unix line-endings in bash activate script (#1924)Siddhant Kumar2020-08-231-2/+5
| | | Co-authored-by: Bernat Gabor <bgabor8@bloomberg.net>
* Implement periodic update feature (#1841)Bernát Gábor2020-06-211-1/+7
| | | Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
* Bump linters (#1823)Bernát Gábor2020-05-121-2/+6
|
* Fix pinning seed packages via app-data fails (#1788)Bernát Gábor2020-04-271-2/+2
|
* 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
* handle application data folder is read only (#1661)Seungmin Ryu2020-02-263-4/+31
| | | | | | | | | | | | | | | | | | | | * 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-132-7/+8
| | | | | 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>
* 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-212-3/+9
| | | | | | | | | | | | | | | | * 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-182-1/+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-162-7/+22
| | | Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* fix errors under CPython 3.4 on WindowsBernat Gabor2020-01-101-0/+5
|
* 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-104-0/+212
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>