Skip to content

Commit

Permalink
commands: index: Warn users that this is an experimental command
Browse files Browse the repository at this point in the history
  • Loading branch information
Noah Gorny committed Jun 11, 2021
1 parent dce8972 commit 214345d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/pip/_internal/commands/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ def run(self, options, args):
"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

0 comments on commit 214345d

Please sign in to comment.