diff options
author | bashonly <bashonly@protonmail.com> | 2024-10-22 13:09:43 -0500 |
---|---|---|
committer | bashonly <bashonly@protonmail.com> | 2024-10-22 13:09:43 -0500 |
commit | dd2e24446954246a2ec4d4a7e95531f52a14b351 (patch) | |
tree | 8b21b07d180d5873906cd65630fd1d981af9484b /yt_dlp/update.py | |
parent | ea9e35d85fba5eab341cdcaf1eaed69b57f7e465 (diff) |
[build] Use Ubuntu 20.04 and Python 3.9 for Linux ARM builds (#8638)
Authored by: bashonly
Diffstat (limited to 'yt_dlp/update.py')
-rw-r--r-- | yt_dlp/update.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/yt_dlp/update.py b/yt_dlp/update.py index 0172acfd6..3a8d78de4 100644 --- a/yt_dlp/update.py +++ b/yt_dlp/update.py @@ -158,13 +158,6 @@ def _get_system_deprecation(): return EXE_MSG_TMPL.format('Windows 7/Server 2008 R2', 'issues/10086', STOP_MSG) return None - # Temporary until aarch64/armv7l build flow is bumped to Ubuntu 20.04 and Python 3.9 - elif variant in ('linux_aarch64_exe', 'linux_armv7l_exe'): - libc_ver = version_tuple(os.confstr('CS_GNU_LIBC_VERSION').partition(' ')[2]) - if libc_ver < (2, 31): - return EXE_MSG_TMPL.format('system glibc version < 2.31', 'pull/8638', STOP_MSG) - return None - return f'Support for Python version {major}.{minor} has been deprecated. {PYTHON_MSG}' @@ -357,7 +350,8 @@ class Updater: continue self._report_error( - f'yt-dlp cannot be updated to {resolved_tag} since you are on an older Python version', True) + f'yt-dlp cannot be updated to {resolved_tag} since you are on an older Python version ' + 'or your operating system is not compatible with the requested build', True) return None return resolved_tag |