mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-14 08:28:29 +00:00
[update] remove temporary deprecation code
Authored by: bashonly
This commit is contained in:
parent
f0cb0550a9
commit
87722b6cc8
@ -142,21 +142,6 @@ def _get_binary_name():
|
|||||||
def _get_system_deprecation():
|
def _get_system_deprecation():
|
||||||
MIN_SUPPORTED, MIN_RECOMMENDED = (3, 9), (3, 10)
|
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:
|
if sys.version_info > MIN_RECOMMENDED:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user