Skip to content

Commit 214345d

Browse files
author
Noah Gorny
committed
commands: index: Warn users that this is an experimental command
1 parent dce8972 commit 214345d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/pip/_internal/commands/index.py

+6
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ def run(self, options, args):
4949
"versions": self.get_available_package_versions,
5050
}
5151

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

0 commit comments

Comments
 (0)