From 3ce1c52e30210516d029993dd484cc84f4bb2900 Mon Sep 17 00:00:00 2001 From: Hubert Deng Date: Mon, 30 Dec 2024 10:39:53 -0800 Subject: [PATCH] remove update warning message --- devservices/main.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/devservices/main.py b/devservices/main.py index 658272f..05ff954 100644 --- a/devservices/main.py +++ b/devservices/main.py @@ -26,7 +26,6 @@ from devservices.constants import LOGGER_NAME from devservices.exceptions import DockerComposeInstallationError from devservices.exceptions import DockerDaemonNotRunningError -from devservices.utils.check_for_update import check_for_update from devservices.utils.console import Console from devservices.utils.docker_compose import check_docker_compose_version @@ -102,14 +101,6 @@ def main() -> None: else: parser.print_help() - if args.command != "update" and os.environ.get("CI") != "true": - newest_version = check_for_update() - if newest_version != current_version: - console.warning( - f"WARNING: A new version of devservices is available: {newest_version}" - ) - console.warning('To update, run: "devservices update"') - if __name__ == "__main__": main()