Skip to content

Commit ab2c978

Browse files
[WIP] make pip index versions no longer experimental
1 parent f5ff4fa commit ab2c978

File tree

3 files changed

+22
-6
lines changed

3 files changed

+22
-6
lines changed

docs/man/commands/index.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
:orphan:
2+
3+
===========
4+
pip-index
5+
===========
6+
7+
Description
8+
***********
9+
10+
.. pip-command-description:: index
11+
12+
Usage
13+
*****
14+
15+
.. pip-command-usage:: index
16+
17+
Options
18+
*******
19+
20+
.. pip-command-options:: index

news/13188.feature.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Remove `experimental` warning from `pip index versions` command and
2+
add json output support.

src/pip/_internal/commands/index.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,6 @@ def run(self, options: Values, args: List[str]) -> int:
5050
"versions": self.get_available_package_versions,
5151
}
5252

53-
logger.warning(
54-
"pip index is currently an experimental command. "
55-
"It may be removed/changed in a future release "
56-
"without prior warning."
57-
)
58-
5953
# Determine action
6054
if not args or args[0] not in handlers:
6155
logger.error(

0 commit comments

Comments
 (0)