Commit graph

160 commits

Author SHA1 Message Date
Sam Doran 5fd4975150
Include aliases in completetions
While it looks a bit funny, it is valid to use an existing virtual
environment as the [version] when creating a new one.
2026-04-23 17:29:18 -04:00
Sam Doran ad14880ab2
Only show Python versions for completion when creating new virtual environments
Having the current virtual environments listed as options in the competion
is noisy since only bare Python versions, such as 3.11.1, make sense as
suggested completions for `pyenv virtualenv [version]`.
2026-04-23 17:29:17 -04:00
Ivan Pozdeev 90dfbcad93
1.3.0 2026-03-25 23:46:29 +03:00
Ivan Pozdeev b5c88a7a15
1.2.6 2025-12-14 18:41:47 +03:00
native-api e8c8fd9b84
Fix errorneously creating a symlink inside env directory if running with -f (#496)
Some checks failed
tests / tests (macos-13) (push) Has been cancelled
tests / tests (macos-14) (push) Has been cancelled
tests / tests (ubuntu-20.04) (push) Has been cancelled
tests / tests (ubuntu-22.04) (push) Failing after 0s
2024-12-08 23:30:27 +03:00
native-api c6bb0694bf
Fix pyenv-virtualenv using a different Python version in a conda environment (#492)
Some checks failed
tests / tests (ubuntu-22.04) (push) Failing after 0s
tests / tests (macos-13) (push) Has been cancelled
tests / tests (macos-14) (push) Has been cancelled
tests / tests (ubuntu-20.04) (push) Has been cancelled
Allow output checking with wildcards
2024-11-25 00:54:05 +03:00
Ivan Pozdeev e9b88cc366 1.2.4
Some checks failed
tests / tests (ubuntu-22.04) (push) Failing after 1s
tests / tests (macos-13) (push) Has been cancelled
tests / tests (macos-14) (push) Has been cancelled
tests / tests (ubuntu-20.04) (push) Has been cancelled
2024-07-22 00:37:02 +03:00
native-api d811b3fef2
Merge pull request #484 from native-api/pyenv_latest_f
Reflect pyenv-latest switch change in 2.4.8
2024-07-22 00:34:28 +03:00
Ivan Pozdeev 6179ac76c4 Reflect pyenv-latest switch change in 2.4.8 2024-07-21 23:31:47 +03:00
native-api 37917069ec
Fix failing to detect -m venv when "python" is not provided by the distro (#479) 2024-04-10 00:14:13 +03:00
Ivan Pozdeev b90bd92853 1.2.3 2024-04-07 22:59:10 +03:00
John HU 2b2b87a25a
Bump pyenv-virtualenv reporting version to match release (#471)
The latest release so far (Dec 2023) is 1.2.2, but the version reported is still 1.2.1:
https://github.com/pyenv/pyenv-virtualenv/releases/tag/v1.2.2
2023-12-06 06:56:52 +03:00
Jason Mobarak 38a6561f96
fix: add colorize helper (#470) 2023-11-29 11:37:00 +03:00
native-api c85c1c9ed5
Link python*-config into VE (#460)
Required to build binaries that link against Python.
Carl Meyer, the champion for PEP 0405, has confirmed that there isn't a particular reason why `venv` doesn't do that.
2023-06-27 01:36:04 +03:00
Marcin Konowalczyk 85d8c5aabf
More helpful error message when env's base version is not installed (#454) 2023-04-10 21:42:47 +03:00
Jack McIvor 13bc1877ef
Update PYENV_VIRTUALENV_VERSION (#449)
Co-authored-by: Jack McIvor <j.mcivor@draftkings.com>
2023-02-07 19:37:47 +03:00
native-api a6ab660b72
Support a prefix resolved by pyenv-latest as base version (#446) 2023-01-29 23:47:22 +03:00
P M 177eb67af3
Enhance documentation about options for pyenv virtualenv (#425)
Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
2022-10-12 22:12:21 +03:00
Ville Skyttä 3c0edf888e
Spelling fixes (#352) 2022-10-10 21:50:28 +03:00
Nick cc9d5f168e
Update get-pip.py URLs in pyenv-virtualenv (#426) 2022-02-26 09:41:41 +03:00
jivanf c3110d874e
Fix get-pip.py URLs for older versions of Python (#403) 2021-11-08 18:14:47 +03:00
Yamashita, Yuu 294f64f76b v1.1.5 2019-02-13 15:27:07 +00:00
Yamashita, Yuu 74bba45b9c v1.1.4 2019-02-08 02:04:46 +00:00
Yamashita, Yuu a9e1891e8b Prefer python3.x executable if avaialble (closes #206, #282) 2019-01-12 05:38:21 +00:00
Luis Marsano ed779fea14
cleanup pyenv virtualenv on ERR
also cleanup compatibility paths
2018-11-21 22:00:57 -05:00
Yamashita, Yuu 42f8ed2dce v1.1.3 2018-05-24 12:28:04 +00:00
Yamashita, Yuu 9a03eb5b9c v1.1.2 2018-05-18 00:59:28 +00:00
Yamashita, Yuu 077edc3b4d Update warning message on presence of PIP_VERSION 2018-03-29 03:17:49 +00:00
Yamashita, Yuu 6a3172ff47 Unlike python-build, DEFINITION_PATH isn't available within pyenv-virtualenv 2018-03-29 01:01:16 +00:00
Yamashita, Yuu 894d4af8a3 Show some warning on the use of PIP_VERSION 2018-03-29 00:59:01 +00:00
Yamashita, Yuu 980159f221 Use custom get-pip URL based on the target version (pyenv/pyenv#1127) 2018-03-29 00:39:30 +00:00
Yamashita, Yuu cfb8691fc5 Refactoring
Manage `GET_PIP_URL` value at single place for readability.
2018-03-22 01:36:48 +00:00
Yamashita, Yuu b1d0d72343 Unset PIP_VERSION before invoking get-pip.py as a workaround for invalid truth value error (pyenv/pyenv-installer#70) 2018-03-20 04:04:58 +00:00
Chris Larsen 52cb0b1086 evaluate force flag before testing if venv exists
fixes #161, fixes #187
2017-09-08 15:27:49 -06:00
Yamashita, Yuu 4c8da67f02 v1.1.1 2017-08-24 00:30:36 +00:00
Yamashita, Yuu e339fde2f3 Create virtualenv's bin directory explicitly to avoid CI failures 2017-08-22 23:04:39 +00:00
Yamashita, Yuu e83a1f12c2 Generate pydoc executable after creating new virtualenv (fixes #197, pyenv/pyenv#963) 2017-08-22 23:00:41 +00:00
Yamashita, Yuu e4d2c367cc v1.1.0 2017-07-03 00:39:50 +00:00
yamotonalds 304dff741f Fix typo 2017-02-18 22:06:05 +09:00
Yamashita, Yuu a3bc42cb93 v1.0.0 (yyuu/pyenv#520) 2016-08-15 08:45:05 +00:00
Yamashita, Yuu 0fd8a161e6 v20160716 2016-07-16 07:00:03 +00:00
Yamashita, Yuu 8c7dd01954 Replaced pyvenv by -m venv 2016-07-16 06:50:50 +00:00
Yamashita, Yuu 187156d600 Use python -m venv instead on pyvenv in tests 2016-07-16 06:31:30 +00:00
Yamashita, Yuu 24b494a858 Use -m venv instead of pyvenv executable (fixes #184) 2016-07-16 05:46:43 +00:00
Yamashita, Yuu 1ce2e2d730 v20160315 2016-03-15 00:37:46 +00:00
Yamashita, Yuu 17ee6e72b6 v20160202 2016-02-02 08:47:11 +00:00
Yamashita, Yuu 1f761275cd Install virtualenv 13.1.2 for CPython 3.2 (yyuu/pyenv#531) 2016-01-30 04:34:23 +00:00
Yamashita, Yuu 51ebc8ff8a v20160112 2016-01-12 01:53:27 +00:00
Yamashita, Yuu 5963688fc4 v20151229 2015-12-29 09:13:51 +00:00
Yamashita, Yuu 0b42fbc27d v20151222 2015-12-22 10:38:02 +00:00