Skip to content
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
1 change: 1 addition & 0 deletions docs/html/cli/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ pip_hash
:caption: Package Index information

pip_search
pip_index
```

```{toctree}
Expand Down
55 changes: 55 additions & 0 deletions docs/html/cli/pip_index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
.. _`pip index`:

===========
pip index
===========



Usage
=====

.. tab:: Unix/macOS

.. pip-command-usage:: index "python -m pip"

.. tab:: Windows

.. pip-command-usage:: index "py -m pip"


Description
===========

.. pip-command-description:: index



Options
=======

.. pip-command-options:: index



Examples
========

#. Search for "peppercorn" versions

.. tab:: Unix/macOS

.. code-block:: console
$ python -m pip index versions peppercorn
peppercorn (0.6)
Available versions: 0.6, 0.5, 0.4, 0.3, 0.2, 0.1
.. tab:: Windows

.. code-block:: console
C:\> py -m pip index peppercorn
peppercorn (0.6)
Available versions: 0.6, 0.5, 0.4, 0.3, 0.2, 0.1
11 changes: 11 additions & 0 deletions docs/html/reference/pip_index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
:orphan:

.. meta::

:http-equiv=refresh: 3; url=../../cli/pip_index/

This page has moved
===================

You should be redirected automatically in 3 seconds. If that didn't
work, here's a link: :doc:`../cli/pip_index`
20 changes: 20 additions & 0 deletions docs/man/commands/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
:orphan:

===========
pip-index
===========

Description
***********

.. pip-command-description:: index

Usage
*****

.. pip-command-usage:: index

Options
*******

.. pip-command-options:: index
1 change: 1 addition & 0 deletions news/13188.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove ``experimental`` warning from ``pip index versions`` command.
6 changes: 0 additions & 6 deletions src/pip/_internal/commands/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,6 @@ def run(self, options: Values, args: List[str]) -> int:
"versions": self.get_available_package_versions,
}

logger.warning(
"pip index is currently an experimental command. "
"It may be removed/changed in a future release "
"without prior warning."
)

# Determine action
if not args or args[0] not in handlers:
logger.error(
Expand Down
Loading