mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-12 07:28:29 +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:
parent
e8d49b1c7f
commit
c76ce28e06
@ -153,6 +153,12 @@ def _get_system_deprecation():
|
|||||||
f'{variant} (the PyInstaller-bundled executable for macOS versions older than 10.15)',
|
f'{variant} (the PyInstaller-bundled executable for macOS versions older than 10.15)',
|
||||||
'issues/13856', STOP_MSG)
|
'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:
|
if sys.version_info > MIN_RECOMMENDED:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
@ -162,13 +168,6 @@ def _get_system_deprecation():
|
|||||||
if sys.version_info < MIN_SUPPORTED:
|
if sys.version_info < MIN_SUPPORTED:
|
||||||
return f'Python version {major}.{minor} is no longer supported! {PYTHON_MSG}'
|
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}'
|
return f'Support for Python version {major}.{minor} has been deprecated. {PYTHON_MSG}'
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user