1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-08-11 23:18:30 +00:00

Deprecate linux_armv7l_exe support (#13978)

Ref: https://github.com/yt-dlp/yt-dlp/issues/13976

Authored by: bashonly
This commit is contained in:
bashonly 2025-08-10 01:53:10 -05:00 committed by GitHub
parent e8d49b1c7f
commit c76ce28e06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -153,6 +153,12 @@ def _get_system_deprecation():
f'{variant} (the PyInstaller-bundled executable for macOS versions older than 10.15)',
'issues/13856', STOP_MSG)
# Temporary until linux_armv7l executable builds are discontinued
if variant in ('linux_armv7l_exe'):
return EXE_MSG_TMPL.format(
f'{variant} (the PyInstaller-bundled executable for the Linux armv7l platform)',
'issues/13976', STOP_MSG)
if sys.version_info > MIN_RECOMMENDED:
return None
@ -162,13 +168,6 @@ def _get_system_deprecation():
if sys.version_info < MIN_SUPPORTED:
return f'Python version {major}.{minor} is no longer supported! {PYTHON_MSG}'
# Temporary until aarch64/armv7l build flow is bumped to Ubuntu 22.04 and Python 3.10
if variant in ('linux_aarch64_exe', 'linux_armv7l_exe'):
libc_ver = version_tuple(os.confstr('CS_GNU_LIBC_VERSION').partition(' ')[2])
if libc_ver < (2, 35):
return EXE_MSG_TMPL.format('system glibc version < 2.35', 'issues/13858', STOP_MSG)
return None
return f'Support for Python version {major}.{minor} has been deprecated. {PYTHON_MSG}'