diff options
author | Bernat Gabor <bgabor8@bloomberg.net> | 2020-02-11 17:42:16 +0000 |
---|---|---|
committer | Bernat Gabor <bgabor8@bloomberg.net> | 2020-02-11 17:52:00 +0000 |
commit | ab6dd74b4b718d649fde91b8a75de293d557f3e3 (patch) | |
tree | b48fee10befbdd60cf864b6e46be49c88bb2e675 | |
parent | 564a7b23ebe9c6ef1b324ab137c34ab14a76c582 (diff) | |
download | virtualenv-release-20.0.2.tar.gz |
release 20.0.220.0.2release-20.0.2
Signed-off-by: Bernat Gabor <bgabor8@bloomberg.net>
-rw-r--r-- | docs/changelog.rst | 39 | ||||
-rw-r--r-- | docs/changelog/1545.bugfix.rst | 6 | ||||
-rw-r--r-- | docs/changelog/1547.doc.rst | 1 | ||||
-rw-r--r-- | docs/changelog/1548.doc.rst | 2 | ||||
-rw-r--r-- | docs/changelog/1557.feature.rst | 2 | ||||
-rw-r--r-- | docs/changelog/1559.feature.rst | 1 | ||||
-rw-r--r-- | docs/changelog/1561.bugfix.rst | 3 | ||||
-rw-r--r-- | docs/changelog/1568.feature.rst | 1 | ||||
-rw-r--r-- | docs/changelog/1572.feature.rst | 2 | ||||
-rw-r--r-- | docs/changelog/1574.bugfix.rst | 3 | ||||
-rw-r--r-- | docs/changelog/1575.bugfix.rst | 3 | ||||
-rw-r--r-- | docs/changelog/997.bugfix.rst | 2 | ||||
-rw-r--r-- | tests/unit/create/test_creator.py | 2 |
13 files changed, 40 insertions, 27 deletions
diff --git a/docs/changelog.rst b/docs/changelog.rst index d55ac19..414d9d4 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -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) -------------------- diff --git a/docs/changelog/1545.bugfix.rst b/docs/changelog/1545.bugfix.rst deleted file mode 100644 index ce432d7..0000000 --- a/docs/changelog/1545.bugfix.rst +++ /dev/null @@ -1,6 +0,0 @@ -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`. diff --git a/docs/changelog/1547.doc.rst b/docs/changelog/1547.doc.rst deleted file mode 100644 index ddfde7a..0000000 --- a/docs/changelog/1547.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Add link to the `legacy documentation <https://virtualenv.pypa.io/en/legacy>`_ for the changelog by :user:`jezdez`. diff --git a/docs/changelog/1548.doc.rst b/docs/changelog/1548.doc.rst deleted file mode 100644 index f730ba6..0000000 --- a/docs/changelog/1548.doc.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fine tune the documentation layout: default width of theme, allow tables to wrap around, soft corners for code snippets -- by :user:`pradyunsg`. diff --git a/docs/changelog/1557.feature.rst b/docs/changelog/1557.feature.rst deleted file mode 100644 index c02d66b..0000000 --- a/docs/changelog/1557.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -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`. diff --git a/docs/changelog/1559.feature.rst b/docs/changelog/1559.feature.rst deleted file mode 100644 index a5240da..0000000 --- a/docs/changelog/1559.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Allow virtualenv's app data cache to be overridden by ``VIRTUALENV_OVERRIDE_APP_DATA`` - by :user:`asottile`. diff --git a/docs/changelog/1561.bugfix.rst b/docs/changelog/1561.bugfix.rst deleted file mode 100644 index c50c0c4..0000000 --- a/docs/changelog/1561.bugfix.rst +++ /dev/null @@ -1,3 +0,0 @@ -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`. diff --git a/docs/changelog/1568.feature.rst b/docs/changelog/1568.feature.rst deleted file mode 100644 index 507a4ab..0000000 --- a/docs/changelog/1568.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Passing in the virtual environment name/path is now required (no longer defaults to ``venv``) - by :user:`gaborbernat`. diff --git a/docs/changelog/1572.feature.rst b/docs/changelog/1572.feature.rst deleted file mode 100644 index 4a01083..0000000 --- a/docs/changelog/1572.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add a CLI flag :option:`with-traceback` that allows displaying the stacktrace of the virtualenv when a failure occurs -- by :user:`gaborbernat`. diff --git a/docs/changelog/1574.bugfix.rst b/docs/changelog/1574.bugfix.rst deleted file mode 100644 index af5a17e..0000000 --- a/docs/changelog/1574.bugfix.rst +++ /dev/null @@ -1,3 +0,0 @@ -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`. diff --git a/docs/changelog/1575.bugfix.rst b/docs/changelog/1575.bugfix.rst deleted file mode 100644 index 1c6bff9..0000000 --- a/docs/changelog/1575.bugfix.rst +++ /dev/null @@ -1,3 +0,0 @@ -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`. diff --git a/docs/changelog/997.bugfix.rst b/docs/changelog/997.bugfix.rst deleted file mode 100644 index 354a3d3..0000000 --- a/docs/changelog/997.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Support long path names for generated virtual environment console entry points (such as ``pip``) when using the -``app-data`` :option:`seeder` - by :user:`gaborbernat`. diff --git a/tests/unit/create/test_creator.py b/tests/unit/create/test_creator.py index 03fc4ce..d4f5218 100644 --- a/tests/unit/create/test_creator.py +++ b/tests/unit/create/test_creator.py @@ -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"]) |