Skip to content

Commit

Permalink
Merge pull request #1580 from pypa/release-20.0.2
Browse files Browse the repository at this point in the history
release 20.0.2
  • Loading branch information
gaborbernat committed Feb 11, 2020
2 parents 564a7b2 + ab6dd74 commit c8ac632
Show file tree
Hide file tree
Showing 13 changed files with 40 additions and 27 deletions.
39 changes: 39 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,45 @@ Release History

.. towncrier release notes start
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)
--------------------

Expand Down
6 changes: 0 additions & 6 deletions docs/changelog/1545.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/changelog/1547.doc.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/changelog/1548.doc.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/changelog/1557.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/changelog/1559.feature.rst

This file was deleted.

3 changes: 0 additions & 3 deletions docs/changelog/1561.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/changelog/1568.feature.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/changelog/1572.feature.rst

This file was deleted.

3 changes: 0 additions & 3 deletions docs/changelog/1574.bugfix.rst

This file was deleted.

3 changes: 0 additions & 3 deletions docs/changelog/1575.bugfix.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/changelog/997.bugfix.rst

This file was deleted.

2 changes: 1 addition & 1 deletion tests/unit/create/test_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,4 +311,4 @@ def test_create_long_path(current_fastest, tmp_path):

cmd = [str(folder)]
result = run_via_cli(cmd)
subprocess.check_call([str(result.creator.exe.parent / "pip"), "--version"])
subprocess.check_call([str(result.creator.script("pip")), "--version"])

0 comments on commit c8ac632

Please sign in to comment.