* Allow all command line option flags to be used in config file/env-var
Extend config file and environment variables checked for configuration to also
check aliases (e.g.
setting either ``VIRTUALENV_COPIES`` or ``VIRTUALENV_ALWAYS_COPY`` will work).
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* fix CI
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
This only manifests on old platforms, but as we still support them
makes sense to provide better error messages, and relax a bit our
build requirements.
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),
* 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>
* 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
* 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>
* creator unicode support
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* activator support
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* fix
* add space
* python3.4 support
* Windows fixes
* some fixes
* fix powershell requires utf-16
* try to fix python2 windows
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* use utf-8 for activation scripts
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* fix
* more fix
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* fix
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* windows path py2.7
* fixes for Python 2 and unicode on Windows
* do not single out mbcs, but the file system encoder
* do not install pathlib python 2 windows
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* fix encoding on py35
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>