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
This commit is contained in:
Anastasiia Pnevskaia 2024-05-15 17:50:26 +02:00 committed by GitHub
parent 68bdbbe0fb
commit 8229da4c0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 14 deletions

View File

@ -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):

View File

@ -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. ' \