kaxil commented on a change in pull request #12397:
URL: https://github.com/apache/airflow/pull/12397#discussion_r525122481
##########
File path: airflow/bin/cli.py
##########
@@ -2154,16 +2152,9 @@ def info(args):
def upgrade_check(args):
- if args.save:
- filename = args.save
- if not filename.lower().endswith(".json"):
- print("Only JSON files are supported", file=sys.stderr)
- formatter = JSONFormatter(args.save)
- else:
- formatter = ConsoleFormatter()
- all_problems = check_upgrade(formatter)
- if all_problems:
- sys.exit(1)
+ sys.exit("""
+Please install apache-airflow-upgrade-check distribution from PyPi to perform
upgrade checks
Review comment:
```suggestion
Please install apache-airflow-upgrade-check distribution from PyPI to
perform upgrade checks
```
nit
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]