| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
| |
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
| |
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| |
|
|
|
|
|
| |
* Fix discovery when name is non-spec format on PATH
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* fix windows
|
| |
|
| |
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| |
|
| |
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| |
|
|
|
|
|
|
|
| |
* 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
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| |
|
| |
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| |
|
|
|
|
|
| |
Ignore configuration file parsing when getting distutils data.
Resolves #1663.
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| |
|
|
| |
Resolves #1694.
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
|
|
|
|
|
| |
Accept these as if they were system executables, print a info about
them referencing themselves.
Resolves #1632.
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| | |
|
| | |
|
| |
|
| |
Closes https://github.com/pypa/virtualenv/issues/1624
|
| |
|
|
|
| |
This change should allow installation of virtualenv on systems
with older six where their LTS support may prevent them from
upgrading it.
|
| |
|
| |
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| |
|
| |
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| |
|
| |
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| | |
|
| |
|
|
|
|
|
| |
Improve the base executable discovery mechanism:
- print at debug level why we refuse some candidates,
- when no candidates match exactly, instead of hard failing fallback to the closest match where the priority of matching attributes is python implementation, major version, minor version, architecture, patch version, release level and serial (this is to facilitate things to still work when the OS upgrade replace/upgrades the system python with a newer version than what the virtualenv host python was created with),
- always resolve system_executable information during the interpreter discovery, and the discovered environment is the system interpreter instead of the venv/virtualenv (this happened before lazily the first time we accessed and caused reporting that the created virtual environment is of type of the virtualenv host python version, instead of the system pythons version - these two can differ if the OS upgraded the system python underneath and the virtualenv host was created via copy),
|
| |
|
|
|
|
|
| |
The python info discovery mechanism does not work with relative paths,
normalize python specification strings to always be absolute paths.
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| |
|
|
|
|
| |
py info cache load
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| |
|
|
|
|
|
|
|
|
| |
* Cached python information load should update original executable
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* add some tests to validate solution
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| |
|
| |
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add a write through filesystem cache with locks for py information queries via sys executables
this speeds up significantly the creation process, as calling
subprocesess is at least an order of mangitued slower than reading the
information from a json dump
We also now default to the built-in mechanism
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* fix
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* make file lock reentrant and thread safe
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
|