From 8229da4c0e36e78616f380ccc76d67f1ca95d5b5 Mon Sep 17 00:00:00 2001 From: Anastasiia Pnevskaia Date: Wed, 15 May 2024 17:50:26 +0200 Subject: [PATCH] Remove update version reminder. (#24513) ### Details: - As it is not a common practice for PyPI packages to remind for updating update reminder was decided to be removed. ### Tickets: - 89093 --- tools/ovc/openvino/tools/ovc/convert_impl.py | 6 +----- tools/ovc/openvino/tools/ovc/get_ov_update_message.py | 9 --------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/tools/ovc/openvino/tools/ovc/convert_impl.py b/tools/ovc/openvino/tools/ovc/convert_impl.py index 0a788b70f02..95682c706bb 100644 --- a/tools/ovc/openvino/tools/ovc/convert_impl.py +++ b/tools/ovc/openvino/tools/ovc/convert_impl.py @@ -28,7 +28,7 @@ from openvino.tools.ovc.cli_parser import get_available_front_ends, get_common_c from openvino.tools.ovc.help import get_convert_model_help_specifics from openvino.tools.ovc.error import Error, FrameworkError -from openvino.tools.ovc.get_ov_update_message import get_ov_update_message, get_compression_message +from openvino.tools.ovc.get_ov_update_message import get_compression_message from openvino.tools.ovc.version import VersionChecker from openvino.tools.ovc.utils import check_values_equal from openvino.tools.ovc.logger import init_logger @@ -492,10 +492,6 @@ def _convert(cli_parser: argparse.ArgumentParser, args, python_api_used): if 'compress_to_fp16' in argv and argv.compress_to_fp16: print(get_compression_message()) - ov_update_message = get_ov_update_message() - if ov_update_message is not None: - print(ov_update_message) - send_conversion_result('success') if is_verbose(argv): diff --git a/tools/ovc/openvino/tools/ovc/get_ov_update_message.py b/tools/ovc/openvino/tools/ovc/get_ov_update_message.py index ecc9d8f1777..9c1f73bca28 100644 --- a/tools/ovc/openvino/tools/ovc/get_ov_update_message.py +++ b/tools/ovc/openvino/tools/ovc/get_ov_update_message.py @@ -7,15 +7,6 @@ msg_fmt = 'Check for a new version of Intel(R) Distribution of OpenVINO(TM) tool 'or on https://github.com/openvinotoolkit/openvino' -def get_ov_update_message(): - expected_update_date = datetime.date(year=2024, month=12, day=1) - current_date = datetime.date.today() - - link = 'https://software.intel.com/content/www/us/en/develop/tools/openvino-toolkit/download.html?cid=other&source=prod&campid=ww_2023_bu_IOTG_OpenVINO-2023-1&content=upg_all&medium=organic' - - return msg_fmt.format(link) if current_date >= expected_update_date else None - - def get_compression_message(): link = "https://docs.openvino.ai/2023.0/openvino_docs_MO_DG_FP16_Compression.html" message = '[ INFO ] Generated IR will be compressed to FP16. ' \