Skip to content

A feature-rich command-line audio/video downloader

Deprecate `linux_armv7l_exe` support (#13978)

bashonlyc76ce28e06c8
diff --git a/yt_dlp/update.py b/yt_dlp/update.py
index 045f7ec7f3..3421959f3b 100644
--- a/yt_dlp/update.py
+++ b/yt_dlp/update.py
@@ -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}'