Skip to content

Release PR: pip 20.0 #7619

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions AUTHORS.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
A_Rog <[email protected]>
Aakanksha Agrawal <[email protected]>
Abhinav Sagar <[email protected]>
ABHYUDAY PRATAP SINGH <[email protected]>
abs51295 <[email protected]>
AceGentile <[email protected]>
Adam Chainz <[email protected]>
Adam Tse <[email protected]>
Adam Tse <[email protected]>
Adam Wentz <[email protected]>
admin <[email protected]>
Adrien Morison <[email protected]>
ahayrapetyan <[email protected]>
Ahilya <[email protected]>
AinsworthK <[email protected]>
Akash Srivastava <[email protected]>
Alan Yee <[email protected]>
Albert Tugushev <[email protected]>
Albert-Guan <[email protected]>
Expand All @@ -26,6 +31,7 @@ Alexey Popravka <[email protected]>
Alexey Popravka <[email protected]>
Alli <[email protected]>
Ami Fischman <[email protected]>
Ananya Maiti <[email protected]>
Anatoly Techtonik <[email protected]>
Anders Kaseorg <[email protected]>
Andreas Lutro <[email protected]>
Expand All @@ -38,6 +44,7 @@ Andy Freeland <[email protected]>
Andy Freeland <[email protected]>
Andy Kluger <[email protected]>
Ani Hayrapetyan <[email protected]>
Aniruddha Basak <[email protected]>
Anish Tambe <[email protected]>
Anrs Hu <[email protected]>
Anthony Sottile <[email protected]>
Expand Down Expand Up @@ -76,6 +83,7 @@ Bernardo B. Marques <[email protected]>
Bernhard M. Wiedemann <[email protected]>
Bertil Hatt <[email protected]>
Bogdan Opanchuk <[email protected]>
BorisZZZ <[email protected]>
Brad Erickson <[email protected]>
Bradley Ayers <[email protected]>
Brandon L. Reiss <[email protected]>
Expand Down Expand Up @@ -153,6 +161,7 @@ David Tucker <[email protected]>
David Wales <[email protected]>
Davidovich <[email protected]>
derwolfe <[email protected]>
Desetude <[email protected]>
Diego Caraballo <[email protected]>
DiegoCaraballo <[email protected]>
Dmitry Gladkov <[email protected]>
Expand All @@ -165,6 +174,7 @@ Dustin Ingram <[email protected]>
Dwayne Bailey <[email protected]>
Ed Morley <[email protected]>
Ed Morley <[email protected]>
Eitan Adler <[email protected]>
ekristina <[email protected]>
elainechan <[email protected]>
Eli Schwartz <[email protected]>
Expand All @@ -183,6 +193,7 @@ Ernest W Durbin III <[email protected]>
Ernest W. Durbin III <[email protected]>
Erwin Janssen <[email protected]>
Eugene Vereshchagin <[email protected]>
everdimension <[email protected]>
Felix Yan <[email protected]>
fiber-space <[email protected]>
Filip Kokosiński <[email protected]>
Expand All @@ -202,16 +213,20 @@ Georgi Valkov <[email protected]>
Giftlin Rajaiah <[email protected]>
gizmoguy1 <[email protected]>
gkdoc <[email protected]>
Gopinath M <[email protected]>
GOTO Hayato <[email protected]>
gpiks <[email protected]>
Guilherme Espada <[email protected]>
Guy Rozendorn <[email protected]>
gzpan123 <[email protected]>
Hanjun Kim <[email protected]>
Hari Charan <[email protected]>
Harsh Vardhan <[email protected]>
Herbert Pfennig <[email protected]>
Hsiaoming Yang <[email protected]>
Hugo <[email protected]>
Hugo Lopes Tavares <[email protected]>
Hugo van Kemenade <[email protected]>
hugovk <[email protected]>
Hynek Schlawack <[email protected]>
Ian Bicking <[email protected]>
Expand All @@ -227,6 +242,7 @@ INADA Naoki <[email protected]>
Ionel Cristian Mărieș <[email protected]>
Ionel Maries Cristian <[email protected]>
Ivan Pozdeev <[email protected]>
Jacob Kim <[email protected]>
jakirkham <[email protected]>
Jakub Stasiak <[email protected]>
Jakub Vysoky <[email protected]>
Expand All @@ -244,8 +260,10 @@ Jean-Christophe Fillion-Robin <[email protected]>
Jeff Barber <[email protected]>
Jeff Dairiki <[email protected]>
Jelmer Vernooij <[email protected]>
jenix21 <[email protected]>
Jeremy Stanley <[email protected]>
Jeremy Zafran <[email protected]>
Jiashuo Li <[email protected]>
Jim Garrison <[email protected]>
Jivan Amara <[email protected]>
John Paton <[email protected]>
Expand All @@ -269,9 +287,11 @@ Julian Gethmann <[email protected]>
Julien Demoor <[email protected]>
jwg4 <[email protected]>
Jyrki Pulliainen <[email protected]>
Kai Chen <[email protected]>
Kamal Bin Mustafa <[email protected]>
kaustav haldar <[email protected]>
keanemind <[email protected]>
Keith Maxwell <[email protected]>
Kelsey Hightower <[email protected]>
Kenneth Belitzky <[email protected]>
Kenneth Reitz <[email protected]>
Expand Down Expand Up @@ -331,6 +351,7 @@ Maxim Kurnikov <[email protected]>
Maxime Rouyrre <[email protected]>
mayeut <[email protected]>
mbaluna <[email protected]>
mdebi <[email protected]>
memoselyk <[email protected]>
Michael <[email protected]>
Michael Aquilina <[email protected]>
Expand All @@ -352,6 +373,7 @@ Monty Taylor <[email protected]>
Nate Coraor <[email protected]>
Nathaniel J. Smith <[email protected]>
Nehal J Wani <[email protected]>
Neil Botelho <[email protected]>
Nick Coghlan <[email protected]>
Nick Stenning <[email protected]>
Nick Timkovich <[email protected]>
Expand All @@ -378,6 +400,7 @@ Patrick Dubroy <[email protected]>
Patrick Jenkins <[email protected]>
Patrick Lawson <[email protected]>
patricktokeeffe <[email protected]>
Patrik Kopkan <[email protected]>
Paul Kehrer <[email protected]>
Paul Moore <[email protected]>
Paul Nasrat <[email protected]>
Expand All @@ -402,8 +425,10 @@ Pierre-Yves Rofes <[email protected]>
pip <[email protected]>
Prabakaran Kumaresshan <[email protected]>
Prabhjyotsing Surjit Singh Sodhi <[email protected]>
Prabhu Marappan <[email protected]>
Pradyun Gedam <[email protected]>
Pratik Mallya <[email protected]>
Preet Thakkar <[email protected]>
Preston Holmes <[email protected]>
Przemek Wrzos <hetmankp@none>
Pulkit Goyal <[email protected]>
Expand All @@ -414,6 +439,7 @@ Rafael Caricio <[email protected]>
Ralf Schmitt <[email protected]>
Razzi Abuissa <[email protected]>
rdb <[email protected]>
Remi Rampin <[email protected]>
Remi Rampin <[email protected]>
Rene Dudfield <[email protected]>
Riccardo Magliocchetti <[email protected]>
Expand All @@ -422,6 +448,7 @@ RobberPhex <[email protected]>
Robert Collins <[email protected]>
Robert McGibbon <[email protected]>
Robert T. McGibbon <[email protected]>
robin elisha robinson <[email protected]>
Roey Berman <[email protected]>
Rohan Jain <[email protected]>
Rohan Jain <[email protected]>
Expand All @@ -442,15 +469,18 @@ schlamar <[email protected]>
Scott Kitterman <[email protected]>
Sean <[email protected]>
seanj <[email protected]>
Sebastian Jordan <[email protected]>
Sebastian Schaetz <[email protected]>
Segev Finer <[email protected]>
SeongSoo Cho <[email protected]>
Sergey Vasilyev <[email protected]>
Seth Woodworth <[email protected]>
Shlomi Fish <[email protected]>
Shovan Maity <[email protected]>
Simeon Visser <[email protected]>
Simon Cross <[email protected]>
Simon Pichugin <[email protected]>
sinoroc <[email protected]>
Sorin Sbarnea <[email protected]>
Stavros Korokithakis <[email protected]>
Stefan Scherfke <[email protected]>
Expand All @@ -468,6 +498,7 @@ Stéphane Klein <[email protected]>
Sumana Harihareswara <[email protected]>
Sviatoslav Sydorenko <[email protected]>
Sviatoslav Sydorenko <[email protected]>
Swat009 <[email protected]>
Takayuki SHIMIZUKAWA <[email protected]>
tbeswick <[email protected]>
Thijs Triemstra <[email protected]>
Expand All @@ -486,15 +517,18 @@ tinruufu <[email protected]>
Tom Forbes <[email protected]>
Tom Freudenheim <[email protected]>
Tom V <[email protected]>
Tomas Orsava <[email protected]>
Tomer Chachamu <[email protected]>
Tony Beswick <[email protected]>
Tony Zhaocheng Tan <[email protected]>
TonyBeswick <[email protected]>
toonarmycaptain <[email protected]>
Toshio Kuratomi <[email protected]>
Travis Swicegood <[email protected]>
Tzu-ping Chung <[email protected]>
Valentin Haenel <[email protected]>
Victor Stinner <[email protected]>
victorvpaulo <[email protected]>
Viktor Szépe <[email protected]>
Ville Skyttä <[email protected]>
Vinay Sajip <[email protected]>
Expand All @@ -516,6 +550,7 @@ xoviat <[email protected]>
xtreak <[email protected]>
YAMAMOTO Takashi <[email protected]>
Yen Chi Hsuan <[email protected]>
Yeray Diaz Diaz <[email protected]>
Yoval P <[email protected]>
Yu Jian <[email protected]>
Yuan Jing Vincent Yan <[email protected]>
Expand Down
120 changes: 120 additions & 0 deletions NEWS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,126 @@

.. towncrier release notes start

20.0 (2020-01-21)
=================

Process
-------

- Switch to a dedicated CLI tool for vendoring dependencies.

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

- Remove wheel tag calculation from pip and use ``packaging.tags``. This
should provide more tags ordered better than in prior releases. (`#6908 <https://github.com/pypa/pip/issues/6908>`_)
- Deprecate setup.py-based builds that do not generate an ``.egg-info`` directory. (`#6998 <https://github.com/pypa/pip/issues/6998>`_)
- The pip>=20 wheel cache is not retro-compatible with previous versions. Until
pip 21.0, pip will continue to take advantage of existing legacy cache
entries. (`#7296 <https://github.com/pypa/pip/issues/7296>`_)
- Deprecate undocumented ``--skip-requirements-regex`` option. (`#7297 <https://github.com/pypa/pip/issues/7297>`_)
- Deprecate passing install-location-related options via ``--install-option``. (`#7309 <https://github.com/pypa/pip/issues/7309>`_)
- Use literal "abi3" for wheel tag on CPython 3.x, to align with PEP 384
which only defines it for this platform. (`#7327 <https://github.com/pypa/pip/issues/7327>`_)
- Remove interpreter-specific major version tag e.g. ``cp3-none-any``
from consideration. This behavior was not documented strictly, and this
tag in particular is `not useful <https://snarky.ca/the-challenges-in-designing-a-library-for-pep-425/>`_.
Anyone with a use case can create an issue with pypa/packaging. (`#7355 <https://github.com/pypa/pip/issues/7355>`_)
- Wheel processing no longer permits wheels containing more than one top-level
.dist-info directory. (`#7487 <https://github.com/pypa/pip/issues/7487>`_)
- Support for the ``git+git@`` form of VCS requirement is being deprecated and
will be removed in pip 21.0. Switch to ``git+https://`` or
``git+ssh://``. ``git+git://`` also works but its use is discouraged as it is
insecure. (`#7543 <https://github.com/pypa/pip/issues/7543>`_)

Features
--------

- Default to doing a user install (as if ``--user`` was passed) when the main
site-packages directory is not writeable and user site-packages are enabled. (`#1668 <https://github.com/pypa/pip/issues/1668>`_)
- Warn if a path in PATH starts with tilde during ``pip install``. (`#6414 <https://github.com/pypa/pip/issues/6414>`_)
- Cache wheels built from Git requirements that are considered immutable,
because they point to a commit hash. (`#6640 <https://github.com/pypa/pip/issues/6640>`_)
- Add option ``--no-python-version-warning`` to silence warnings
related to deprecation of Python versions. (`#6673 <https://github.com/pypa/pip/issues/6673>`_)
- Cache wheels that ``pip wheel`` built locally, matching what
``pip install`` does. This particularly helps performance in workflows where
``pip wheel`` is used for `building before installing
<https://pip.pypa.io/en/stable/user_guide/#installing-from-local-packages>`_.
Users desiring the original behavior can use ``pip wheel --no-cache-dir``. (`#6852 <https://github.com/pypa/pip/issues/6852>`_)
- Display CA information in ``pip debug``. (`#7146 <https://github.com/pypa/pip/issues/7146>`_)
- Show only the filename (instead of full URL), when downloading from PyPI. (`#7225 <https://github.com/pypa/pip/issues/7225>`_)
- Suggest a more robust command to upgrade pip itself to avoid confusion when the
current pip command is not available as ``pip``. (`#7376 <https://github.com/pypa/pip/issues/7376>`_)
- Define all old pip console script entrypoints to prevent import issues in
stale wrapper scripts. (`#7498 <https://github.com/pypa/pip/issues/7498>`_)
- The build step of ``pip wheel`` now builds all wheels to a cache first,
then copies them to the wheel directory all at once.
Before, it built them to a temporary direcory and moved
them to the wheel directory one by one. (`#7517 <https://github.com/pypa/pip/issues/7517>`_)
- Expand ``~`` prefix to user directory in path options, configs, and
environment variables. Values that may be either URL or path are not
currently supported, to avoid ambiguity:

* ``--find-links``
* ``--constraint``, ``-c``
* ``--requirement``, ``-r``
* ``--editable``, ``-e`` (`#980 <https://github.com/pypa/pip/issues/980>`_)

Bug Fixes
---------

- Correctly handle system site-packages, in virtual environments created with venv (PEP 405). (`#5702 <https://github.com/pypa/pip/issues/5702>`_, `#7155 <https://github.com/pypa/pip/issues/7155>`_)
- Fix case sensitive comparison of pip freeze when used with -r option. (`#5716 <https://github.com/pypa/pip/issues/5716>`_)
- Enforce PEP 508 requirement format in ``pyproject.toml``
``build-system.requires``. (`#6410 <https://github.com/pypa/pip/issues/6410>`_)
- Make ``ensure_dir()`` also ignore ``ENOTEMPTY`` as seen on Windows. (`#6426 <https://github.com/pypa/pip/issues/6426>`_)
- Fix building packages which specify ``backend-path`` in pyproject.toml. (`#6599 <https://github.com/pypa/pip/issues/6599>`_)
- Do not attempt to run ``setup.py clean`` after a ``pep517`` build error,
since a ``setup.py`` may not exist in that case. (`#6642 <https://github.com/pypa/pip/issues/6642>`_)
- Fix passwords being visible in the index-url in
"Downloading <url>" message. (`#6783 <https://github.com/pypa/pip/issues/6783>`_)
- Change method from shutil.remove to shutil.rmtree in noxfile.py. (`#7191 <https://github.com/pypa/pip/issues/7191>`_)
- Skip running tests which require subversion, when svn isn't installed (`#7193 <https://github.com/pypa/pip/issues/7193>`_)
- Fix not sending client certificates when using ``--trusted-host``. (`#7207 <https://github.com/pypa/pip/issues/7207>`_)
- Make sure ``pip wheel`` never outputs pure python wheels with a
python implementation tag. Better fix/workaround for
`#3025 <https://github.com/pypa/pip/issues/3025>`_ by
using a per-implementation wheel cache instead of caching pure python
wheels with an implementation tag in their name. (`#7296 <https://github.com/pypa/pip/issues/7296>`_)
- Include ``subdirectory`` URL fragments in cache keys. (`#7333 <https://github.com/pypa/pip/issues/7333>`_)
- Fix typo in warning message when any of ``--build-option``, ``--global-option``
and ``--install-option`` is used in requirements.txt (`#7340 <https://github.com/pypa/pip/issues/7340>`_)
- Fix the logging of cached HTTP response shown as downloading. (`#7393 <https://github.com/pypa/pip/issues/7393>`_)
- Effectively disable the wheel cache when it is not writable, as is the
case with the http cache. (`#7488 <https://github.com/pypa/pip/issues/7488>`_)
- Correctly handle relative cache directory provided via --cache-dir. (`#7541 <https://github.com/pypa/pip/issues/7541>`_)

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

- Upgrade CacheControl to 0.12.5
- Upgrade certifi to 2019.9.11
- Upgrade colorama to 0.4.1
- Upgrade distlib to 0.2.9.post0
- Upgrade ipaddress to 1.0.22
- Update packaging to 20.0.
- Upgrade pkg_resources (via setuptools) to 44.0.0
- Upgrade pyparsing to 2.4.2
- Upgrade six to 1.12.0
- Upgrade urllib3 to 1.25.6

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

- Document that "coding: utf-8" is supported in requirements.txt (`#7182 <https://github.com/pypa/pip/issues/7182>`_)
- Explain how to get pip's source code in `Getting Started <https://pip.pypa.io/en/stable/development/getting-started/>`_ (`#7197 <https://github.com/pypa/pip/issues/7197>`_)
- Describe how basic authentication credentials in URLs work. (`#7201 <https://github.com/pypa/pip/issues/7201>`_)
- Add more clear installation instructions (`#7222 <https://github.com/pypa/pip/issues/7222>`_)
- Fix documentation links for index options (`#7347 <https://github.com/pypa/pip/issues/7347>`_)
- Better document the requirements file format (`#7385 <https://github.com/pypa/pip/issues/7385>`_)


19.3.1 (2019-10-17)
===================

Expand Down
Empty file.
2 changes: 0 additions & 2 deletions news/1668.feature

This file was deleted.

Empty file.
Empty file.
Empty file removed news/3801.trivial
Empty file.
1 change: 0 additions & 1 deletion news/4785.process

This file was deleted.

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

This file was deleted.

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

This file was deleted.

1 change: 0 additions & 1 deletion news/5860.trivial

This file was deleted.

1 change: 0 additions & 1 deletion news/6004.trivial

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

5 changes: 0 additions & 5 deletions news/6852.feature

This file was deleted.

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

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/7146.feature

This file was deleted.

Loading