Skip to content

Commit

Permalink
install report: added experimental status warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Jul 14, 2022
1 parent 19564a2 commit 0cc7a39
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/pip/_internal/commands/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,12 @@ def run(self, options: Values, args: List[str]) -> int:
)

if options.json_report_file:
logger.warning(
"--report is currently an experimental option. "
"The output format may change in a future release "
"without prior warning."
)

report = InstallationReport(requirement_set.requirements_to_install)
if options.json_report_file == "-":
print_json(data=report.to_dict())
Expand Down

0 comments on commit 0cc7a39

Please sign in to comment.