Skip to content

Commit 2095581

Browse files
authored
Merge branch 'master' into pep518
2 parents 9c7ed29 + f16de42 commit 2095581

File tree

135 files changed

+781
-584
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+781
-584
lines changed

.github/CONTRIBUTING.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Contributing to pip
2+
3+
Thank you for your interest in contributing to pip! There are many ways to
4+
contribute, and we appreciate all of them.
5+
6+
As a reminder, all contributors are expected to follow our [Code of Conduct][coc].
7+
8+
[coc]: https://www.pypa.io/en/latest/code-of-conduct/
9+
10+
11+
## Bot Commands
12+
13+
We have a bot monitoring the [pypa/pip](https://github.com/pypa/pip) repository
14+
to help manage the state of issues and pull requests to keep everything running
15+
smoothly. Each command given to the bot should be on its own line and is
16+
generally case sensitive. Multiple commands may be listed in a single comment
17+
(but they must each be on their own line) and the comments may also include
18+
other, non command content.
19+
20+
Command | Who can run it | Description
21+
--- | --- | ---
22+
`/request-review` | anyone | Dismisses all of the current reviews on a pull request, making it appear back in the review queue.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!---
2+
Thank you for your soon to be pull request. Before you submit this, please
3+
double check to make sure that you've added a news file fragment. In pip we
4+
generate our NEWS.rst from multiple news fragment files, and all pull requests
5+
require either a news file fragment or a marker to indicate they don't require
6+
one.
7+
8+
To read more about adding a news file fragment for your PR, please check out
9+
our documentation at: https://pip.pypa.io/en/latest/development/#adding-a-news-entry
10+
-->

AUTHORS.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ Lincoln de Sousa <lincoln@comum.org>
172172
Lipis <lipiridis@gmail.com>
173173
Ludovic Gasc <gmludo@gmail.com>
174174
Luke Macken <lmacken@redhat.com>
175+
Luo Jiebin <luo.jiebin@foxmail.com>
175176
Marc Abramowitz <marc@marc-abramowitz.com>
176177
Marc Tamlyn <marc.tamlyn@gmail.com>
177178
Marcus Smith <qwcode@gmail.com>

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156

157157
# If true, SmartyPants will be used to convert quotes and dashes to
158158
# typographically correct entities.
159-
html_use_smartypants = False
159+
# html_use_smartypants = False
160160

161161
# Custom sidebar templates, maps document names to template names.
162162
# html_sidebars = {}

docs/installing.rst

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Installing with get-pip.py
2121
--------------------------
2222

2323
To install pip, securely download `get-pip.py
24-
<https://bootstrap.pypa.io/get-pip.py>`_. [2]_
24+
<https://bootstrap.pypa.io/get-pip.py>`_. [1]_
2525

2626
Then run the following:
2727

@@ -36,7 +36,7 @@ Then run the following:
3636
system or another package manager. get-pip.py does not coordinate with
3737
those tools, and may leave your system in an inconsistent state.
3838

39-
get-pip.py will also install :ref:`pypug:setuptools` [3]_ and :ref:`pypug:wheel`,
39+
get-pip.py will also install :ref:`pypug:setuptools` [2]_ and :ref:`pypug:wheel`,
4040
if they're not already. :ref:`pypug:setuptools` is required to install
4141
:term:`source distributions <pypug:Source Distribution (or "sdist")>`. Both are
4242
required to be able to build a :ref:`Wheel cache` (which improves installation
@@ -70,13 +70,13 @@ Install from local copies of pip and setuptools::
7070

7171
python get-pip.py --no-index --find-links=/local/copies
7272

73-
Install to the user site [4]_::
73+
Install to the user site [3]_::
7474

7575
python get-pip.py --user
7676

7777
Install behind a proxy::
7878

79-
python get-pip.py --proxy="[user:passwd@]proxy.server:port"
79+
python get-pip.py --proxy="http://[user:passwd@]proxy.server:port"
8080

8181

8282
Using Linux Package Managers
@@ -98,7 +98,7 @@ On Linux or macOS:
9898
pip install -U pip
9999

100100

101-
On Windows [5]_:
101+
On Windows [4]_:
102102

103103
::
104104

@@ -118,20 +118,17 @@ pip works on Unix/Linux, macOS, and Windows.
118118

119119
----
120120

121-
.. [1] For Python 2, see https://docs.python.org/2/installing, and for Python3,
122-
see https://docs.python.org/3/installing.
123-
124-
.. [2] "Secure" in this context means using a modern browser or a
121+
.. [1] "Secure" in this context means using a modern browser or a
125122
tool like `curl` that verifies SSL certificates when downloading from
126123
https URLs.
127124
128-
.. [3] Beginning with pip v1.5.1, ``get-pip.py`` stopped requiring setuptools to
125+
.. [2] Beginning with pip v1.5.1, ``get-pip.py`` stopped requiring setuptools to
129126
be installed first.
130127
131-
.. [4] The pip developers are considering making ``--user`` the default for all
128+
.. [3] The pip developers are considering making ``--user`` the default for all
132129
installs, including ``get-pip.py`` installs of pip, but at this time,
133130
``--user`` installs for pip itself, should not be considered to be fully
134131
tested or endorsed. For discussion, see `Issue 1668
135132
<https://github.com/pypa/pip/issues/1668>`_.
136133
137-
.. [5] https://github.com/pypa/pip/issues/1299
134+
.. [4] https://github.com/pypa/pip/issues/1299

docs/reference/pip_install.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,9 @@ the :ref:`--editable <install_--editable>` option) or not.
325325
already installed, the VCS source will not overwrite it without an `--upgrade`
326326
flag. VCS requirements pin the package version (specified in the `setup.py`
327327
file) of the target commit, not necessarily the commit itself.
328+
* The :ref:`pip freeze` subcommand will record the VCS requirement specifier
329+
(referencing a specific commit) if and only if the install is done using the
330+
editable option.
328331

329332
The "project name" component of the url suffix "egg=<project name>-<version>"
330333
is used by pip in its dependency logic to identify the project prior
@@ -509,7 +512,7 @@ building a new wheel. Note that this means when a package has both optional
509512
C extensions and builds `py` tagged wheels when the C extension can't be built
510513
that pip will not attempt to build a better wheel for Pythons that would have
511514
supported it, once any generic wheel is built. To correct this, make sure that
512-
the wheels are built with Python specific tags - e.g. pp on Pypy.
515+
the wheels are built with Python specific tags - e.g. pp on PyPy.
513516

514517
When no wheels are found for an sdist, pip will attempt to build a wheel
515518
automatically and insert it into the wheel cache.
@@ -798,6 +801,7 @@ Examples
798801
$ pip install git+https://git.repo/some_pkg.git#egg=SomePackage[PDF]
799802
$ pip install SomePackage[PDF]==3.0
800803
$ pip install -e .[PDF]==3.0 # editable project in current directory
804+
$ pip install SomePackage[PDF,EPUB] # multiple extras
801805

802806

803807
#. Install a particular source archive file.

news/2386.removal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Removed support for uninstalling projects which have been installed using
22
distutils. distutils installed projects do not include metadata indicating
33
what files belong to that install and thus it is impossible to *actually*
4-
install them rather than just remove the metadata saying they've been installed
5-
while leaving all of the actual files behind.
4+
uninstall them rather than just remove the metadata saying they've been
5+
installed while leaving all of the actual files behind.

news/3015.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Correctly reset the terminal if an exception occurs while a progress bar is being shown.

news/3236.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"Support URL-encoded characters in URL credentials."

news/3876.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Support installing from Git refs

0 commit comments

Comments
 (0)