| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
| |
Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
| |
Co-authored-by: Bernát Gábor <bgabor8@bloomberg.net>
|
| |
|
| |
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
| |
Co-authored-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| |
|
| |
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
* pythonw works as python on Windows
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* foix
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| | |
|
| |
|
|
|
| |
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
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
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 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>
|
| |
|
| |
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
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>
|