|
|
|
@ -142,21 +142,6 @@ def _get_binary_name():
|
|
|
|
|
def _get_system_deprecation():
|
|
|
|
|
MIN_SUPPORTED, MIN_RECOMMENDED = (3, 9), (3, 10)
|
|
|
|
|
|
|
|
|
|
EXE_MSG_TMPL = ('Support for {} has been deprecated. '
|
|
|
|
|
'See https://github.com/yt-dlp/yt-dlp/{} for details.\n{}')
|
|
|
|
|
STOP_MSG = 'You may stop receiving updates on this version at any time!'
|
|
|
|
|
variant = detect_variant()
|
|
|
|
|
|
|
|
|
|
# Temporary until linux_armv7l executable builds are discontinued
|
|
|
|
|
if variant == 'linux_armv7l_exe':
|
|
|
|
|
return EXE_MSG_TMPL.format(
|
|
|
|
|
f'{variant} (the PyInstaller-bundled executable for the Linux armv7l platform)',
|
|
|
|
|
'issues/13976', STOP_MSG)
|
|
|
|
|
|
|
|
|
|
# Temporary until linux_aarch64_exe is built with Python >=3.10 instead of Python 3.9
|
|
|
|
|
if variant == 'linux_aarch64_exe':
|
|
|
|
|
return None
|
|
|
|
|
|
|
|
|
|
if sys.version_info > MIN_RECOMMENDED:
|
|
|
|
|
return None
|
|
|
|
|
|
|
|
|
|