1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Bump for release

This commit is contained in:
Pradyun Gedam 2020-04-21 00:31:45 +05:30
parent 012f69ecbd
commit 1626bb917b
No known key found for this signature in database
GPG key ID: DA17C4B29CB32E4B
62 changed files with 72 additions and 69 deletions

View file

@ -7,6 +7,77 @@
.. towncrier release notes start
20.1b1 (2020-04-21)
===================
Deprecations and Removals
-------------------------
- Remove emails from AUTHORS.txt to prevent usage for spamming, and only populate names in AUTHORS.txt at time of release (`#5979 <https://github.com/pypa/pip/issues/5979>`_)
- Remove deprecated ``--skip-requirements-regex`` option. (`#7297 <https://github.com/pypa/pip/issues/7297>`_)
- Building of local directories is now done in place, instead of a temporary
location containing a copy of the directory tree. (`#7555 <https://github.com/pypa/pip/issues/7555>`_)
- Remove unused ``tests/scripts/test_all_pip.py`` test script and the ``tests/scripts`` folder. (`#7680 <https://github.com/pypa/pip/issues/7680>`_)
Features
--------
- pip now implements PEP 610, so ``pip freeze`` has better fidelity
in presence of distributions installed from Direct URL requirements. (`#609 <https://github.com/pypa/pip/issues/609>`_)
- Add ``pip cache`` command for inspecting/managing pip's wheel cache. (`#6391 <https://github.com/pypa/pip/issues/6391>`_)
- Raise error if ``--user`` and ``--target`` are used together in ``pip install`` (`#7249 <https://github.com/pypa/pip/issues/7249>`_)
- Significantly improve performance when ``--find-links`` points to a very large HTML page. (`#7729 <https://github.com/pypa/pip/issues/7729>`_)
- Indicate when wheel building is skipped, due to lack of the ``wheel`` package. (`#7768 <https://github.com/pypa/pip/issues/7768>`_)
- Change default behaviour to always cache responses from trusted-host source. (`#7847 <https://github.com/pypa/pip/issues/7847>`_)
- An alpha version of a new resolver is available via ``--unstable-feature=resolver``. (`#988 <https://github.com/pypa/pip/issues/988>`_)
Bug Fixes
---------
- Correctly freeze a VCS editable package when it is nested inside another VCS repository. (`#3988 <https://github.com/pypa/pip/issues/3988>`_)
- Correctly handle ``%2F`` in URL parameters to avoid accidentally unescape them
into ``/``. (`#6446 <https://github.com/pypa/pip/issues/6446>`_)
- Reject VCS URLs with an empty revision. (`#7402 <https://github.com/pypa/pip/issues/7402>`_)
- Warn when an invalid URL is passed with ``--index-url`` (`#7430 <https://github.com/pypa/pip/issues/7430>`_)
- Use better mechanism for handling temporary files, when recording metadata
about installed files (RECORD) and the installer (INSTALLER). (`#7699 <https://github.com/pypa/pip/issues/7699>`_)
- Correctly detect global site-packages availability of virtual environments
created by PyPAs virtualenv>=20.0. (`#7718 <https://github.com/pypa/pip/issues/7718>`_)
- Remove current directory from ``sys.path`` when invoked as ``python -m pip <command>`` (`#7731 <https://github.com/pypa/pip/issues/7731>`_)
- Stop failing uninstallation, when trying to remove non-existent files. (`#7856 <https://github.com/pypa/pip/issues/7856>`_)
- Prevent an infinite recursion with ``pip wheel`` when ``$TMPDIR`` is within the source directory. (`#7872 <https://github.com/pypa/pip/issues/7872>`_)
- Significantly speedup ``pip list --outdated`` by parallelizing index interaction. (`#7962 <https://github.com/pypa/pip/issues/7962>`_)
- Improve Windows compatibility when detecting writability in folder. (`#8013 <https://github.com/pypa/pip/issues/8013>`_)
Vendored Libraries
------------------
- Update semi-supported debundling script to reflect that appdirs is vendored.
- Add ResolveLib as a vendored dependency.
- Upgrade certifi to 2020.04.05.1
- Upgrade contextlib2 to 0.6.0.post1
- Upgrade distro to 1.5.0.
- Upgrade idna to 2.9.
- Upgrade msgpack to 1.0.0.
- Upgrade packaging to 20.3.
- Upgrade pep517 to 0.8.2.
- Upgrade pyparsing to 2.4.7.
- Remove pytoml as a vendored dependency.
- Upgrade requests to 2.23.0.
- Add toml as a vendored dependency.
- Upgrade urllib3 to 1.25.8.
Improved Documentation
----------------------
- Emphasize that VCS URLs using git, git+git and git+http are insecure due to
lack of authentication and encryption (`#1983 <https://github.com/pypa/pip/issues/1983>`_)
- Clarify the usage of --no-binary command. (`#3191 <https://github.com/pypa/pip/issues/3191>`_)
- Clarify the usage of freeze command in the example of Using pip in your program (`#7008 <https://github.com/pypa/pip/issues/7008>`_)
- Add a "Copyright" page. (`#7767 <https://github.com/pypa/pip/issues/7767>`_)
- Added example of defining multiple values for options which support them (`#7803 <https://github.com/pypa/pip/issues/7803>`_)
20.0.2 (2020-01-24)
===================

View file

@ -1,2 +0,0 @@
Emphasize that VCS URLs using git, git+git and git+http are insecure due to
lack of authentication and encryption

View file

@ -1 +0,0 @@
Clarify the usage of --no-binary command.

View file

@ -1 +0,0 @@
Correctly freeze a VCS editable package when it is nested inside another VCS repository.

View file

@ -1 +0,0 @@
Remove emails from AUTHORS.txt to prevent usage for spamming, and only populate names in AUTHORS.txt at time of release

View file

@ -1,2 +0,0 @@
pip now implements PEP 610, so ``pip freeze`` has better fidelity
in presence of distributions installed from Direct URL requirements.

View file

@ -1 +0,0 @@
Add ``pip cache`` command for inspecting/managing pip's wheel cache.

View file

@ -1,2 +0,0 @@
Correctly handle ``%2F`` in URL parameters to avoid accidentally unescape them
into ``/``.

View file

@ -1 +0,0 @@
Clarify the usage of freeze command in the example of Using pip in your program

View file

@ -1 +0,0 @@
Raise error if ``--user`` and ``--target`` are used together in ``pip install``

View file

@ -1 +0,0 @@
Remove deprecated ``--skip-requirements-regex`` option.

View file

@ -1 +0,0 @@
Reject VCS URLs with an empty revision.

View file

@ -1 +0,0 @@
Warn when an invalid URL is passed with ``--index-url``

View file

@ -1,2 +0,0 @@
Building of local directories is now done in place, instead of a temporary
location containing a copy of the directory tree.

View file

@ -1 +0,0 @@
Test vendoring lint target under GitHub Actions CI/CD.

View file

@ -1 +0,0 @@
Remove unused ``tests/scripts/test_all_pip.py`` test script and the ``tests/scripts`` folder.

View file

@ -1 +0,0 @@
Update semi-supported debundling script to reflect that appdirs is vendored.

View file

@ -1,2 +0,0 @@
Use better mechanism for handling temporary files, when recording metadata
about installed files (RECORD) and the installer (INSTALLER).

View file

@ -1,2 +0,0 @@
Correctly detect global site-packages availability of virtual environments
created by PyPAs virtualenv>=20.0.

View file

@ -1 +0,0 @@
Significantly improve performance when ``--find-links`` points to a very large HTML page.

View file

@ -1 +0,0 @@
Remove current directory from ``sys.path`` when invoked as ``python -m pip <command>``

View file

@ -1 +0,0 @@
Added ``__repr__`` for ``Configuration`` to make debugging a bit easier.

View file

@ -1 +0,0 @@
Use PEP 517 layout by specifying ``build-backend``, so that ``pip`` can be built with tools (such as ``pep517``) that don't support the legacy layout.

View file

@ -1 +0,0 @@
Add a "Copyright" page.

View file

@ -1 +0,0 @@
Indicate when wheel building is skipped, due to lack of the ``wheel`` package.

View file

@ -1 +0,0 @@
Print vendored libraries version in pip debug.

View file

@ -1 +0,0 @@
Added example of defining multiple values for options which support them

View file

@ -1 +0,0 @@
Change default behaviour to always cache responses from trusted-host source.

View file

@ -1 +0,0 @@
Add ResolveLib as a vendored dependency.

View file

@ -1 +0,0 @@
Stop failing uninstallation, when trying to remove non-existent files.

View file

@ -1 +0,0 @@
Prevent an infinite recursion with ``pip wheel`` when ``$TMPDIR`` is within the source directory.

View file

@ -1,17 +0,0 @@
Removes shebang from nonexecutable script.
When packaging pip in Fedora, we have realised
that there is a nonexecutable file with a shebang line.
It seems that the primary purpose of this file is to be imported from Python
code and hence the shebang appears to be unnecessary.
Shebangs are hard to handle when doing downstream packaging because it makes
sense for upstream to use ``#!/usr/bin/env python`` while in the RPM package, we
need to avoid that and use a more specific interpreter. Since the shebang was
unused, I propose to remove it to avoid the problems.
We have found more shebangs but in vendored packages. I have also opened PRs there:
https://github.com/ActiveState/appdirs/pull/144
https://github.com/psf/requests/pull/5410
https://github.com/chardet/chardet/pull/192

View file

@ -1 +0,0 @@
Significantly speedup ``pip list --outdated`` by parallelizing index interaction.

View file

@ -1 +0,0 @@
Improve Windows compatibility when detecting writability in folder.

View file

@ -1 +0,0 @@
An alpha version of a new resolver is available via ``--unstable-feature=resolver``.

View file

@ -1 +0,0 @@
Upgrade certifi to 2020.04.05.1

View file

@ -1 +0,0 @@
Upgrade contextlib2 to 0.6.0.post1

View file

@ -1 +0,0 @@
Upgrade distro to 1.5.0.

View file

@ -1 +0,0 @@
Upgrade idna to 2.9.

View file

@ -1 +0,0 @@
Upgrade msgpack to 1.0.0.

View file

@ -1 +0,0 @@
Upgrade packaging to 20.3.

View file

@ -1 +0,0 @@
Upgrade pep517 to 0.8.2.

View file

@ -1 +0,0 @@
Upgrade pyparsing to 2.4.7.

View file

@ -1 +0,0 @@
Remove pytoml as a vendored dependency.

View file

@ -1 +0,0 @@
Upgrade requests to 2.23.0.

View file

@ -1 +0,0 @@
Add toml as a vendored dependency.

View file

@ -1 +0,0 @@
Upgrade urllib3 to 1.25.8.

View file

@ -4,7 +4,7 @@ if MYPY_CHECK_RUNNING:
from typing import List, Optional
__version__ = "20.1.dev0"
__version__ = "20.1b1"
def main(args=None):