summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 3.12 support and no setuptools/wheel on 3.12+ (#2558)chrysle2023-04-2710-51/+108
|
* prevent PermissionError when using venv creator on some systems (#2543)Jakub Kulík2023-04-271-0/+22
|
* Drop Python 2 support (#2548)Bernát Gábor2023-04-1951-194/+107
|
* Make `ReentrantFileLock` thread-safe and, thereby, fix race condition in ↵Randy Döring2023-03-121-0/+28
| | | | `virtualenv.cli_run` (#2517)
* Sepcify the encoding (#2515)Filipe Laíns2023-03-1213-23/+35
|
* Add print command to print_prompt for nushell (#2514)Artemiy2023-03-101-1/+1
| | | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Support Windows CPython interpreters distributed by non-standard orgs (#2504)faph2023-02-274-186/+206
| | | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Bump embedded pip and setuptools (#2489)Bernát Gábor2023-02-051-4/+3
|
* Move to hatchling, drop 3.6 support (#2474)Bernát Gábor2022-12-297-21/+54
|
* Py marker means any python not CPython (#2460)Bernát Gábor2022-12-051-3/+2
| | | Resolves https://github.com/tox-dev/tox/issues/2566
* Change Nushell activation script to module (#2422)Jakub Žádník2022-11-271-0/+7
|
* Set 'home' to parent directory of system_executable (#2441)Vincent Fazio2022-11-121-0/+22
| | | close https://github.com/pypa/virtualenv/issues/2440
* Try alternate filenames for system_executable (#2442)Vincent Fazio2022-11-101-0/+23
|
* Replace six in tests/unit/test_run.py (#2439)Chris Mayo2022-11-101-5/+2
|
* Fix test_csh when running with the original csh (#2418)Jakub Kulík2022-10-241-1/+3
|
* Allow empty string as version for `find_compatible_in_house` (#2430)schaap2022-10-071-1/+7
| | | | The empty string is used in several locations to indicate the newest version. Interpret it as such instead of rejecting it as invalid.
* fix building python3.10 virtualenvs on debian derivatives (#2415)Anthony Sottile2022-09-121-0/+71
|
* Bump dependencies and build tools (#2394)Bernát Gábor2022-08-0428-104/+132
| | | Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Drop support of running under Python 2.7 (#2382)Bernát Gábor2022-07-2543-578/+371
|
* Fix test_py_info to work on Python 3.11 too (#2380)rkucsora2022-07-231-1/+2
|
* Ignores missing DLLs dir in CPython3Windows (#2369)reksarka2022-06-291-0/+3
| | | | 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-259-92/+382
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-103-8/+21
|
* Update Nushell activation scripts to 0.60 (#2321)Jakub Žádník2022-03-251-1/+1
|
* Avoid symlinking the contents of /usr into PyPy3 virtualenvs (#2310)Stefano Rivera2022-03-074-0/+288
| | | Co-authored-by: Bernát Gábor <bgabor8@bloomberg.net>
* feature: cache downloaded wheel information (#2276)Matthieu Darbois2022-01-022-61/+160
| | | Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
* feature: store version update source in embed JSON file (#2273)Matthieu Darbois2022-01-012-19/+158
|
* fix: `--download` option (#2262)Matthieu Darbois2021-12-311-2/+29
|
* fix: pinned version are not working once periodic / manual updates kick-inmayeut2021-12-292-4/+75
| | | | Fixes pypa#2203
* Fix the CI (#2254)Bernát Gábor2021-12-282-1/+6
|
* Fix test_custom_venv_install_scheme_is_prefered mocking if "venv" install ↵Miro Hrončok2021-12-031-1/+8
| | | | scheme actually exists (#2231)
* ?? prompt should be wrapped in paranthesis ?? (#2224)Tushar Sadhwani2021-10-318-2/+29
| | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Favor the "venv" sysconfig install scheme over the default and distutils ↵Miro Hrončok2021-10-281-0/+62
| | | | scheme (#2209)
* special-case `--prompt .` to the cwd (#2220)Ruairidh MacLeod2021-10-231-0/+18
| | | Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
* Fix the CI and bump setuptools (#2205)Bernát Gábor2021-10-041-1/+1
|
* During seeding properly uninstall present versions of the wheels (#2186)Arcadiy Ivanov2021-09-241-3/+13
| | | | | | | | | | | | | | | | | | | | | | | * During seeding remove dist-info for present versions of the wheels An existing dist-info may contain entrypoints that may interfere with normal functioning of the redeployed seeded wheel if there is a version mismatch fixes #2185 * Remove package directories from dist-info top_level packages Remove other recorded files from RECORD Remove dist-info itself * Do not resolve paths prior to removal for symlink mode In the test ensure the directories are compared as sets and not lists Add setuptools downgrade to ensure proper cleanup of the existing version * PR Feedback Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com> Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
* Nushell activation scripts (#2170)Fernando Herrera2021-09-161-0/+26
|
* Remove xonsh activator (#2160)Bernát Gábor2021-07-311-38/+0
| | | Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
* Support without distutils (#2146)Bernát Gábor2021-07-143-3/+5
| | | 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-133-5/+5
|
* Fix site.getsitepackages() broken on python2 on debian (#2108)Adrian Freund2021-05-051-7/+36
|
* Fix site.getsitepackages() ignoring --system-site-packages on python2 (#2107)Adrian Freund2021-05-041-0/+32
| | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Built in discovery class is always preferred over plugin supplied classes ↵Ashley Whetter2021-04-201-0/+11
| | | | (#2088)
* Fix pip_cert pytest fixture (#2083)Lumír 'Frenzy' Balhar2021-03-171-7/+8
| | | | | | pip_cert is recognized as a generator so it should not use return if PIP_CERT is in os.environ. Fixes: https://github.com/pypa/virtualenv/issues/2048
* Fix upgrade embeded crashes (#2062)Bernát Gábor2021-02-011-2/+2
| | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Fix Windows failure (#2056)Bernát Gábor2021-01-191-2/+2
|
* API: Allow passing on the environment variable as an argument (#2054)Bernát Gábor2021-01-187-20/+32
| | | | | Defaults to os.environ. Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Bump pip to 20.3.3 and wheel to 0.36.2 (#2036)Bernát Gábor2021-01-121-1/+2
|
* Improve discovery on Windows and provide escape hatchet (#2046)Bernát Gábor2021-01-102-6/+6
| | | Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
* Try to fix the CI (#2041)Bernát Gábor2020-12-211-3/+32
|