| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
| |
Co-authored-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| |
|
|
| |
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| | |
|
| |
|
|
|
|
| |
This ensures that we do not overwrite an existing .gitignore when the
target directory is not created by virtualenv.
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| |
|
| |
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
| |
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>
|
| |
|
| |
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| |
|
|
|
|
| |
* Fix Windows Store support
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Allow missing .py files if .pyc is present
* Document packaging types we support
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* improve test
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* PyPy requires the standard library source files
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
Co-authored-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>
|
| |
|
|
|
|
|
| |
* pythonw works as python on Windows
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* foix
|
| |
|
| |
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| | |
|
| |
|
|
| |
Resolves #1694.
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| | |
|
| |
|
|
|
|
|
|
|
| |
- ensure we do not rewrite the ``PYTHONPATH``
- ensure we respect the ``-E`` flag
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
|
| |
|
|
|
|
| |
Until https://github.com/pypa/pip/issues/7778 is fixed and released.
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Ensure distutils configuration values do not escape virtual environment
Distutils has some configuration files where the user may alter paths to
point outside of the virtual environment. Defend against this by
installing a pth file that resets this to their expected path.
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* fix CI failure due to #pypa/pip/issues/7778
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* fix pypy2 builtins are imported as stdlib modules
Resolves #1652.
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
* test failure
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| |
|
|
|
| |
framework builds (#1653)
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| |
|
|
| |
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
|
| | |
|
| |
|
|
|
|
|
|
| |
* Also add executables for pythonX.X under pypy
* Fix losing libpypy-c.so when pypy executable is a symlink
* Skip trying pythonX.X on pypy3.6 7.3.0
|
| | |
|
| |
|
|
|
|
|
|
| |
* Revert "also disallow altsep beside pathsep inside paths"
This reverts commit 524d95e782d810243cf9cd344a88711591c94efc.
* Test Creator.validate_dest replaces os.altsep by os.sep
|
| |
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| | |
|
| |
|
|
|
|
|
| |
Previously the order was dictionary order depdendent, so not stable
accross Python implementations, and we also set the include system
site package for all creators, should be only for ref creators.
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),
|
| |
|
|
|
|
|
|
| |
If the host platfrom and pure library paths differed from the
distutils installs ones, we patched the sys.path by appending the
missing paths, this did not trigger the pth processing though.
Changed to use the site.add_site_dir to solve the problem.
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
|