NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI, #134 most downloaded on PyPI
Virtual Python Environment builder
Latest stable
21.15.9
Last release 2 days ago
18 Nov 2026
Ships on a steady schedule
a new release about every 9 days
Nearly every release is documented
notes for 60 of the last 60 stable releases
3 versions withdrawn
withdrawn after publishing
19 years old
319 releases · first in 2007
Drag across the ruler to compare, or tap a release to open it.
release 20.19.0 by @gaborbernat in https://github.com/pypa/virtualenv/pull/2503
Full Changelog: https://github.com/pypa/virtualenv/compare/20.19.0...20.20.0
Change environment variable existence check in Nushell activation script to not use deprecated command. ( PR #2506 ) - by @kubouch .
Discover CPython implementations distributed on Windows by any organization - by @faph . ( PR #2504 )
Upgrade embedded setuptools to 67.4.0 from 67.1.0 and pip to 23.0.1 from 23.0 - by @gaborbernat . ( PR #2510 )
Change environment variable existence check in Nushell activation script to not use deprecated command. (2506) - by kubouch.
Discover CPython implementations distributed on Windows by any organization - by faph. (2504)
Upgrade embedded setuptools to 67.4.0 from 67.1.0 and pip to 23.0.1 from 23.0 - by gaborbernat. (2510)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
release 20.18.0 by @gaborbernat in https://github.com/pypa/virtualenv/pull/2497
Full Changelog: https://github.com/pypa/virtualenv/compare/20.18.0...20.19.0
release 20.17.1 by @gaborbernat in https://github.com/pypa/virtualenv/pull/2462
Full Changelog: https://github.com/pypa/virtualenv/compare/20.17.1...20.18.0
Drop 3.6 runtime support (can still create 2.7+ ) - by @gaborbernat . ( PR #2489 )
Fix broken prompt in Nushell when activating virtual environment - by @kubouc and @kubouch . ( PR #2481 )
Bump embedded pip to 23.0 and setuptools to 67.1 - by @gaborbernat . ( PR #2489 )
Drop 3.6 runtime support (can still create 2.7+) - by gaborbernat. (2489)
Fix broken prompt in Nushell when activating virtual environment - by kubouc and kubouch. (2481)
Bump embedded pip to 23.0 and setuptools to 67.1 - by gaborbernat. (2489)
release 20.17.0 by @gaborbernat in https://github.com/pypa/virtualenv/pull/2452
VIRTUAL_ENV_DISABLE_PROMPT in nushell activation script by @m-lima in https://github.com/pypa/virtualenv/pull/2458Full Changelog: https://github.com/pypa/virtualenv/compare/20.17.0...20.17.1
A py or python spec means any Python rather than CPython - by @gaborbernat . ( PR #2460 )
Make activate.nu respect VIRTUAL_ENV_DISABLE_PROMPT and not set the prompt if requested - by @m-lima . ( #2461 )
A py or python spec means any Python rather than CPython - by gaborbernat. (2460)
Make activate.nu respect VIRTUAL_ENV_DISABLE_PROMPT and not set the prompt if requested - by m-lima. (2461)
Do not use deprecated API by @gaborbernat in https://github.com/pypa/virtualenv/pull/2448
Full Changelog: https://github.com/pypa/virtualenv/compare/20.16.7...20.17.0
Change Nushell activation script to be a module meant to be activated as an overlay. ( PR #2422 ) - by @kubouch .
Update operator used in Nushell activation script to be compatible with future versions. ( PR #2450 ) - by @kubouch .
Do not use deprecated API from importlib.resources on Python 3.10 or later - by @gaborbernat . ( PR #2448 )
Upgrade embedded setuptools to 65.6.3 from 65.5.1 - by @gaborbernat . ( PR #2451 )
Change Nushell activation script to be a module meant to be activated as an overlay. (2422) - by kubouch.
Update operator used in Nushell activation script to be compatible with future versions. (2450) - by kubouch.
Do not use deprecated API from importlib.resources on Python 3.10 or later - by gaborbernat. (2448)
Upgrade embedded setuptools to 65.6.3 from 65.5.1 - by gaborbernat. (2451)
release 20.16.6 by @gaborbernat in https://github.com/pypa/virtualenv/pull/2437
Full Changelog: https://github.com/pypa/virtualenv/compare/20.16.6...20.16.7
Use parent directory of python executable for pyvenv.cfg “home” value per PEP 405 - by @vfazio . ( #2440 )
In POSIX virtual environments, try alternate binary names if sys._base_executable does not exist - by @vfazio . ( PR #2442 )
Upgrade embedded wheel to 0.38.4 and pip to 22.3.1 from 22.3 and setuptools to 65.5.1 from 65.5.0 - by @gaborbernat . ( PR #2443 )
Use parent directory of python executable for pyvenv.cfg "home" value per PEP 405 - by vfazio. (2440)
In POSIX virtual environments, try alternate binary names if sys._base_executable does not exist - by vfazio. (2442)
Upgrade embedded wheel to 0.38.4 and pip to 22.3.1 from 22.3 and setuptools to 65.5.1 from 65.5.0 - by gaborbernat. (2443)
release 20.16.5 by @gaborbernat in https://github.com/pypa/virtualenv/pull/2413
find_compatible_in_house by @schaap in https://github.com/pypa/virtualenv/pull/2430Full Changelog: https://github.com/pypa/virtualenv/compare/20.16.5...20.16.6
Drop unneeded shims for PyPy3 directory structure ( PR #2426 ) - by @mattip .
Fix selected scheme on debian derivatives for python 3.10 when python3-distutils is not installed or the venv scheme is not available - by @asottile . ( #2350 )
Allow the test suite to pass even with the original C shell (rather than tcsh ) - by @kulikjak . ( PR #2418 )
Fix fallback handling of downloading wheels for bundled packages - by @schaap . ( #2429 )
Upgrade embedded setuptools to 65.5.0 from 65.3.0 and pip to 22.3 from 22.2.2 - by @gaborbernat . ( PR #2434 )
Drop unneeded shims for PyPy3 directory structure (2426) - by mattip.
Fix selected scheme on debian derivatives for python 3.10 when python3-distutils is not installed or the venv scheme is not available - by asottile. (2350)
Allow the test suite to pass even with the original C shell (rather than tcsh) - by kulikjak. (2418)
Fix fallback handling of downloading wheels for bundled packages - by schaap. (2429)
Upgrade embedded setuptools to 65.5.0 from 65.3.0 and pip to 22.3 from 22.2.2 - by gaborbernat. (2434)
release 20.16.4 by @gaborbernat in https://github.com/pypa/virtualenv/pull/2407
Full Changelog: https://github.com/pypa/virtualenv/compare/20.16.4...20.16.5
Do not turn echo off for subsequent commands in batch activators ( activate.bat and deactivate.bat ) - by @pawelszramowski . ( #2411 )
Do not turn echo off for subsequent commands in batch activators (activate.bat and deactivate.bat) - by pawelszramowski. (2411)
release 20.16.3 by @gaborbernat in https://github.com/pypa/virtualenv/pull/2396
Full Changelog: https://github.com/pypa/virtualenv/compare/20.16.3...20.16.4
Bump embed setuptools to 65.3 - by @gaborbernat . ( PR #2405 )
release 20.16.2 by @gaborbernat in https://github.com/pypa/virtualenv/pull/2392
Full Changelog: https://github.com/pypa/virtualenv/compare/20.16.2...20.16.3
Upgrade embedded pip to 22.2.2 from 22.2.1 and setuptools to 63.4.1 from 63.2.0 - by @gaborbernat . ( PR #2395 )
Upgrade embedded pip to 22.2.2 from 22.2.1 and setuptools to 63.4.1 from 63.2.0 - by gaborbernat. (2395)
release 20.16.1 by @gaborbernat in https://github.com/pypa/virtualenv/pull/2390
Full Changelog: https://github.com/pypa/virtualenv/compare/20.16.1...20.16.2
Bump embedded pip from 22.2 to 22.2.1 - by @gaborbernat . ( PR #2391 )
Bump embedded pip from 22.2 to 22.2.1 - by gaborbernat. (2391)
release 20.16.0 by @gaborbernat in https://github.com/pypa/virtualenv/pull/2384
Full Changelog: https://github.com/pypa/virtualenv/compare/20.16.0...20.16.1
Update Nushell activation scripts to version 0.67 - by @kubouch . ( PR #2386 )
Update Nushell activation scripts to version 0.67 - by kubouch. (2386)
release 20.15.1 by @gaborbernat in https://github.com/pypa/virtualenv/pull/2370
site after rewrite by @YouJiacheng in https://github.com/pypa/virtualenv/pull/2379Full Changelog: https://github.com/pypa/virtualenv/compare/20.15.1...20.16.0
Drop support for running under Python 2 (still can generate Python 2 environments) - by @gaborbernat . ( PR #2382 )
Upgrade embedded pip to 22.2 from 22.1.2 and setuptools to 63.2.0 from 62.6.0 - by @gaborbernat . ( PR #2383 )
Drop support for running under Python 2 (still can generate Python 2 environments) - by gaborbernat. (2382)
Upgrade embedded pip to 22.2 from 22.1.2 and setuptools to 63.2.0 from 62.6.0 - by gaborbernat. (2383)
- Fix the incorrect operation when setuptools plugins output something into stdout . ( PR #2335 ) - by @KOLANICH .
Fix the incorrect operation when setuptools plugins output something into stdout . ( PR #2335 ) - by @KOLANICH .
CPython3Windows creator ignores missing DLLs dir. ( #2368 ) - by @reksar .
Fix the incorrect operation when setuptools plugins output something into stdout. (2335) - by KOLANICH.
CPython3Windows creator ignores missing DLLs dir. (2368) - by reksar.
release 20.14.1 by @gaborbernat in https://github.com/pypa/virtualenv/pull/2331
Full Changelog: https://github.com/pypa/virtualenv/compare/20.14.1...20.15.0
Support for Windows embeddable Python package: includes python<VERSION>.zip in the creator sources - by @reksarka . ( #1774 )
Use shlex.quote instead of deprecated pipes.quote in Python 3 - by @frenzymadness . ( PR #2351 )
Fix Windows PyPy 3.6 - by @reksarka and @reksar . ( PR #2363 )
Upgrade embedded setuptools to 62.3.3 from 62.6.0 and pip to 22.1.2 from 22.0.4 - by @gaborbernat . ( PR #2348 )
Support for Windows embeddable Python package: includes python<VERSION>.zip in the creator sources - by reksarka. (1774)
Use shlex.quote instead of deprecated pipes.quote in Python 3 - by frenzymadness. (2351)
Fix Windows PyPy 3.6 - by reksarka and reksar. (2363)
Upgrade embedded setuptools to 62.3.3 from 62.6.0 and pip to 22.1.2 from 22.0.4 - by gaborbernat. (2348)
- Support for creating a virtual environment from a Python 2.7 framework on macOS 12 - by @nickhutchinson .
Support for creating a virtual environment from a Python 2.7 framework on macOS 12 - by @nickhutchinson . ( #2284 )
Upgrade embedded setuptools to 62.1.0 from 61.0.0 - by @gaborbernat . ( #2327 )
Support for creating a virtual environment from a Python 2.7 framework on macOS 12 - by nickhutchinson. (2284)
Upgrade embedded setuptools to 62.1.0 from 61.0.0 - by gaborbernat. (2327)
- Support Nushell activation scripts with nu version 0.60 - by @kubouch . ( PR #2321 )
Support Nushell activation scripts with nu version 0.60 - by @kubouch . ( PR #2321 )
Upgrade embedded setuptools to 61.0.0 from 60.10.0 - by @gaborbernat . ( PR #2322 )
Support Nushell activation scripts with nu version 0.60 - by kubouch. (2321)
Upgrade embedded setuptools to 61.0.0 from 60.10.0 - by gaborbernat. (2322)
- Improve performance of python startup inside created virtualenvs - by @asottile . ( PR #2317 )
Improve performance of python startup inside created virtualenvs - by @asottile . ( PR #2317 )
Upgrade embedded setuptools to 60.10.0 from 60.9.3 - by @gaborbernat . ( PR #2320 )
Improve performance of python startup inside created virtualenvs - by asottile. (2317)
Upgrade embedded setuptools to 60.10.0 from 60.9.3 - by gaborbernat. (2320)
- Avoid symlinking the contents of /usr into PyPy3.8+ virtualenvs - by @stefanor and @gaborbernat . ( PR #2310 )
Avoid symlinking the contents of /usr into PyPy3.8+ virtualenvs - by @stefanor and @gaborbernat . ( PR #2310 )
Bump embed pip from 22.0.3 to 22.0.4 - by @gaborbernat . ( PR #2311 )
Avoid symlinking the contents of /usr into PyPy3.8+ virtualenvs - by stefanor and gaborbernat. (2310)
Bump embed pip from 22.0.3 to 22.0.4 - by gaborbernat. (2311)
- Upgrade embedded setuptools to 60.9.3 from 60.6.0 - by @gaborbernat . ( PR #2306 )
Upgrade embedded setuptools to 60.9.3 from 60.6.0 - by @gaborbernat . ( PR #2306 )
Upgrade embedded setuptools to 60.9.3 from 60.6.0 - by gaborbernat. (2306)
- Fix “execv() arg 2 must contain only strings” on M1 macOS ( #2282 ) - by @isac322 .
Fix “execv() arg 2 must contain only strings” on M1 macOS ( #2282 ) - by @isac322 .
Upgrade embedded setuptools to 60.5.0 from 60.2.0 - by @asottile . ( PR #2289 )
Upgrade embedded pip to 22.0.3 and setuptools to 60.6.0 - by @gaborbernat and @asottile . ( PR #2294 )
Fix "execv() arg 2 must contain only strings" on M1 macOS (2282) - by isac322.
Upgrade embedded setuptools to 60.5.0 from 60.2.0 - by asottile. (2289)
Upgrade embedded pip to 22.0.3 and setuptools to 60.6.0 - by gaborbernat and asottile. (2294)
- Add downloaded wheel information in the relevant JSON embed file to prevent additional downloads of the same wheel. - by @mayeut .
Add downloaded wheel information in the relevant JSON embed file to prevent additional downloads of the same wheel. - by @mayeut . ( #2268 )
Fix AttributeError: 'bool' object has no attribute 'error' when creating a Python 2.x virtualenv on macOS - by @moreati . ( #2269 )
Fix PermissionError: [Errno 1] Operation not permitted when creating a Python 2.x virtualenv on macOS/arm64 - by @moreati . ( #2271 )
Add downloaded wheel information in the relevant JSON embed file to prevent additional downloads of the same wheel. - by mayeut. (2268)
Fix AttributeError: 'bool' object has no attribute 'error' when creating a Python 2.x virtualenv on macOS - by moreati. (2269)
Fix PermissionError: [Errno 1] Operation not permitted when creating a Python 2.x virtualenv on macOS/arm64 - by moreati. (2271)
- Try using previous updates of pip , setuptools & wheel when inside an update grace period rather than always falling back to embedded wheels - by @m
Try using previous updates of pip , setuptools & wheel when inside an update grace period rather than always falling back to embedded wheels - by @mayeut . ( #2265 )
New patch versions of pip , setuptools & wheel are now returned in the expected timeframe. - by @mayeut . ( #2266 )
Manual upgrades of pip , setuptools & wheel are not discarded by a periodic update - by @mayeut . ( #2267 )
Try using previous updates of pip, setuptools & wheel when inside an update grace period rather than always falling back to embedded wheels - by mayeut. (2265)
New patch versions of pip, setuptools & wheel are now returned in the expected timeframe. - by mayeut. (2266)
Manual upgrades of pip, setuptools & wheel are not discarded by a periodic update - by mayeut. (2267)
- Sign the python2 exe on Darwin arm64 - by @tmspicer and @gaborbernat . ( PR #2233 )
Sign the python2 exe on Darwin arm64 - by @tmspicer and @gaborbernat . ( PR #2233 )
Fix --download option - by @mayeut . ( #2120 )
Upgrade embedded setuptools to 60.2.0 from 60.1.1 - by @gaborbernat . ( PR #2263 )
Sign the python2 exe on Darwin arm64 - by tmspicer and gaborbernat. (2233)
Fix --download option - by mayeut. (2120)
Upgrade embedded setuptools to 60.2.0 from 60.1.1 - by gaborbernat. (2263)
- Fix installation of pinned versions of pip , setuptools & wheel - by @mayeut .
Fix installation of pinned versions of pip , setuptools & wheel - by @mayeut . ( #2203 )
Fix installation of pinned versions of pip, setuptools & wheel - by mayeut. (2203)
- Bump embed setuptools to 60.1.1 from 60.1.0 - by @gaborbernat . ( PR #2258 )
Bump embed setuptools to 60.1.1 from 60.1.0 - by @gaborbernat . ( PR #2258 )
Bump embed setuptools to 60.1.1 from 60.1.0 - by gaborbernat. (2258)
- Avoid deprecation warning from py-filelock argument - by @ofek and @gaborbernat . ( PR #2237 )
Avoid deprecation warning from py-filelock argument - by @ofek and @gaborbernat . ( PR #2237 )
Drop the runtime dependency of backports.entry-points-selectable - by @hroncok . ( PR #2246 )
Fish: PATH variables should not be quoted when being set - by @d3dave . ( PR #2248 )
Upgrade embedded setuptools to 61.1.0 from 58.3.0 - by @gaborbernat . ( #2240 )
Avoid deprecation warning from py-filelock argument - by ofek and gaborbernat. (2237)
Drop the runtime dependency of backports.entry-points-selectable - by hroncok. (2246)
Fish: PATH variables should not be quoted when being set - by d3dave. (2248)
Upgrade embedded setuptools to 61.1.0 from 58.3.0 - by gaborbernat. (2240)
- If a "venv" install scheme exists in sysconfig , virtualenv now uses it to create new virtual environments. This allows Python distributors, such as
If a "venv" install scheme exists in sysconfig , virtualenv now uses it to create new virtual environments. This allows Python distributors, such as Fedora, to patch/replace the default install scheme without affecting the paths in new virtual environments. A similar technique was proposed to Python, for the venv module - by @hroncok ( #2208 )
The activated virtualenv prompt is now always wrapped in parentheses. This affects venvs created with the --prompt attribute, and matches virtualenv’s behavior on par with venv. ( PR #2224 ) - by @tusharsadhwani .
Fix broken prompt set up by activate.bat - by @SiggyBar . ( #2225 )
If a "venv" install scheme exists in sysconfig, virtualenv now uses it to create new virtual environments. This allows Python distributors, such as Fedora, to patch/replace the default install scheme without affecting the paths in new virtual environments. A similar technique was proposed to Python, for the venv module - by hroncok (2208)
The activated virtualenv prompt is now always wrapped in parentheses. This affects venvs created with the --prompt attribute, and matches virtualenv's behavior on par with venv. (2224) - by tusharsadhwani.
Fix broken prompt set up by activate.bat - by SiggyBar. (2225)
- Special-case --prompt . to the name of the current directory - by @rkm and @gaborbernat . ( PR #2220 )
Special-case --prompt . to the name of the current directory - by @rkm and @gaborbernat . ( PR #2220 )
Add libffi-8.dll to pypy windows PR #2218 - by @mattip
Fixed path collision that could lead to a PermissionError or writing to system directories when using PyPy3.8 - by @mgorny . ( #2182 )
Remove stray closing parenthesis in activate.bat - by @SiggyBar and @SigmundVik . ( PR #2221 )
Upgrade embedded setuptools to 58.3.0 from 58.1.0 and pip to 21.3.1 from 21.2.4 - by @gaborbernat . ( PR #2205 )
Special-case --prompt . to the name of the current directory - by rkm and gaborbernat. (2220)
Add libffi-8.dll to pypy windows 2218 - by mattip
Fixed path collision that could lead to a PermissionError or writing to system directories when using PyPy3.8 - by mgorny. (2182)
Remove stray closing parenthesis in activate.bat - by SiggyBar and SigmundVik. (2221)
Upgrade embedded setuptools to 58.3.0 from 58.1.0 and pip to 21.3.1 from 21.2.4 - by gaborbernat. (2205)
- Fixed a bug where while creating a venv on top of an existing one, without cleaning, when seeded wheel version mismatch occurred, multiple .dist-inf
Fixed a bug where while creating a venv on top of an existing one, without cleaning, when seeded wheel version mismatch occurred, multiple .dist-info directories may be present, confounding entrypoint discovery - by @arcivanov ( #2185 )
Bump embed setuptools from 58.0.4 to 58.1.0 - by @gaborbernat . ( PR #2195 )
Fixed a bug where while creating a venv on top of an existing one, without cleaning, when seeded wheel version mismatch occurred, multiple .dist-info directories may be present, confounding entrypoint discovery - by arcivanov (2185)
Bump embed setuptools from 58.0.4 to 58.1.0 - by gaborbernat. (2195)
- Add the nushell activation script - by @elferherrera .
Add the nushell activation script - by @elferherrera .
Upgrade embedded setuptools to 58.0.4 from 57.4.0 and pip to 21.2.4 from 21.2.3 - by @gaborbernat .
Add the nushell activation script - by elferherrera.
Upgrade embedded setuptools to 58.0.4 from 57.4.0 and pip to 21.2.4 from 21.2.3 - by gaborbernat.
- Upgrade embedded pip to 21.2.3 from 21.2.2 and wheel to 0.37.0 from 0.36.2 - by @gaborbernat . ( PR #2168 )
Upgrade embedded pip to 21.2.3 from 21.2.2 and wheel to 0.37.0 from 0.36.2 - by @gaborbernat . ( PR #2168 )
Upgrade embedded pip to 21.2.3 from 21.2.2 and wheel to 0.37.0 from 0.36.2 - by gaborbernat. (2168)
- Fix unpacking dictionary items in PythonInfo.install_path ( PR #2165 ) - by @denismaciel .
Fix unpacking dictionary items in PythonInfo.install_path ( PR #2165 ) - by @denismaciel .
Fix unpacking dictionary items in PythonInfo.install_path (2165) - by denismaciel.
- Removed xonsh activator due to this breaking fairly often the CI and lack of support from those packages maintainers, upstream is encouraged to cont
Removed xonsh activator due to this breaking fairly often the CI and lack of support from those packages maintainers, upstream is encouraged to continue supporting the project as a plugin - by @gaborbernat . ( PR #2160 )
upgrade embedded pip to 21.2.2 from 21.1.3 and setuptools to 57.4.0 from 57.1.0 - by @gaborbernat ( PR #2159 )
Removed xonsh activator due to this breaking fairly often the CI and lack of support from those packages maintainers, upstream is encouraged to continue supporting the project as a plugin - by gaborbernat. (2160)
upgrade embedded pip to 21.2.2 from 21.1.3 and setuptools to 57.4.0 from 57.1.0 - by gaborbernat (2159)
- Support Python interpreters without distutils (fallback to syconfig in these cases) - by @gaborbernat .
Support Python interpreters without distutils (fallback to syconfig in these cases) - by @gaborbernat . ( #1910 )
Support Python interpreters without distutils (fallback to syconfig in these cases) - by gaborbernat. (1910)
- Plugins now use ‘selectable’ entry points - by @jaraco .
Plugins now use ‘selectable’ entry points - by @jaraco . ( #2093 )
add libffi-7.dll to the hard-coded list of dlls for PyPy ( PR #2141 ) - by @mattip and @gaborbernat .
Use the better maintained platformdirs instead of appdirs - by @gaborbernat . ( PR #2142 )
Drop python 3.4 support as it has been over 2 years since EOL - by @gaborbernat and @mattip . ( PR #2141 )
Bump pip the embedded pip 21.1.3 and setuptools to 57.1.0 - by @gaborbernat . ( PR #2135 )
Plugins now use 'selectable' entry points - by jaraco. (2093)
add libffi-7.dll to the hard-coded list of dlls for PyPy (2141) - by mattip and gaborbernat.
Use the better maintained platformdirs instead of appdirs - by gaborbernat. (2142)
Drop python 3.4 support as it has been over 2 years since EOL - by gaborbernat and mattip. (2141)
Bump pip the embedded pip 21.1.3 and setuptools to 57.1.0 - by gaborbernat. (2135)
- Upgrade embedded pip to 21.1.2 and setuptools to 57.0.0 - by @gaborbernat . ( PR #2123 )
Upgrade embedded pip to 21.1.2 and setuptools to 57.0.0 - by @gaborbernat . ( PR #2123 )
Upgrade embedded pip to 21.1.2 and setuptools to 57.0.0 - by gaborbernat. (2123)
- Fix site.getsitepackages() broken on python2 on debian - by @freundTech .
Fix site.getsitepackages() broken on python2 on debian - by @freundTech . ( #2105 )
Fix site.getsitepackages() broken on python2 on debian - by freundTech. (2105)
- Fix site.getsitepackages() ignoring --system-site-packages on python2 - by @freundTech .
Fix site.getsitepackages() ignoring --system-site-packages on python2 - by @freundTech . ( #2106 )
Bump pip to 21.1.1 from 21.0.1 - by @gaborbernat . ( PR #2104 )
Fix site.getsitepackages() ignoring --system-site-packages on python2 - by freundTech. (2106)
Bump pip to 21.1.1 from 21.0.1 - by gaborbernat. (2104)
- Built in discovery class is always preferred over plugin supplied classes. ( #2087 ) - by @AWhetter .
Built in discovery class is always preferred over plugin supplied classes. ( #2087 ) - by @AWhetter .
Upgrade embedded setuptools to 56.0.0 by @gaborbernat . ( PR #2094 )
Built in discovery class is always preferred over plugin supplied classes. (2087) - by AWhetter.
Upgrade embedded setuptools to 56.0.0 by gaborbernat. (2094)
- Fix PyPy3 stdlib on Windows is incorrect - by @gaborbernat .
Fix PyPy3 stdlib on Windows is incorrect - by @gaborbernat . ( #2071 )
Bump embedded setuptools from 52.0.0 to 54.1.2 - by @gaborbernat ( PR #2069 )
Fix PyPy3 stdlib on Windows is incorrect - by gaborbernat. (2071)
Bump embedded setuptools from 52.0.0 to 54.1.2 - by gaborbernat (2069)
- Running virtualenv --upgrade-embed-wheels crashes - by @gaborbernat .
Running virtualenv --upgrade-embed-wheels crashes - by @gaborbernat . ( #2058 )
Running virtualenv --upgrade-embed-wheels crashes - by gaborbernat. (2058)
- Bump embedded pip and setuptools packages to latest upstream supported ( 21.0.1 and 52.0.0 ) - by @gaborbernat . ( PR #2060 )
Bump embedded pip and setuptools packages to latest upstream supported ( 21.0.1 and 52.0.0 ) - by @gaborbernat . ( PR #2060 )
Bump embedded pip and setuptools packages to latest upstream supported (21.0.1 and 52.0.0) - by gaborbernat. (2060)
- On the programmatic API allow passing in the environment variable dictionary to use, defaults to os.environ if not specified - by @gaborbernat . ( P
On the programmatic API allow passing in the environment variable dictionary to use, defaults to os.environ if not specified - by @gaborbernat . ( PR #2054 )
Upgrade embedded setuptools to 51.3.3 from 51.1.2 - by @gaborbernat . ( PR #2055 )
On the programmatic API allow passing in the environment variable dictionary to use, defaults to os.environ if not specified - by gaborbernat. (2054)
Upgrade embedded setuptools to 51.3.3 from 51.1.2 - by gaborbernat. (2055)
- Allow unfunctioning of pydoc to fail freely so that virtualenvs can be activated under Zsh with set -e (since otherwise unset -f and unfunction exit
Allow unfunctioning of pydoc to fail freely so that virtualenvs can be activated under Zsh with set -e (since otherwise unset -f and unfunction exit with 1 if the function does not exist in Zsh) - by @d125q . ( PR #2049 )
Drop cached python information if the system executable is no longer present (for example when the executable is a shim and the mapped executable is replaced - such is the case with pyenv) - by @gaborbernat . ( PR #2050 )
Bump embed pip to 20.3.3 , setuptools to 51.1.1 and wheel to 0.36.2 - by @gaborbernat . ( PR #2036 )
Allow unfunctioning of pydoc to fail freely so that virtualenvs can be activated under Zsh with set -e (since otherwise unset -f and unfunction exit with 1 if the function does not exist in Zsh) - by d125q. (2049)
Drop cached python information if the system executable is no longer present (for example when the executable is a shim and the mapped executable is replaced - such is the case with pyenv) - by gaborbernat. (2050)
Bump embed pip to 20.3.3, setuptools to 51.1.1 and wheel to 0.36.2 - by gaborbernat. (2036)
- The builtin discovery takes now a --try-first-with argument and is first attempted as valid interpreters. One can use this to force discovery of a g
The builtin discovery takes now a --try-first-with argument and is first attempted as valid interpreters. One can use this to force discovery of a given python executable when the discovery order/mechanism raises errors - by @gaborbernat . ( PR #2046 )
On Windows python 3.7+ distributions where the exe shim is missing fallback to the old ways - by @gaborbernat . ( #1986 )
When discovering interpreters on Windows, via the PEP-514, prefer PythonCore releases over other ones. virtualenv is used via pip mostly by this distribution, so prefer it over other such as conda - by @gaborbernat . ( PR #2046 )
The builtin discovery takes now a --try-first-with argument and is first attempted as valid interpreters. One can use this to force discovery of a given python executable when the discovery order/mechanism raises errors - by gaborbernat. (2046)
On Windows python 3.7+ distributions where the exe shim is missing fallback to the old ways - by gaborbernat. (1986)
When discovering interpreters on Windows, via the PEP-514, prefer PythonCore releases over other ones. virtualenv is used via pip mostly by this distribution, so prefer it over other such as conda - by gaborbernat. (2046)
- Bump pip to 20.3.1 , setuptools to 51.0.0 and wheel to 0.36.1 - by @gaborbernat . ( PR #2029 )
Bump pip to 20.3.1 , setuptools to 51.0.0 and wheel to 0.36.1 - by @gaborbernat . ( PR #2029 )
Bump pip to 20.3.1, setuptools to 51.0.0 and wheel to 0.36.1 - by gaborbernat. (2029)
.. _release-20-2-0:
- Optionally skip VCS ignore directive for entire virtualenv directory, using option no-vcs-ignore , by default False . ( #2003 ) - by @compwiztobe .
Optionally skip VCS ignore directive for entire virtualenv directory, using option no-vcs-ignore , by default False . ( #2003 ) - by @compwiztobe .
Add --read-only-app-data option to allow for creation based on an existing app data cache which is non-writable. This may be useful (for example) to produce a docker image where the app-data is pre-populated.
ENV \ VIRTUALENV_OVERRIDE_APP_DATA = /opt/virtualenv/cache \ VIRTUALENV_SYMLINK_APP_DATA = 1 RUN virtualenv venv && rm -rf venv ENV VIRTUALENV_READ_ONLY_APP_DATA = 1 USER nobody # this virtualenv has symlinks into the read-only app-data cache RUN virtualenv /tmp/venv
Patch by @asottile . ( PR #2009 )
Fix processing of the VIRTUALENV_PYTHON environment variable and make it multi-value as well (separated by comma)
Optionally skip VCS ignore directive for entire virtualenv directory, using option no-vcs-ignore, by default False. (2003) - by compwiztobe.
Add --read-only-app-data option to allow for creation based on an existing app data cache which is non-writable. This may be useful (for example) to produce a docker image where the app-data is pre-populated.
ENV \
VIRTUALENV_OVERRIDE_APP_DATA=/opt/virtualenv/cache \
VIRTUALENV_SYMLINK_APP_DATA=1
RUN virtualenv venv && rm -rf venv
ENV VIRTUALENV_READ_ONLY_APP_DATA=1
USER nobody
# this virtualenv has symlinks into the read-only app-data cache
RUN virtualenv /tmp/venv
Patch by asottile. (2009)
Fix processing of the VIRTUALENV_PYTHON environment variable and make it multi-value as well (separated by comma) - by pneff. (1998)
- The python specification can now take one or more values, first found is used to create the virtual environment - by @gaborbernat . ( PR #1995 )
The python specification can now take one or more values, first found is used to create the virtual environment - by @gaborbernat . ( PR #1995 )
The python specification can now take one or more values, first found is used to create the virtual environment - by gaborbernat. (1995)
- After importing virtualenv passing cwd to a subprocess calls breaks with invalid directory - by @gaborbernat .
After importing virtualenv passing cwd to a subprocess calls breaks with invalid directory - by @gaborbernat . ( #1983 )
Bump embedded setuptools from 50.3.0 to 50.3.1 - by @gaborbernat . ( PR #1982 )
After importing virtualenv passing cwd to a subprocess calls breaks with invalid directory - by gaborbernat. (1983)
Bump embedded setuptools from 50.3.0 to 50.3.1 - by gaborbernat. (1982)
- Align with venv module when creating virtual environments with builtin creator on Windows 3.7 and later - by @gaborbernat .
Align with venv module when creating virtual environments with builtin creator on Windows 3.7 and later - by @gaborbernat . ( #1782 )
Handle Cygwin path conversion in the activation script - by @davidcoghlan . ( #1969 )
Align with venv module when creating virtual environments with builtin creator on Windows 3.7 and later - by gaborbernat. (1782)
Handle Cygwin path conversion in the activation script - by davidcoghlan. (1969)
- Fix None type error in cygwin if POSIX path in dest - by @danyeaw .
Fix None type error in cygwin if POSIX path in dest - by @danyeaw . ( #1962 )
Fix Python 3.4 incompatibilities (added back to the CI) - by @gaborbernat . ( #1963 )
Fix None type error in cygwin if POSIX path in dest - by danyeaw. (1962)
Fix Python 3.4 incompatibilities (added back to the CI) - by gaborbernat. (1963)
- For activation scripts always use UNIX line endings (unless it’s BATCH shell related) - by @saytosid .
For activation scripts always use UNIX line endings (unless it’s BATCH shell related) - by @saytosid . ( #1818 )
Avoid spawning new windows when doing seed package upgrades in the background on Windows - by @gaborbernat . ( #1928 )
Fix a bug that reading and writing on the same file may cause race on multiple processes. ( #1938 ) - by @frostming .
Provide correct path for bash activator in cygwin or msys2 - by @danyeaw . ( #1940 )
Relax importlib requirement to allow version<3 - by @usamasadiq and @UsamaSadiq ( PR #1953 )
pth files were not processed on CPython2 if $PYTHONPATH was pointing to site-packages/ - by @navytux . ( #1959 ) ( PR #1960 )
Upgrade embedded pip to 20.2.1 and setuptools to 49.4.0 - by @gaborbernat . ( PR #1918 )
Upgrade embedded setuptools to 50.2.0 and pip to 20.2.3 - by @gaborbernat . ( PR #1939 )
For activation scripts always use UNIX line endings (unless it's BATCH shell related) - by saytosid. (1818)
Avoid spawning new windows when doing seed package upgrades in the background on Windows - by gaborbernat. (1928)
Fix a bug that reading and writing on the same file may cause race on multiple processes. (1938) - by frostming.
Provide correct path for bash activator in cygwin or msys2 - by danyeaw. (1940)
Relax importlib requirement to allow version<3 - by usamasadiq and UsamaSadiq (1953)
pth files were not processed on CPython2 if $PYTHONPATH was pointing to site-packages/ - by navytux. (1959) (1960)
Upgrade embedded pip to 20.2.1 and setuptools to 49.4.0 - by gaborbernat. (1918)
Upgrade embedded setuptools to 50.2.0 and pip to 20.2.3 - by gaborbernat. (1939)
- Upgrade embedded pip to 20.2.1 , setuptools to 49.6.0 and wheel to 0.35.1 - by @gaborbernat . ( PR #1918 )
Upgrade embedded pip to 20.2.1 , setuptools to 49.6.0 and wheel to 0.35.1 - by @gaborbernat . ( PR #1918 )
Upgrade embedded pip to 20.2.1, setuptools to 49.6.0 and wheel to 0.35.1 - by gaborbernat. (1918)
- Upgrade pip to 20.2.1 and setuptools to 49.2.1 - by @gaborbernat . ( PR #1915 )
Upgrade pip to 20.2.1 and setuptools to 49.2.1 - by @gaborbernat . ( PR #1915 )
Upgrade pip to 20.2.1 and setuptools to 49.2.1 - by gaborbernat. (1915)
- Upgrade embedded pip from version 20.1.2 to 20.2 - by @gaborbernat . ( PR #1909 )
Upgrade embedded pip from version 20.1.2 to 20.2 - by @gaborbernat . ( PR #1909 )
Upgrade embedded pip from version 20.1.2 to 20.2 - by gaborbernat. (1909)
- Fix test suite failing if run from system Python - by @gaborbernat .
Fix test suite failing if run from system Python - by @gaborbernat . ( #1882 )
Provide setup_logging flag to python API so that users can bypass logging handling if their application already performs this - by @gaborbernat . ( #1896 )
Use \n instead if \r\n as line separator for report (because Python already performs this transformation automatically upon write to the logging pipe) - by @gaborbernat . ( PR #1905 )
Fix test suite failing if run from system Python - by gaborbernat. (1882)
Provide setup_logging flag to python API so that users can bypass logging handling if their application already performs this - by gaborbernat. (1896)
Use \n instead if \r\n as line separator for report (because Python already performs this transformation automatically upon write to the logging pipe) - by gaborbernat. (1905)
- No longer preimport threading to fix support for gpython and gevent - by @navytux . ( PR #1897 )
No longer preimport threading to fix support for gpython and gevent - by @navytux . ( PR #1897 )
Upgrade setuptools from 49.2.0 on Python 3.5+ - by @gaborbernat . ( PR #1898 )
Upgrade setuptools from 49.2.0 on Python 3.5+ - by gaborbernat. (1898)
- Bump dependency distutils >= 0.3.1 - by @gaborbernat . ( PR #1880 )
Bump dependency distutils >= 0.3.1 - by @gaborbernat . ( PR #1880 )
Improve periodic update handling:
better logging output while running and enable logging on background process call ( _VIRTUALENV_PERIODIC_UPDATE_INLINE may be used to debug behavior inline)
fallback to unverified context when querying the PyPi for release date,
stop downloading wheels once we reach the embedded version,
by @gaborbernat . ( #1883 )
Do not print error message if the application exists with SystemExit(0) - by @gaborbernat . ( #1885 )
Upgrade embedded setuptools from 47.3.1 to 49.1.0 for Python 3.5+ - by @gaborbernat . ( PR #1887 )
Bump dependency distutils >= 0.3.1 - by gaborbernat. (1880)
Improve periodic update handling:
better logging output while running and enable logging on background process call ( _VIRTUALENV_PERIODIC_UPDATE_INLINE may be used to debug behavior inline)
fallback to unverified context when querying the PyPi for release date,
stop downloading wheels once we reach the embedded version,
by gaborbernat. (1883)
Do not print error message if the application exists with SystemExit(0) - by gaborbernat. (1885)
Upgrade embedded setuptools from 47.3.1 to 49.1.0 for Python 3.5+ - by gaborbernat. (1887)
One column per quarter.