Skip to content

default timeout renamed to timeout #9697

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

Closed
wants to merge 1 commit into from
Closed
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
10 changes: 5 additions & 5 deletions docs/html/user_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ then the latter value will be used.

The names of the settings are derived from the long command line option, e.g.
if you want to use a different package index (``--index-url``) and set the
HTTP timeout (``--default-timeout``) to 60 seconds your config file would
HTTP timeout (``--timeout``) to 60 seconds your config file would
look like this:

.. code-block:: ini
Expand Down Expand Up @@ -643,27 +643,27 @@ For example, to set the default timeout:

.. code-block:: shell

export PIP_DEFAULT_TIMEOUT=60
export PIP_TIMEOUT=60

.. tab:: Windows

.. code-block:: shell

set PIP_DEFAULT_TIMEOUT=60
set PIP_TIMEOUT=60

This is the same as passing the option to pip directly:

.. tab:: Unix/macOS

.. code-block:: shell

python -m pip --default-timeout=60 [...]
python -m pip --timeout=60 [...]

.. tab:: Windows

.. code-block:: shell

py -m pip --default-timeout=60 [...]
py -m pip --timeout=60 [...]

For command line options which can be repeated, use a space to separate
multiple values. For example:
Expand Down