Commit graph

56 commits

Author SHA1 Message Date
Miro Hrončok
bb82a73b6d
Use 'selectable' interface for entry points only when available (#2246) 2021-12-27 11:01:35 +00:00
Bernát Gábor
623189a00a
Fix release docs (#2229)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-11-01 21:39:26 +00:00
Bernát Gábor
653d4ebcaa
Fix docs
Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
2021-10-23 12:35:05 +01:00
Bernát Gábor
fa16e0a98b
Fix the CI and bump setuptools (#2205) 2021-10-04 09:33:52 +01:00
Fernando Herrera
e0410cafc8
Nushell activation scripts (#2170) 2021-09-16 13:10:42 +01:00
Bernát Gábor
1afc190027
Remove xonsh activator (#2160)
Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
2021-07-31 12:41:33 +01:00
Bernát Gábor
c52fe3ea09
Support without distutils (#2146)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-07-14 17:45:30 +01:00
Bernát Gábor
f66d0a8322
Use platformdirs instead of appdirs (#2142) 2021-07-13 11:46:15 +01:00
Bernát Gábor
ce6efc84c0
Drop Python 3.4 support (#2143) 2021-07-13 10:35:16 +01:00
Jason R. Coombs
17caadc974
Rely on 'selectable' interface for entry points. (#2126)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-07-09 16:30:40 +01:00
Bernát Gábor
ce24cb57f3
Bump setuptools to 54.1.2
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
2021-03-16 08:12:11 +00:00
Bernát Gábor
36fba769ec
Remove xdist (#2043)
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
2020-12-22 11:01:20 +00:00
Britt Treece
13c5369dfb
Remove high constraint for importlib-metadata (#2020)
Github issue #2019
2020-11-23 08:32:22 +00:00
Bernát Gábor
ced984abfd
Align Windows 3.7 methodology and later with venv (#1976)
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
2020-10-12 11:25:36 +01:00
Bernát Gábor
06dba77aa1
Restore python3.4 support (add it back to CI) (#1965) 2020-10-04 18:17:24 +01:00
Usama Sadiq
4bdf0f11b4
Updated importlib-metadata constraint (#1953) 2020-10-01 13:40:32 +01:00
Bernát Gábor
13c0498a47
Upgrade setuptools and pip (#1939) 2020-09-10 19:29:25 +01:00
Bernat Gabor
012d5b5cc0
Bump linters
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
2020-07-22 17:53:09 +01:00
Bernat Gabor
a48645b33a
Bump pre-commit hooks
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
2020-07-20 08:27:02 +01:00
Bernát Gábor
260a26a731
Remove distlib monkeypatches (#1880)
Adapt the new features added in distutils instead.

Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
2020-07-04 11:36:24 +01:00
Bernát Gábor
0cd009b5a1
Implement periodic update feature (#1841)
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
2020-06-21 08:28:50 +01:00
Rowdy Howell
95ae4676fe
Fix typo in setup.cfg (#1858) 2020-06-12 20:10:00 +01:00
Bernát Gábor
b3d53fc78f
Upgrade embeded setuptools (#1855) 2020-06-12 19:19:10 +01:00
Anthony Sottile
f16896397d
Remove upper bound on importlib-resources (2.0 works) (#1851) 2020-06-09 18:19:52 +01:00
Bernát Gábor
a8717bf6ac
Add 3.9 on Linux to the test suite (#1839) 2020-05-22 12:41:32 +01:00
Bernát Gábor
481e395484
Fix CPython2 not found on Windows via registry (#1797) 2020-05-02 21:34:24 +01:00
Bernát Gábor
bb7bb71ab7
Run tests in randome order (#1799) 2020-05-01 13:26:26 +01:00
Bernát Gábor
01b09f6968
Run test suite in parallel (#1786) 2020-04-25 17:12:48 +01:00
Bernát Gábor
6b7d54b0ba
Allow all command line option flags to be used in config file/env-var (#1763)
* 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>
2020-04-08 22:49:16 +01:00
Bernát Gábor
3816e7c788
macOS Python 3 Framework support (#1711)
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
2020-03-13 16:27:05 +00:00
Bernát Gábor
54dc9d2cfa
add timeout for tests (#1700)
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
2020-03-08 10:08:01 +00:00
Bernát Gábor
f9fbd94bec
macOs Python 2 Framework support (#1641) 2020-02-21 15:54:13 +00:00
Bernát Gábor
1d9b7d1898
Better error message when build dependencies not satisfied (#1628)
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>
2020-02-14 16:08:01 +00:00
Sorin Sbarnea
52e4213096
Lower min version of six to 1.9 (#1606)
This change should allow installation of virtualenv on systems
with older six where their LTS support may prevent them from
upgrading it.
2020-02-13 16:58:29 +00:00
Bernát Gábor
564a7b23eb
support long path names for the app-data seeder generates conso… (#1579)
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
2020-02-11 17:41:42 +00:00
Bernat Gabor
28fdddc484
Minor updates to the documentation (#1540)
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
2020-02-10 09:19:57 +00:00
Bernát Gábor
7a5d03fe15
rewrite the documentation (#1519) 2020-02-04 14:51:00 +00:00
Bernát Gábor
e111e76b54
README is now markdown instead of reStructuredText (#1536)
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
2020-02-02 12:21:07 +00:00
Bernát Gábor
9d37eb3ded
Better handling of base executable not found #1515
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),
2020-01-30 18:52:57 +00:00
Bernát Gábor
599907870e
add a write through filesystem cache with locks for py informat… (#1505)
* 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>
2020-01-28 11:34:40 +00:00
Bernát Gábor
886ba27511
separate describe/create - check upfront if can create (#1502)
* 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
2020-01-21 12:20:43 +00:00
Bernát Gábor
b5f618f352
add zipapp support with bundled dependencies (#1491)
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
2020-01-16 11:09:43 +00:00
Bernát Gábor
09a6acd1de
bump pre commit (#1495)
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
2020-01-13 10:27:53 +00:00
Bernát Gábor
3495482490
beutify setup.cfg (#1494)
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
2020-01-12 22:22:00 +00:00
Bernat Gabor
5f3580ee96
reorganize run.py - prefer inheritence based API over generators
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
2020-01-10 15:38:39 +00:00
Bernat Gabor
48d73b1959
mark the project as stable
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
2020-01-10 15:38:39 +00:00
Bernat Gabor
e6099f153c
importlib-resources should be preferd over pkg_data
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
2020-01-10 15:38:38 +00:00
Bernat Gabor
cc15fd3ed4
power-shell should be just powershell
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
2020-01-10 15:38:37 +00:00
Bernat Gabor
0b8b30482e
xonosh is actually just xonsh
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
2020-01-10 15:38:37 +00:00
Bernat Gabor
75f1ce57b4
move from entrypoints to importlib.metadata
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
2020-01-10 15:38:37 +00:00