Skip to content

Commit

Permalink
Bump for release
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Jul 29, 2020
1 parent 20dc509 commit 127acd8
Show file tree
Hide file tree
Showing 95 changed files with 89 additions and 73 deletions.
88 changes: 88 additions & 0 deletions NEWS.rst
Expand Up @@ -9,6 +9,94 @@
.. towncrier release notes start
20.2 (2020-07-29)
=================

Deprecations and Removals
-------------------------

- Deprecate setup.py-based builds that do not generate an ``.egg-info`` directory. (`#6998 <https://github.com/pypa/pip/issues/6998>`_, `#8617 <https://github.com/pypa/pip/issues/8617>`_)
- Disallow passing install-location-related arguments in ``--install-options``. (`#7309 <https://github.com/pypa/pip/issues/7309>`_)
- Add deprecation warning for invalid requirements format "base>=1.0[extra]" (`#8288 <https://github.com/pypa/pip/issues/8288>`_)
- Deprecate legacy setup.py install when building a wheel failed for source
distributions without pyproject.toml (`#8368 <https://github.com/pypa/pip/issues/8368>`_)
- Deprecate -b/--build/--build-dir/--build-directory. Its current behaviour is confusing
and breaks in case different versions of the same distribution need to be built during
the resolution process. Using the TMPDIR/TEMP/TMP environment variable, possibly
combined with --no-clean covers known use cases. (`#8372 <https://github.com/pypa/pip/issues/8372>`_)
- Remove undocumented and deprecated option ``--always-unzip`` (`#8408 <https://github.com/pypa/pip/issues/8408>`_)

Features
--------

- Log debugging information about pip, in ``pip install --verbose``. (`#3166 <https://github.com/pypa/pip/issues/3166>`_)
- Refine error messages to avoid showing Python tracebacks when an HTTP error occurs. (`#5380 <https://github.com/pypa/pip/issues/5380>`_)
- Install wheel files directly instead of extracting them to a temp directory. (`#6030 <https://github.com/pypa/pip/issues/6030>`_)
- Add a beta version of pip's next-generation dependency resolver.

Move pip's new resolver into beta, remove the
``--unstable-feature=resolver`` flag, and enable the
``--use-feature=2020-resolver`` flag. The new resolver is
significantly stricter and more consistent when it receives
incompatible instructions, and reduces support for certain kinds of
:ref:`Constraints Files`, so some workarounds and workflows may
break. More details about how to test and migrate, and how to report
issues, at :ref:`Resolver changes 2020` . Maintainers are preparing to
release pip 20.3, with the new resolver on by default, in October. (`#6536 <https://github.com/pypa/pip/issues/6536>`_)
- Add a subcommand ``debug`` to ``pip config`` to list available configuration sources and the key-value pairs defined in them. (`#6741 <https://github.com/pypa/pip/issues/6741>`_)
- Warn if index pages have unexpected content-type (`#6754 <https://github.com/pypa/pip/issues/6754>`_)
- Allow specifying ``--prefer-binary`` option in a requirements file (`#7693 <https://github.com/pypa/pip/issues/7693>`_)
- Generate PEP 376 REQUESTED metadata for user supplied requirements installed
by pip. (`#7811 <https://github.com/pypa/pip/issues/7811>`_)
- Warn if package url is a vcs or an archive url with invalid scheme (`#8128 <https://github.com/pypa/pip/issues/8128>`_)
- Parallelize network operations in ``pip list``. (`#8504 <https://github.com/pypa/pip/issues/8504>`_)
- Allow the new resolver to obtain dependency information through wheels
lazily downloaded using HTTP range requests. To enable this feature,
invoke ``pip`` with ``--use-feature=fast-deps``. (`#8588 <https://github.com/pypa/pip/issues/8588>`_)
- Support ``--use-feature`` in requirements files (`#8601 <https://github.com/pypa/pip/issues/8601>`_)

Bug Fixes
---------

- Use canonical package names while looking up already installed packages. (`#5021 <https://github.com/pypa/pip/issues/5021>`_)
- Fix normalizing path on Windows when installing package on another logical disk. (`#7625 <https://github.com/pypa/pip/issues/7625>`_)
- The VCS commands run by pip as subprocesses don't merge stdout and stderr anymore, improving the output parsing by subsequent commands. (`#7968 <https://github.com/pypa/pip/issues/7968>`_)
- Correctly treat non-ASCII entry point declarations in wheels so they can be
installed on Windows. (`#8342 <https://github.com/pypa/pip/issues/8342>`_)
- Update author email in config and tests to reflect decommissioning of pypa-dev list. (`#8454 <https://github.com/pypa/pip/issues/8454>`_)
- Headers provided by wheels in .data directories are now correctly installed
into the user-provided locations, such as ``--prefix``, instead of the virtual
environment pip is running in. (`#8521 <https://github.com/pypa/pip/issues/8521>`_)

Vendored Libraries
------------------

- Vendored htmlib5 no longer imports deprecated xml.etree.cElementTree on Python 3.
- Upgrade appdirs to 1.4.4
- Upgrade certifi to 2020.6.20
- Upgrade distlib to 0.3.1
- Upgrade html5lib to 1.1
- Upgrade idna to 2.10
- Upgrade packaging to 20.4
- Upgrade requests to 2.24.0
- Upgrade six to 1.15.0
- Upgrade toml to 0.10.1
- Upgrade urllib3 to 1.25.9

Improved Documentation
----------------------

- Add ``--no-input`` option to pip docs (`#7688 <https://github.com/pypa/pip/issues/7688>`_)
- List of options supported in requirements file are extracted from source of truth,
instead of being maintained manually. (`#7908 <https://github.com/pypa/pip/issues/7908>`_)
- Fix pip config docstring so that the subcommands render correctly in the docs (`#8072 <https://github.com/pypa/pip/issues/8072>`_)
- replace links to the old pypa-dev mailing list with https://mail.python.org/mailman3/lists/distutils-sig.python.org/ (`#8353 <https://github.com/pypa/pip/issues/8353>`_)
- Fix example for defining multiple values for options which support them (`#8373 <https://github.com/pypa/pip/issues/8373>`_)
- Add documentation that helps the user fix dependency conflicts (`#8459 <https://github.com/pypa/pip/issues/8459>`_)
- Add feature flags to docs (`#8512 <https://github.com/pypa/pip/issues/8512>`_)
- Document how to install package extras from git branch and source distributions. (`#8576 <https://github.com/pypa/pip/issues/8576>`_)


20.2b1 (2020-05-21)
===================

Expand Down
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
1 change: 0 additions & 1 deletion news/3166.feature

This file was deleted.

Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
1 change: 0 additions & 1 deletion news/5021.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion news/5380.feature

This file was deleted.

Empty file.
Empty file.
Empty file.
Empty file.
1 change: 0 additions & 1 deletion news/6030.feature

This file was deleted.

11 changes: 0 additions & 11 deletions news/6536.feature

This file was deleted.

1 change: 0 additions & 1 deletion news/6741.feature

This file was deleted.

1 change: 0 additions & 1 deletion news/6754.feature

This file was deleted.

1 change: 0 additions & 1 deletion news/6998.removal

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion news/7309.removal

This file was deleted.

Empty file.
Empty file.
1 change: 0 additions & 1 deletion news/7625.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion news/7688.doc

This file was deleted.

1 change: 0 additions & 1 deletion news/7693.feature

This file was deleted.

2 changes: 0 additions & 2 deletions news/7811.feature

This file was deleted.

Empty file.
2 changes: 0 additions & 2 deletions news/7908.doc

This file was deleted.

1 change: 0 additions & 1 deletion news/7968.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion news/8072.doc

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion news/8128.feature

This file was deleted.

2 changes: 0 additions & 2 deletions news/8148.trivial

This file was deleted.

1 change: 0 additions & 1 deletion news/8278.vendor

This file was deleted.

1 change: 0 additions & 1 deletion news/8288.removal

This file was deleted.

2 changes: 0 additions & 2 deletions news/8342.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion news/8353.doc

This file was deleted.

2 changes: 0 additions & 2 deletions news/8368.removal

This file was deleted.

4 changes: 0 additions & 4 deletions news/8372.removal

This file was deleted.

1 change: 0 additions & 1 deletion news/8373.doc

This file was deleted.

1 change: 0 additions & 1 deletion news/8408.removal

This file was deleted.

1 change: 0 additions & 1 deletion news/8454.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion news/8459.doc

This file was deleted.

1 change: 0 additions & 1 deletion news/8504.feature

This file was deleted.

1 change: 0 additions & 1 deletion news/8512.doc

This file was deleted.

3 changes: 0 additions & 3 deletions news/8521.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion news/8576.doc

This file was deleted.

3 changes: 0 additions & 3 deletions news/8588.feature

This file was deleted.

1 change: 0 additions & 1 deletion news/8601.feature

This file was deleted.

1 change: 0 additions & 1 deletion news/8617.removal

This file was deleted.

2 changes: 0 additions & 2 deletions news/8625.trivial

This file was deleted.

Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
1 change: 0 additions & 1 deletion news/appdirs.vendor

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion news/certifi.vendor

This file was deleted.

2 changes: 0 additions & 2 deletions news/d9f9c55b-f959-456f-a849-ee976ef227de.trivial

This file was deleted.

1 change: 0 additions & 1 deletion news/dc9b761d-5d4e-4ea4-9629-0afcc2636cb6.trivial

This file was deleted.

1 change: 0 additions & 1 deletion news/distlib.vendor

This file was deleted.

Empty file.
Empty file removed news/error-swallow.trivial
Empty file.
Empty file.
Empty file.
Empty file.
1 change: 0 additions & 1 deletion news/html5lib.vendor

This file was deleted.

1 change: 0 additions & 1 deletion news/idna.vendor

This file was deleted.

1 change: 0 additions & 1 deletion news/packaging.vendor

This file was deleted.

1 change: 0 additions & 1 deletion news/requests.vendor

This file was deleted.

1 change: 0 additions & 1 deletion news/six.vendor

This file was deleted.

1 change: 0 additions & 1 deletion news/toml.vendor

This file was deleted.

1 change: 0 additions & 1 deletion news/urllib3.vendor

This file was deleted.

2 changes: 1 addition & 1 deletion src/pip/__init__.py
Expand Up @@ -4,7 +4,7 @@
from typing import List, Optional


__version__ = "20.2.dev1"
__version__ = "20.2"


def main(args=None):
Expand Down

0 comments on commit 127acd8

Please sign in to comment.