D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
python37
/
share
/
doc
/
alt-python-virtualenv
/
docs
/
Filename :
changelog.rst
back
Copy
Release History =============== .. include:: _draft.rst .. towncrier release notes start v20.13.0 (2022-01-02) --------------------- Features - 20.13.0 ~~~~~~~~~~~~~~~~~~ - Add downloaded wheel information in the relevant JSON embed file to prevent additional downloads of the same wheel. - by :user:`mayeut`. (`#2268 <https://github.com/pypa/virtualenv/issues/2268>`_) v20.12.1 (2022-01-01) --------------------- Bugfixes - 20.12.1 ~~~~~~~~~~~~~~~~~~ - Try using previous updates of ``pip``, ``setuptools`` & ``wheel`` when inside an update grace period rather than always falling back to embedded wheels - by :user:`mayeut`. (`#2265 <https://github.com/pypa/virtualenv/issues/2265>`_) - New patch versions of ``pip``, ``setuptools`` & ``wheel`` are now returned in the expected timeframe. - by :user:`mayeut`. (`#2266 <https://github.com/pypa/virtualenv/issues/2266>`_) - Manual upgrades of ``pip``, ``setuptools`` & ``wheel`` are not discarded by a periodic update - by :user:`mayeut`. (`#2267 <https://github.com/pypa/virtualenv/issues/2267>`_) v20.12.0 (2021-12-31) --------------------- Features - 20.12.0 ~~~~~~~~~~~~~~~~~~ - Sign the python2 exe on Darwin arm64 - by :user:`tmspicer`. (`#2233 <https://github.com/pypa/virtualenv/issues/2233>`_) Bugfixes - 20.12.0 ~~~~~~~~~~~~~~~~~~ - Fix ``--download`` option - by :user:`mayeut`. (`#2120 <https://github.com/pypa/virtualenv/issues/2120>`_) - Ugrade embedded setuptools to ``60.2.0`` from ``60.1.1`` - by :user:`gaborbernat`. (`#2263 <https://github.com/pypa/virtualenv/issues/2263>`_) v20.11.2 (2021-12-29) --------------------- Bugfixes - 20.11.2 ~~~~~~~~~~~~~~~~~~ - Fix installation of pinned versions of ``pip``, ``setuptools`` & ``wheel`` - by :user:`mayeut`. (`#2203 <https://github.com/pypa/virtualenv/issues/2203>`_) v20.11.1 (2021-12-29) --------------------- Bugfixes - 20.11.1 ~~~~~~~~~~~~~~~~~~ - Bump embed setuptools to ``60.1.1`` from ``60.1.0`` - by :user:`gaborbernat`. (`#2258 <https://github.com/pypa/virtualenv/issues/2258>`_) v20.11.0 (2021-12-28) --------------------- Features - 20.11.0 ~~~~~~~~~~~~~~~~~~ - Avoid deprecation warning from py-filelock argument - by :user:`ofek`. (`#2237 <https://github.com/pypa/virtualenv/issues/2237>`_) - Upgrade embedded setuptools to ``61.1.0`` from ``58.3.0`` - by :user:`gaborbernat`. (`#2240 <https://github.com/pypa/virtualenv/issues/2240>`_) - Drop the runtime dependency of ``backports.entry-points-selectable`` - by :user:`hroncok`. (`#2246 <https://github.com/pypa/virtualenv/issues/2246>`_) - Fish: PATH variables should not be quoted when being set - by :user:`hroncok`. (`#2248 <https://github.com/pypa/virtualenv/issues/2248>`_) v20.10.0 (2021-11-01) --------------------- Features - 20.10.0 ~~~~~~~~~~~~~~~~~~ - 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 <https://bugs.python.org/issue45413>`_ - by ``hroncok`` (`#2208 <https://github.com/pypa/virtualenv/issues/2208>`_) - The activated virtualenv prompt is now always wrapped in parentheses. This affects venvs created with the ``--prompt`` attribute, and matches virtualenv's behaviour on par with venv. (`#2224 <https://github.com/pypa/virtualenv/issues/2224>`_) Bugfixes - 20.10.0 ~~~~~~~~~~~~~~~~~~ - Fix broken prompt set up by activate.bat - by :user:`SiggyBar`. (`#2225 <https://github.com/pypa/virtualenv/issues/2225>`_) v20.9.0 (2021-10-23) -------------------- Features - 20.9.0 ~~~~~~~~~~~~~~~~~ - Special-case ``--prompt .`` to the name of the current directory - by :user:`rkm`. (`#2220 <https://github.com/pypa/virtualenv/issues/2220>`_) - Add libffi-8.dll to pypy windows `#2218 <https://github.com/pypa/virtualenv/issues/2218>`_ - by :user:`mattip` Bugfixes - 20.9.0 ~~~~~~~~~~~~~~~~~ - Fixed path collision that could lead to a PermissionError or writing to system directories when using PyPy3.8 - by :user:`mgorny`. (`#2182 <https://github.com/pypa/virtualenv/issues/2182>`_) - Upgrade embedded setuptools to ``58.3.0`` from ``58.1.0`` and pip to ``21.3.1`` from ``21.2.4`` - by :user:`gaborbernat`. (`#2205 <https://github.com/pypa/virtualenv/issues/2205>`_) - Remove stray closing parenthesis in activate.bat - by :user:`SiggyBar`. (`#2221 <https://github.com/pypa/virtualenv/issues/2221>`_) v20.8.1 (2021-09-24) -------------------- Bugfixes - 20.8.1 ~~~~~~~~~~~~~~~~~ - 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 :user:`arcivanov` (`#2185 <https://github.com/pypa/virtualenv/issues/2185>`_) - Bump embed setuptools from ``58.0.4`` to ``58.1.0`` - by :user:`gaborbernat`. (`#2195 <https://github.com/pypa/virtualenv/issues/2195>`_) Misc - 20.8.1 ~~~~~~~~~~~~~ - `#2189 <https://github.com/pypa/virtualenv/issues/2189>`_ v20.8.0 (2021-09-16) -------------------- * upgrade embedded setuptools to ``58.0.4`` from ``57.4.0`` and pip to ``21.2.4`` from ``21.2.3`` * Add nushell activation script v20.7.2 (2021-08-10) -------------------- Bugfixes - 20.7.2 ~~~~~~~~~~~~~~~~~ - Upgrade embedded pip to ``21.2.3`` from ``21.2.2`` and wheel to ``0.37.0`` from ``0.36.2`` - by :user:`gaborbernat`. (`#2168 <https://github.com/pypa/virtualenv/issues/2168>`_) v20.7.1 (2021-08-09) -------------------- Bugfixes - 20.7.1 ~~~~~~~~~~~~~~~~~ - Fix unpacking dictionary items in PythonInfo.install_path (`#2165 <https://github.com/pypa/virtualenv/issues/2165>`_) v20.7.0 (2021-07-31) -------------------- Bugfixes - 20.7.0 ~~~~~~~~~~~~~~~~~ - upgrade embedded pip to ``21.2.2`` from ``21.1.3`` and setuptools to ``57.4.0`` from ``57.1.0`` - by :user:`gaborbernat` (`#2159 <https://github.com/pypa/virtualenv/issues/2159>`_) Deprecations and Removals - 20.7.0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 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 <https://github.com/xonsh/xonsh/issues/3689>`_ - by :user:`gaborbernat`. (`#2160 <https://github.com/pypa/virtualenv/issues/2160>`_) v20.6.0 (2021-07-14) -------------------- Features - 20.6.0 ~~~~~~~~~~~~~~~~~ - Support Python interpreters without ``distutils`` (fallback to ``syconfig`` in these cases) - by :user:`gaborbernat`. (`#1910 <https://github.com/pypa/virtualenv/issues/1910>`_) v20.5.0 (2021-07-13) -------------------- Features - 20.5.0 ~~~~~~~~~~~~~~~~~ - Plugins now use 'selectable' entry points - by :user:`jaraco`. (`#2093 <https://github.com/pypa/virtualenv/issues/2093>`_) - add libffi-7.dll to the hard-coded list of dlls for PyPy (`#2141 <https://github.com/pypa/virtualenv/issues/2141>`_) - Use the better maintained ``platformdirs`` instead of ``appdirs`` - by :user:`gaborbernat`. (`#2142 <https://github.com/pypa/virtualenv/issues/2142>`_) Bugfixes - 20.5.0 ~~~~~~~~~~~~~~~~~ - Bump pip the embedded pip ``21.1.3`` and setuptools to ``57.1.0`` - by :user:`gaborbernat`. (`#2135 <https://github.com/pypa/virtualenv/issues/2135>`_) Deprecations and Removals - 20.5.0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Drop python ``3.4`` support as it has been over 2 years since EOL - by :user:`gaborbernat`. (`#2141 <https://github.com/pypa/virtualenv/issues/2141>`_) v20.4.7 (2021-05-24) -------------------- Bugfixes - 20.4.7 ~~~~~~~~~~~~~~~~~ - Upgrade embedded pip to ``21.1.2`` and setuptools to ``57.0.0`` - by :user:`gaborbernat`. (`#2123 <https://github.com/pypa/virtualenv/issues/2123>`_) v20.4.6 (2021-05-05) -------------------- Bugfixes - 20.4.6 ~~~~~~~~~~~~~~~~~ - Fix ``site.getsitepackages()`` broken on python2 on debian - by :user:`freundTech`. (`#2105 <https://github.com/pypa/virtualenv/issues/2105>`_) v20.4.5 (2021-05-05) -------------------- Bugfixes - 20.4.5 ~~~~~~~~~~~~~~~~~ - Bump pip to ``21.1.1`` from ``21.0.1`` - by :user:`gaborbernat`. (`#2104 <https://github.com/pypa/virtualenv/issues/2104>`_) - Fix ``site.getsitepackages()`` ignoring ``--system-site-packages`` on python2 - by :user:`freundTech`. (`#2106 <https://github.com/pypa/virtualenv/issues/2106>`_) v20.4.4 (2021-04-20) -------------------- Bugfixes - 20.4.4 ~~~~~~~~~~~~~~~~~ - Built in discovery class is always preferred over plugin supplied classes. (`#2087 <https://github.com/pypa/virtualenv/issues/2087>`_) - Upgrade embeded setuptools to ``56.0.0`` by :user:`gaborbernat`. (`#2094 <https://github.com/pypa/virtualenv/issues/2094>`_) v20.4.3 (2021-03-16) -------------------- Bugfixes - 20.4.3 ~~~~~~~~~~~~~~~~~ - Bump embeded setuptools from ``52.0.0`` to ``54.1.2`` - by :user:`gaborbernat` (`#2069 <https://github.com/pypa/virtualenv/issues/2069>`_) - Fix PyPy3 stdlib on Windows is incorrect - by :user:`gaborbernat`. (`#2071 <https://github.com/pypa/virtualenv/issues/2071>`_) v20.4.2 (2021-02-01) -------------------- Bugfixes - 20.4.2 ~~~~~~~~~~~~~~~~~ - Running virtualenv ``--upgrade-embed-wheels`` crashes - by :user:`gaborbernat`. (`#2058 <https://github.com/pypa/virtualenv/issues/2058>`_) v20.4.1 (2021-01-31) -------------------- Bugfixes - 20.4.1 ~~~~~~~~~~~~~~~~~ - Bump embedded pip and setuptools packages to latest upstream supported (``21.0.1`` and ``52.0.0``) - by :user:`gaborbernat`. (`#2060 <https://github.com/pypa/virtualenv/issues/2060>`_) v20.4.0 (2021-01-19) -------------------- Features - 20.4.0 ~~~~~~~~~~~~~~~~~ - On the programmatic API allow passing in the environment variable dictionary to use, defaults to ``os.environ`` if not specified - by :user:`gaborbernat`. (`#2054 <https://github.com/pypa/virtualenv/issues/2054>`_) Bugfixes - 20.4.0 ~~~~~~~~~~~~~~~~~ - Upgrade embedded setuptools to ``51.3.3`` from ``51.1.2`` - by :user:`gaborbernat`. (`#2055 <https://github.com/pypa/virtualenv/issues/2055>`_) v20.3.1 (2021-01-13) -------------------- Bugfixes - 20.3.1 ~~~~~~~~~~~~~~~~~ - Bump embed pip to ``20.3.3``, setuptools to ``51.1.1`` and wheel to ``0.36.2`` - by :user:`gaborbernat`. (`#2036 <https://github.com/pypa/virtualenv/issues/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 :user:`d125q`. (`#2049 <https://github.com/pypa/virtualenv/issues/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 :user:`gaborbernat`. (`#2050 <https://github.com/pypa/virtualenv/issues/2050>`_) v20.3.0 (2021-01-10) -------------------- Features - 20.3.0 ~~~~~~~~~~~~~~~~~ - 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 :user:`gaborbernat`. (`#2046 <https://github.com/pypa/virtualenv/issues/2046>`_) Bugfixes - 20.3.0 ~~~~~~~~~~~~~~~~~ - On Windows python ``3.7+`` distributions where the exe shim is missing fallback to the old ways - by :user:`gaborbernat`. (`#1986 <https://github.com/pypa/virtualenv/issues/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 :user:`gaborbernat`. (`#2046 <https://github.com/pypa/virtualenv/issues/2046>`_) v20.2.2 (2020-12-07) -------------------- Bugfixes - 20.2.2 ~~~~~~~~~~~~~~~~~ - Bump pip to ``20.3.1``, setuptools to ``51.0.0`` and wheel to ``0.36.1`` - by :user:`gaborbernat`. (`#2029 <https://github.com/pypa/virtualenv/issues/2029>`_) v20.2.1 (2020-11-23) -------------------- No significant changes. v20.2.0 (2020-11-21) -------------------- Features - 20.2.0 ~~~~~~~~~~~~~~~~~ - Optionally skip VCS ignore directive for entire virtualenv directory, using option :option:`no-vcs-ignore`, by default ``False``. (`#2003 <https://github.com/pypa/virtualenv/issues/2003>`_) - 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. .. code-block:: dockerfile 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 :user:`asottile`. (`#2009 <https://github.com/pypa/virtualenv/issues/2009>`_) Bugfixes - 20.2.0 ~~~~~~~~~~~~~~~~~ - Fix processing of the ``VIRTUALENV_PYTHON`` environment variable and make it multi-value as well (separated by comma) - by :user:`pneff`. (`#1998 <https://github.com/pypa/virtualenv/issues/1998>`_) v20.1.0 (2020-10-25) -------------------- Features - 20.1.0 ~~~~~~~~~~~~~~~~~ - The python specification can now take one or more values, first found is used to create the virtual environment - by :user:`gaborbernat`. (`#1995 <https://github.com/pypa/virtualenv/issues/1995>`_) v20.0.35 (2020-10-15) --------------------- Bugfixes - 20.0.35 ~~~~~~~~~~~~~~~~~~ - Bump embedded setuptools from ``50.3.0`` to ``50.3.1`` - by :user:`gaborbernat`. (`#1982 <https://github.com/pypa/virtualenv/issues/1982>`_) - After importing virtualenv passing cwd to a subprocess calls breaks with ``invalid directory`` - by :user:`gaborbernat`. (`#1983 <https://github.com/pypa/virtualenv/issues/1983>`_) v20.0.34 (2020-10-12) --------------------- Bugfixes - 20.0.34 ~~~~~~~~~~~~~~~~~~ - Align with venv module when creating virtual environments with builtin creator on Windows 3.7 and later - by :user:`gaborbernat`. (`#1782 <https://github.com/pypa/virtualenv/issues/1782>`_) - Handle Cygwin path conversion in the activation script - by :user:`davidcoghlan`. (`#1969 <https://github.com/pypa/virtualenv/issues/1969>`_) v20.0.33 (2020-10-04) --------------------- Bugfixes - 20.0.33 ~~~~~~~~~~~~~~~~~~ - Fix ``None`` type error in cygwin if POSIX path in dest - by :user:`danyeaw`. (`#1962 <https://github.com/pypa/virtualenv/issues/1962>`_) - Fix Python 3.4 incompatibilities (added back to the CI) - by :user:`gaborbernat`. (`#1963 <https://github.com/pypa/virtualenv/issues/1963>`_) v20.0.32 (2020-10-01) --------------------- Bugfixes - 20.0.32 ~~~~~~~~~~~~~~~~~~ - For activation scripts always use UNIX line endings (unless it's BATCH shell related) - by :user:`saytosid`. (`#1818 <https://github.com/pypa/virtualenv/issues/1818>`_) - Upgrade embedded pip to ``20.2.1`` and setuptools to ``49.4.0`` - by :user:`gaborbernat`. (`#1918 <https://github.com/pypa/virtualenv/issues/1918>`_) - Avoid spawning new windows when doing seed package upgrades in the background on Windows - by :user:`gaborbernat`. (`#1928 <https://github.com/pypa/virtualenv/issues/1928>`_) - Fix a bug that reading and writing on the same file may cause race on multiple processes. (`#1938 <https://github.com/pypa/virtualenv/issues/1938>`_) - Upgrade embedded setuptools to ``50.2.0`` and pip to ``20.2.3`` - by :user:`gaborbernat`. (`#1939 <https://github.com/pypa/virtualenv/issues/1939>`_) - Provide correct path for bash activator in cygwin or msys2 - by :user:`danyeaw`. (`#1940 <https://github.com/pypa/virtualenv/issues/1940>`_) - Relax importlib requirement to allow version<3 - by :user:`usamasadiq` (`#1953 <https://github.com/pypa/virtualenv/issues/1953>`_) - pth files were not processed on CPython2 if $PYTHONPATH was pointing to site-packages/ - by :user:`navytux`. (`#1959 <https://github.com/pypa/virtualenv/issues/1959>`_) (`#1960 <https://github.com/pypa/virtualenv/issues/1960>`_) v20.0.31 (2020-08-17) --------------------- Bugfixes - 20.0.31 ~~~~~~~~~~~~~~~~~~ - Upgrade embedded pip to ``20.2.1``, setuptools to ``49.6.0`` and wheel to ``0.35.1`` - by :user:`gaborbernat`. (`#1918 <https://github.com/pypa/virtualenv/issues/1918>`_) v20.0.30 (2020-08-04) --------------------- Bugfixes - 20.0.30 ~~~~~~~~~~~~~~~~~~ - Upgrade pip to ``20.2.1`` and setuptools to ``49.2.1`` - by :user:`gaborbernat`. (`#1915 <https://github.com/pypa/virtualenv/issues/1915>`_) v20.0.29 (2020-07-31) --------------------- Bugfixes - 20.0.29 ~~~~~~~~~~~~~~~~~~ - Upgrade embedded pip from version ``20.1.2`` to ``20.2`` - by :user:`gaborbernat`. (`#1909 <https://github.com/pypa/virtualenv/issues/1909>`_) v20.0.28 (2020-07-24) --------------------- Bugfixes - 20.0.28 ~~~~~~~~~~~~~~~~~~ - Fix test suite failing if run from system Python - by :user:`gaborbernat`. (`#1882 <https://github.com/pypa/virtualenv/issues/1882>`_) - Provide ``setup_logging`` flag to python API so that users can bypass logging handling if their application already performs this - by :user:`gaborbernat`. (`#1896 <https://github.com/pypa/virtualenv/issues/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 :user:`gaborbernat`. (`#1905 <https://github.com/pypa/virtualenv/issues/1905>`_) v20.0.27 (2020-07-15) --------------------- Bugfixes - 20.0.27 ~~~~~~~~~~~~~~~~~~ - No longer preimport threading to fix support for `gpython <https://pypi.org/project/pygolang/#gpython>`_ and `gevent <https://www.gevent.org/>`_ - by :user:`navytux`. (`#1897 <https://github.com/pypa/virtualenv/issues/1897>`_) - Upgrade setuptools from ``49.2.0`` on ``Python 3.5+`` - by :user:`gaborbernat`. (`#1898 <https://github.com/pypa/virtualenv/issues/1898>`_) v20.0.26 (2020-07-07) --------------------- Bugfixes - 20.0.26 ~~~~~~~~~~~~~~~~~~ - Bump dependency ``distutils >= 0.3.1`` - by :user:`gaborbernat`. (`#1880 <https://github.com/pypa/virtualenv/issues/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 behaviour inline) - fallback to unverified context when querying the PyPi for release date, - stop downloading wheels once we reach the embedded version, by :user:`gaborbernat`. (`#1883 <https://github.com/pypa/virtualenv/issues/1883>`_) - Do not print error message if the application exists with ``SystemExit(0)`` - by :user:`gaborbernat`. (`#1885 <https://github.com/pypa/virtualenv/issues/1885>`_) - Upgrade embedded setuptools from ``47.3.1`` to ``49.1.0`` for Python ``3.5+`` - by :user:`gaborbernat`. (`#1887 <https://github.com/pypa/virtualenv/issues/1887>`_) v20.0.25 (2020-06-23) --------------------- Bugfixes - 20.0.25 ~~~~~~~~~~~~~~~~~~ - Fix that when the ``app-data`` seeders image creation fails the exception is silently ignored. Avoid two virtual environment creations to step on each others toes by using a lock while creating the base images. By :user:`gaborbernat`. (`#1869 <https://github.com/pypa/virtualenv/issues/1869>`_) v20.0.24 (2020-06-22) --------------------- Features - 20.0.24 ~~~~~~~~~~~~~~~~~~ - Ensure that the seeded packages do not get too much out of date: - add a CLI flag that triggers upgrade of embedded wheels under :option:`upgrade-embed-wheels` - periodically (once every 14 days) upgrade the embedded wheels in a background process, and use them if they have been released for more than 28 days (can be disabled via :option:`no-periodic-update`) More details under :ref:`wheels` - by :user:`gaborbernat`. (`#1821 <https://github.com/pypa/virtualenv/issues/1821>`_) - Upgrade embed wheel content: - ship wheels for Python ``3.9`` and ``3.10`` - upgrade setuptools for Python ``3.5+`` from ``47.1.1`` to ``47.3.1`` by :user:`gaborbernat`. (`#1841 <https://github.com/pypa/virtualenv/issues/1841>`_) - Display the installed seed package versions in the final summary output, for example: .. code-block:: console created virtual environment CPython3.8.3.final.0-64 in 350ms creator CPython3Posix(dest=/x, clear=True, global=False) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/y/virtualenv) added seed packages: pip==20.1.1, setuptools==47.3.1, wheel==0.34.2 by :user:`gaborbernat`. (`#1864 <https://github.com/pypa/virtualenv/issues/1864>`_) Bugfixes - 20.0.24 ~~~~~~~~~~~~~~~~~~ - Do not generate/overwrite ``.gitignore`` if it already exists at destination path - by :user:`gaborbernat`. (`#1862 <https://github.com/pypa/virtualenv/issues/1862>`_) - Improve error message for no ``.dist-info`` inside the ``app-data`` copy seeder - by :user:`gaborbernat`. (`#1867 <https://github.com/pypa/virtualenv/issues/1867>`_) Improved Documentation - 20.0.24 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - How seeding mechanisms discover (and automatically keep it up to date) wheels at :ref:`wheels` - by :user:`gaborbernat`. (`#1821 <https://github.com/pypa/virtualenv/issues/1821>`_) - How distributions should handle shipping their own embedded wheels at :ref:`distribution_wheels` - by :user:`gaborbernat`. (`#1840 <https://github.com/pypa/virtualenv/issues/1840>`_) v20.0.23 (2020-06-12) --------------------- Bugfixes - 20.0.23 ~~~~~~~~~~~~~~~~~~ - Fix typo in ``setup.cfg`` - by :user:`RowdyHowell`. (`#1857 <https://github.com/pypa/virtualenv/issues/1857>`_) v20.0.22 (2020-06-12) --------------------- Bugfixes - 20.0.22 ~~~~~~~~~~~~~~~~~~ - Relax ``importlib.resources`` requirement to also allow version 2 - by :user:`asottile`. (`#1846 <https://github.com/pypa/virtualenv/issues/1846>`_) - Upgrade embedded setuptools to ``44.1.1`` for python 2 and ``47.1.1`` for python3.5+ - by :user:`gaborbernat`. (`#1855 <https://github.com/pypa/virtualenv/issues/1855>`_) v20.0.21 (2020-05-20) --------------------- Features - 20.0.21 ~~~~~~~~~~~~~~~~~~ - Generate ignore file for version control systems to avoid tracking virtual environments by default. Users should remove these files if still want to track. For now we support only **git** by :user:`gaborbernat`. (`#1806 <https://github.com/pypa/virtualenv/issues/1806>`_) Bugfixes - 20.0.21 ~~~~~~~~~~~~~~~~~~ - Fix virtualenv fails sometimes when run concurrently, ``--clear-app-data`` conflicts with :option:`clear` flag when abbreviation is turned on. To bypass this while allowing abbreviated flags on the command line we had to move it to :option:`reset-app-data` - by :user:`gaborbernat`. (`#1824 <https://github.com/pypa/virtualenv/issues/1824>`_) - Upgrade embedded ``setuptools`` to ``46.4.0`` from ``46.1.3`` on Python ``3.5+``, and ``pip`` from ``20.1`` to ``20.1.1`` - by :user:`gaborbernat`. (`#1827 <https://github.com/pypa/virtualenv/issues/1827>`_) - Seeder pip now correctly handles ``--extra-search-dir`` - by :user:`frenzymadness`. (`#1834 <https://github.com/pypa/virtualenv/issues/1834>`_) v20.0.20 (2020-05-04) --------------------- Bugfixes - 20.0.20 ~~~~~~~~~~~~~~~~~~ - Fix download fails with python 3.4 - by :user:`gaborbernat`. (`#1809 <https://github.com/pypa/virtualenv/issues/1809>`_) - Fixes older CPython2 versions use ``_get_makefile_filename`` instead of ``get_makefile_filename`` on ``sysconfig`` - by :user:`ianw`. (`#1810 <https://github.com/pypa/virtualenv/issues/1810>`_) - Fix download is ``True`` by default - by :user:`gaborbernat`. (`#1813 <https://github.com/pypa/virtualenv/issues/1813>`_) - Fail ``app-data`` seed operation when wheel download fails and better error message - by :user:`gaborbernat`. (`#1814 <https://github.com/pypa/virtualenv/issues/1814>`_) v20.0.19 (2020-05-03) --------------------- Bugfixes - 20.0.19 ~~~~~~~~~~~~~~~~~~ - Fix generating a Python 2 environment from Python 3 creates invalid python activator - by :user:`gaborbernat`. (`#1776 <https://github.com/pypa/virtualenv/issues/1776>`_) - Fix pinning seed packages via ``app-data`` seeder raised ``Invalid Requirement`` - by :user:`gaborbernat`. (`#1779 <https://github.com/pypa/virtualenv/issues/1779>`_) - Do not stop interpreter discovery if we fail to find the system interpreter for a executable during discovery - by :user:`gaborbernat`. (`#1781 <https://github.com/pypa/virtualenv/issues/1781>`_) - On CPython2 POSIX platforms ensure ``syconfig.get_makefile_filename`` exists within the virtual environment (this is used by some c-extension based libraries - e.g. numpy - for building) - by :user:`gaborbernat`. (`#1783 <https://github.com/pypa/virtualenv/issues/1783>`_) - Better handling of options :option:`copies` and :option:`symlinks`. Introduce priority of where the option is set to follow the order: CLI, env var, file, hardcoded. If both set at same level prefers copy over symlink. - by :user:`gaborbernat`. (`#1784 <https://github.com/pypa/virtualenv/issues/1784>`_) - Upgrade pip for Python ``2.7`` and ``3.5+`` from ``20.0.2`` to ``20.1`` - by :user:`gaborbernat`. (`#1793 <https://github.com/pypa/virtualenv/issues/1793>`_) - Fix CPython is not discovered from Windows registry, and discover pythons from Windows registry in decreasing order by version - by :user:`gaborbernat`. (`#1796 <https://github.com/pypa/virtualenv/issues/1796>`_) - Fix symlink detection for creators - by :user:`asottile` (`#1803 <https://github.com/pypa/virtualenv/issues/1803>`_) v20.0.18 (2020-04-16) --------------------- Bugfixes - 20.0.18 ~~~~~~~~~~~~~~~~~~ - Importing setuptools before cli_run could cause our python information query to fail due to setuptools patching ``distutils.dist.Distribution`` - by :user:`gaborbernat`. (`#1771 <https://github.com/pypa/virtualenv/issues/1771>`_) v20.0.17 (2020-04-09) --------------------- Features - 20.0.17 ~~~~~~~~~~~~~~~~~~ - Extend environment variables checked for configuration to also check aliases (e.g. setting either ``VIRTUALENV_COPIES`` or ``VIRTUALENV_ALWAYS_COPY`` will work) - by :user:`gaborbernat`. (`#1763 <https://github.com/pypa/virtualenv/issues/1763>`_) v20.0.16 (2020-04-04) --------------------- Bugfixes - 20.0.16 ~~~~~~~~~~~~~~~~~~ - Allow seed wheel files inside the :option:`extra-search-dir` folders that do not have ``Requires-Python`` metadata specified, these are considered compatible with all python versions - by :user:`gaborbernat`. (`#1757 <https://github.com/pypa/virtualenv/issues/1757>`_) v20.0.15 (2020-03-27) --------------------- Features - 20.0.15 ~~~~~~~~~~~~~~~~~~ - Upgrade embedded setuptools to ``46.1.3`` from ``46.1.1`` - by :user:`gaborbernat`. (`#1752 <https://github.com/pypa/virtualenv/issues/1752>`_) v20.0.14 (2020-03-25) --------------------- Features - 20.0.14 ~~~~~~~~~~~~~~~~~~ - Remove ``__PYVENV_LAUNCHER__`` on macOs for Python ``3.7.(<8)`` and ``3.8.(<3)`` on interpreter startup via ``pth`` file, this pulls in the `upstream patch <https://github.com/python/cpython/pull/9516>`_ - by :user:`gaborbernat`. (`#1704 <https://github.com/pypa/virtualenv/issues/1704>`_) - Upgrade embedded setuptools for Python ``3.5+`` to ``46.1.1``, for Python ``2.7`` to ``44.1.0`` - by :user:`gaborbernat`. (`#1745 <https://github.com/pypa/virtualenv/issues/1745>`_) Bugfixes - 20.0.14 ~~~~~~~~~~~~~~~~~~ - Fix discovery of interpreter by name from ``PATH`` that does not match a spec format - by :user:`gaborbernat`. (`#1746 <https://github.com/pypa/virtualenv/issues/1746>`_) v20.0.13 (2020-03-19) --------------------- Bugfixes - 20.0.13 ~~~~~~~~~~~~~~~~~~ - Do not fail when the pyc files is missing for the host Python 2 - by :user:`gaborbernat`. (`#1738 <https://github.com/pypa/virtualenv/issues/1738>`_) - Support broken Packaging pythons that put the include headers under distutils pattern rather than sysconfig one - by :user:`gaborbernat`. (`#1739 <https://github.com/pypa/virtualenv/issues/1739>`_) v20.0.12 (2020-03-19) --------------------- Bugfixes - 20.0.12 ~~~~~~~~~~~~~~~~~~ - Fix relative path discovery of interpreters - by :user:`gaborbernat`. (`#1734 <https://github.com/pypa/virtualenv/issues/1734>`_) v20.0.11 (2020-03-18) --------------------- Features - 20.0.11 ~~~~~~~~~~~~~~~~~~ - Improve error message when the host python does not satisfy invariants needed to create virtual environments (now we print which host files are incompatible/missing and for which creators when no supported creator can be matched, however we found creators that can describe the given Python interpreter - will still print no supported creator for Jython, however print exactly what host files do not allow creation of virtual environments in case of CPython/PyPy) - by :user:`gaborbernat`. (`#1716 <https://github.com/pypa/virtualenv/issues/1716>`_) Bugfixes - 20.0.11 ~~~~~~~~~~~~~~~~~~ - Support Python 3 Framework distributed via XCode in macOs Catalina and before - by :user:`gaborbernat`. (`#1663 <https://github.com/pypa/virtualenv/issues/1663>`_) - Fix Windows Store Python support, do not allow creation via symlink as that's not going to work by design - by :user:`gaborbernat`. (`#1709 <https://github.com/pypa/virtualenv/issues/1709>`_) - Fix ``activate_this.py`` throws ``AttributeError`` on Windows when virtual environment was created via cross python mechanism - by :user:`gaborbernat`. (`#1710 <https://github.com/pypa/virtualenv/issues/1710>`_) - Fix ``--no-pip``, ``--no-setuptools``, ``--no-wheel`` not being respected - by :user:`gaborbernat`. (`#1712 <https://github.com/pypa/virtualenv/issues/1712>`_) - Allow missing ``.py`` files if a compiled ``.pyc`` version is available - by :user:`tucked`. (`#1714 <https://github.com/pypa/virtualenv/issues/1714>`_) - Do not fail if the distutils/setuptools patch happens on a C-extension loader (such as ``zipimporter`` on Python 3.7 or earlier) - by :user:`gaborbernat`. (`#1715 <https://github.com/pypa/virtualenv/issues/1715>`_) - Support Python 2 implementations that require the landmark files and ``site.py`` to be in platform standard library instead of the standard library path of the virtual environment (notably some RHEL ones, such as the Docker image ``amazonlinux:1``) - by :user:`gaborbernat`. (`#1719 <https://github.com/pypa/virtualenv/issues/1719>`_) - Allow the test suite to pass even when called with the system Python - to help repackaging of the tool for Linux distributions - by :user:`gaborbernat`. (`#1721 <https://github.com/pypa/virtualenv/issues/1721>`_) - Also generate ``pipx.y`` console script beside ``pip-x.y`` to be compatible with how pip installs itself - by :user:`gaborbernat`. (`#1723 <https://github.com/pypa/virtualenv/issues/1723>`_) - Automatically create the application data folder if it does not exists - by :user:`gaborbernat`. (`#1728 <https://github.com/pypa/virtualenv/issues/1728>`_) Improved Documentation - 20.0.11 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - :ref:`supports <compatibility-requirements>` details now explicitly what Python installations we support - by :user:`gaborbernat`. (`#1714 <https://github.com/pypa/virtualenv/issues/1714>`_) v20.0.10 (2020-03-10) --------------------- Bugfixes - 20.0.10 ~~~~~~~~~~~~~~~~~~ - Fix acquiring python information might be altered by distutils configuration files generating incorrect layout virtual environments - by :user:`gaborbernat`. (`#1663 <https://github.com/pypa/virtualenv/issues/1663>`_) - Upgrade embedded setuptools to ``46.0.0`` from ``45.3.0`` on Python ``3.5+`` - by :user:`gaborbernat`. (`#1702 <https://github.com/pypa/virtualenv/issues/1702>`_) Improved Documentation - 20.0.10 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Document requirements (pip + index server) when installing via pip under the installation section - by :user:`gaborbernat`. (`#1618 <https://github.com/pypa/virtualenv/issues/1618>`_) - Document installing from non PEP-518 systems - :user:`gaborbernat`. (`#1619 <https://github.com/pypa/virtualenv/issues/1619>`_) - Document installing latest unreleased version from Github - :user:`gaborbernat`. (`#1620 <https://github.com/pypa/virtualenv/issues/1620>`_) v20.0.9 (2020-03-08) -------------------- Bugfixes - 20.0.9 ~~~~~~~~~~~~~~~~~ - ``pythonw.exe`` works as ``python.exe`` on Windows - by :user:`gaborbernat`. (`#1686 <https://github.com/pypa/virtualenv/issues/1686>`_) - Handle legacy loaders for virtualenv import hooks used to patch distutils configuration load - by :user:`gaborbernat`. (`#1690 <https://github.com/pypa/virtualenv/issues/1690>`_) - Support for python 2 platforms that store landmark files in ``platstdlib`` over ``stdlib`` (e.g. RHEL) - by :user:`gaborbernat`. (`#1694 <https://github.com/pypa/virtualenv/issues/1694>`_) - Upgrade embedded setuptools to ``45.3.0`` from ``45.2.0`` for Python ``3.5+`` - by :user:`gaborbernat`. (`#1699 <https://github.com/pypa/virtualenv/issues/1699>`_) v20.0.8 (2020-03-04) -------------------- Bugfixes - 20.0.8 ~~~~~~~~~~~~~~~~~ - Having `distutils configuration <https://docs.python.org/3/install/index.html#distutils-configuration-files>`_ files that set ``prefix`` and ``install_scripts`` cause installation of packages in the wrong location - by :user:`gaborbernat`. (`#1663 <https://github.com/pypa/virtualenv/issues/1663>`_) - Fix ``PYTHONPATH`` being overridden on Python 2 — by :user:`jd`. (`#1673 <https://github.com/pypa/virtualenv/issues/1673>`_) - Fix list configuration value parsing from config file or environment variable - by :user:`gaborbernat`. (`#1674 <https://github.com/pypa/virtualenv/issues/1674>`_) - Fix Batch activation script shell prompt to display environment name by default - by :user:`spetafree`. (`#1679 <https://github.com/pypa/virtualenv/issues/1679>`_) - Fix startup on Python 2 is slower for virtualenv - this was due to setuptools calculating it's working set distribution - by :user:`gaborbernat`. (`#1682 <https://github.com/pypa/virtualenv/issues/1682>`_) - Fix entry points are not populated for editable installs on Python 2 due to setuptools working set being calculated before ``easy_install.pth`` runs - by :user:`gaborbernat`. (`#1684 <https://github.com/pypa/virtualenv/issues/1684>`_) - Fix ``attr:`` import fails for setuptools - by :user:`gaborbernat`. (`#1685 <https://github.com/pypa/virtualenv/issues/1685>`_) v20.0.7 (2020-02-26) -------------------- Bugfixes - 20.0.7 ~~~~~~~~~~~~~~~~~ - Disable distutils fixup for python 3 until `pypa/pip #7778 <https://github.com/pypa/pip/issues/7778>`_ is fixed and released - by :user:`gaborbernat`. (`#1669 <https://github.com/pypa/virtualenv/issues/1669>`_) v20.0.6 (2020-02-26) -------------------- Bugfixes - 20.0.6 ~~~~~~~~~~~~~~~~~ - Fix global site package always being added with bundled macOs python framework builds - by :user:`gaborbernat`. (`#1561 <https://github.com/pypa/virtualenv/issues/1561>`_) - Fix generated scripts use host version info rather than target - by :user:`gaborbernat`. (`#1600 <https://github.com/pypa/virtualenv/issues/1600>`_) - Fix circular prefix reference with single elements (accept these as if they were system executables, print a info about them referencing themselves) - by :user:`gaborbernat`. (`#1632 <https://github.com/pypa/virtualenv/issues/1632>`_) - Handle the case when the application data folder is read-only: - the application data folder is now controllable via :option:`app-data`, - ``clear-app-data`` now cleans the entire application data folder, not just the ``app-data`` seeder path, - check if the application data path passed in does not exist or is read-only, and fallback to a temporary directory, - temporary directory application data is automatically cleaned up at the end of execution, - :option:`symlink-app-data` is always ``False`` when the application data is temporary by :user:`gaborbernat`. (`#1640 <https://github.com/pypa/virtualenv/issues/1640>`_) - Fix PyPy 2 builtin modules are imported from standard library, rather than from builtin - by :user:`gaborbernat`. (`#1652 <https://github.com/pypa/virtualenv/issues/1652>`_) - Fix creation of entry points when path contains spaces - by :user:`nsoranzo`. (`#1660 <https://github.com/pypa/virtualenv/issues/1660>`_) - Fix relative paths for the zipapp (for python ``3.7+``) - by :user:`gaborbernat`. (`#1666 <https://github.com/pypa/virtualenv/issues/1666>`_) v20.0.5 (2020-02-21) -------------------- Features - 20.0.5 ~~~~~~~~~~~~~~~~~ - Also create ``pythonX.X`` executables when creating pypy virtualenvs - by :user:`asottile` (`#1612 <https://github.com/pypa/virtualenv/issues/1612>`_) - Fail with better error message if trying to install source with unsupported ``setuptools``, allow ``setuptools-scm >= 2`` and move to legacy ``setuptools-scm`` format to support better older platforms (``CentOS 7`` and such) - by :user:`gaborbernat`. (`#1621 <https://github.com/pypa/virtualenv/issues/1621>`_) - Report of the created virtual environment is now split across four short lines rather than one long - by :user:`gaborbernat` (`#1641 <https://github.com/pypa/virtualenv/issues/1641>`_) Bugfixes - 20.0.5 ~~~~~~~~~~~~~~~~~ - Add macOs Python 2 Framework support (now we test it with the CI via brew) - by :user:`gaborbernat` (`#1561 <https://github.com/pypa/virtualenv/issues/1561>`_) - Fix losing of libpypy-c.so when the pypy executable is a symlink - by :user:`asottile` (`#1614 <https://github.com/pypa/virtualenv/issues/1614>`_) - Discover python interpreter in a case insensitive manner - by :user:`PrajwalM2212` (`#1624 <https://github.com/pypa/virtualenv/issues/1624>`_) - Fix cross interpreter support when the host python sets ``sys.base_executable`` based on ``__PYVENV_LAUNCHER__`` - by :user:`cjolowicz` (`#1643 <https://github.com/pypa/virtualenv/issues/1643>`_) v20.0.4 (2020-02-14) -------------------- Features - 20.0.4 ~~~~~~~~~~~~~~~~~ - When aliasing interpreters, use relative symlinks - by :user:`asottile`. (`#1596 <https://github.com/pypa/virtualenv/issues/1596>`_) Bugfixes - 20.0.4 ~~~~~~~~~~~~~~~~~ - Allow the use of ``/`` as pathname component separator on Windows - by ``vphilippon`` (`#1582 <https://github.com/pypa/virtualenv/issues/1582>`_) - Lower minimal version of six required to 1.9 - by ``ssbarnea`` (`#1606 <https://github.com/pypa/virtualenv/issues/1606>`_) v20.0.3 (2020-02-12) -------------------- Bugfixes - 20.0.3 ~~~~~~~~~~~~~~~~~ - On Python 2 with Apple Framework builds the global site package is no longer added when the :option:`system-site-packages` is not specified - by :user:`gaborbernat`. (`#1561 <https://github.com/pypa/virtualenv/issues/1561>`_) - Fix system python discovery mechanism when prefixes contain relative parts (e.g. ``..``) by resolving paths within the python information query - by :user:`gaborbernat`. (`#1583 <https://github.com/pypa/virtualenv/issues/1583>`_) - Expose a programmatic API as ``from virtualenv import cli_run`` - by :user:`gaborbernat`. (`#1585 <https://github.com/pypa/virtualenv/issues/1585>`_) - Fix ``app-data`` :option:`seeder` injects a extra ``.dist-info.virtualenv`` path that breaks ``importlib.metadata``, now we inject an extra ``.virtualenv`` - by :user:`gaborbernat`. (`#1589 <https://github.com/pypa/virtualenv/issues/1589>`_) Improved Documentation - 20.0.3 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Document a programmatic API as ``from virtualenv import cli_run`` under :ref:`programmatic_api` - by :user:`gaborbernat`. (`#1585 <https://github.com/pypa/virtualenv/issues/1585>`_) v20.0.2 (2020-02-11) -------------------- Features - 20.0.2 ~~~~~~~~~~~~~~~~~ - Print out a one line message about the created virtual environment when no :option:`verbose` is set, this can now be silenced to get back the original behaviour via the :option:`quiet` flag - by :user:`pradyunsg`. (`#1557 <https://github.com/pypa/virtualenv/issues/1557>`_) - Allow virtualenv's app data cache to be overridden by ``VIRTUALENV_OVERRIDE_APP_DATA`` - by :user:`asottile`. (`#1559 <https://github.com/pypa/virtualenv/issues/1559>`_) - Passing in the virtual environment name/path is now required (no longer defaults to ``venv``) - by :user:`gaborbernat`. (`#1568 <https://github.com/pypa/virtualenv/issues/1568>`_) - Add a CLI flag :option:`with-traceback` that allows displaying the stacktrace of the virtualenv when a failure occurs - by :user:`gaborbernat`. (`#1572 <https://github.com/pypa/virtualenv/issues/1572>`_) Bugfixes - 20.0.2 ~~~~~~~~~~~~~~~~~ - Support long path names for generated virtual environment console entry points (such as ``pip``) when using the ``app-data`` :option:`seeder` - by :user:`gaborbernat`. (`#997 <https://github.com/pypa/virtualenv/issues/997>`_) - Improve python discovery mechanism: - do not fail if there are executables that fail to query (e.g. for not having execute access to it) on the ``PATH``, - beside the prefix folder also try with the platform dependent binary folder within that, by :user:`gaborbernat`. (`#1545 <https://github.com/pypa/virtualenv/issues/1545>`_) - When copying (either files or trees) do not copy the permission bits, last access time, last modification time, and flags as access to these might be forbidden (for example in case of the macOs Framework Python) and these are not needed for the user to use the virtual environment - by :user:`gaborbernat`. (`#1561 <https://github.com/pypa/virtualenv/issues/1561>`_) - While discovering a python executables interpreters that cannot be queried are now displayed with info level rather than warning, so now they're no longer shown by default (these can be just executables to which we don't have access or that are broken, don't warn if it's not the target Python we want) - by :user:`gaborbernat`. (`#1574 <https://github.com/pypa/virtualenv/issues/1574>`_) - The ``app-data`` :option:`seeder` no longer symlinks the packages on UNIX and copies on Windows. Instead by default always copies, however now has the :option:`symlink-app-data` flag allowing users to request this less robust but faster method - by :user:`gaborbernat`. (`#1575 <https://github.com/pypa/virtualenv/issues/1575>`_) Improved Documentation - 20.0.2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Add link to the `legacy documentation <https://virtualenv.pypa.io/en/legacy>`_ for the changelog by :user:`jezdez`. (`#1547 <https://github.com/pypa/virtualenv/issues/1547>`_) - Fine tune the documentation layout: default width of theme, allow tables to wrap around, soft corners for code snippets - by :user:`pradyunsg`. (`#1548 <https://github.com/pypa/virtualenv/issues/1548>`_) v20.0.1 (2020-02-10) -------------------- Features - 20.0.1 ~~~~~~~~~~~~~~~~~ - upgrade embedded setuptools to ``45.2.0`` from ``45.1.0`` for Python ``3.4+`` - by :user:`gaborbernat`. (`#1554 <https://github.com/pypa/virtualenv/issues/1554>`_) Bugfixes - 20.0.1 ~~~~~~~~~~~~~~~~~ - Virtual environments created via relative path on Windows creates bad console executables - by :user:`gaborbernat`. (`#1552 <https://github.com/pypa/virtualenv/issues/1552>`_) - Seems sometimes venvs created set their base executable to themselves; we accept these without question, so we handle virtual environments as system pythons causing issues - by :user:`gaborbernat`. (`#1553 <https://github.com/pypa/virtualenv/issues/1553>`_) v20.0.0. (2020-02-10) --------------------- Improved Documentation - 20.0.0. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Fixes typos, repeated words and inconsistent heading spacing. Rephrase parts of the development documentation and CLI documentation. Expands shorthands like ``env var`` and ``config`` to their full forms. Uses descriptions from respective documentation, for projects listed in ``related links`` - by :user:`pradyunsg`. (`#1540 <https://github.com/pypa/virtualenv/issues/1540>`_) v20.0.0b2 (2020-02-04) ---------------------- Features - 20.0.0b2 ~~~~~~~~~~~~~~~~~~~ - Improve 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 never 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), by :user:`gaborbernat`. (`#1515 <https://github.com/pypa/virtualenv/issues/1515>`_) - Generate ``bash`` and ``fish`` activators on Windows too (as these can be available with git bash, cygwin or mysys2) - by :user:`gaborbernat`. (`#1527 <https://github.com/pypa/virtualenv/issues/1527>`_) - Upgrade the bundled ``wheel`` package from ``0.34.0`` to ``0.34.2`` - by :user:`gaborbernat`. (`#1531 <https://github.com/pypa/virtualenv/issues/1531>`_) Bugfixes - 20.0.0b2 ~~~~~~~~~~~~~~~~~~~ - Bash activation script should have no extensions instead of ``.sh`` (this fixes the :pypi:`virtualenvwrapper` integration) - by :user:`gaborbernat`. (`#1508 <https://github.com/pypa/virtualenv/issues/1508>`_) - Show less information when we run with a single verbosity (``-v``): - no longer shows accepted interpreters information (as the last proposed one is always the accepted one), - do not display the ``str_spec`` attribute for ``PythonSpec`` as these can be deduced from the other attributes, - for the ``app-data`` seeder do not show the type of lock, only the path to the app data directory, By :user:`gaborbernat`. (`#1510 <https://github.com/pypa/virtualenv/issues/1510>`_) - Fixed cannot discover a python interpreter that has already been discovered under a different path (such is the case when we have multiple symlinks to the same interpreter) - by :user:`gaborbernat`. (`#1512 <https://github.com/pypa/virtualenv/issues/1512>`_) - Support relative paths for ``-p`` - by :user:`gaborbernat`. (`#1514 <https://github.com/pypa/virtualenv/issues/1514>`_) - Creating virtual environments in parallel fail with cannot acquire lock within app data - by :user:`gaborbernat`. (`#1516 <https://github.com/pypa/virtualenv/issues/1516>`_) - pth files were not processed under Debian CPython2 interpreters - by :user:`gaborbernat`. (`#1517 <https://github.com/pypa/virtualenv/issues/1517>`_) - Fix prompt not displayed correctly with upcoming fish 3.10 due to us not preserving ``$pipestatus`` - by :user:`krobelus`. (`#1530 <https://github.com/pypa/virtualenv/issues/1530>`_) - Stable order within ``pyenv.cfg`` and add ``include-system-site-packages`` only for creators that reference a global Python - by user:`gaborbernat`. (`#1535 <https://github.com/pypa/virtualenv/issues/1535>`_) Improved Documentation - 20.0.0b2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Create the first iteration of the new documentation - by :user:`gaborbernat`. (`#1465 <https://github.com/pypa/virtualenv/issues/1465>`_) - Project readme is now of type MarkDown instead of reStructuredText - by :user:`gaborbernat`. (`#1531 <https://github.com/pypa/virtualenv/issues/1531>`_) v20.0.0b1 (2020-01-28) ---------------------- * First public release of the rewrite. Everything is brand new and just added. * ``--download`` defaults to ``False`` .. warning:: The current virtualenv is the second iteration of implementation. From version ``0.8`` all the way to ``16.7.9`` we numbered the first iteration. Version ``20.0.0b1`` is a complete rewrite of the package, and as such this release history starts from there. The old changelog is still available in the `legacy branch documentation <https://virtualenv.pypa.io/en/legacy/changes.html>`_.