diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-06-06 00:47:18 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-06-09 02:18:55 +0530 |
commit | aa75e51f992c206b07ab4de592f11a871827bf4b (patch) | |
tree | 853ad6c3192f045704037152b90221afaec19406 /yt_dlp/update.py | |
parent | 884ce9d05dede3d498440a813c2c5e9bab49b32f (diff) |
[build] Build Windows x86 version with py3.8
and remove redundant tests
:ci skip
Ao-authored by: pukkandan, shirt-dev
Diffstat (limited to 'yt_dlp/update.py')
-rw-r--r-- | yt_dlp/update.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/yt_dlp/update.py b/yt_dlp/update.py index c49c78d4b..d3681b832 100644 --- a/yt_dlp/update.py +++ b/yt_dlp/update.py @@ -89,13 +89,9 @@ def run_update(ydl): err = None if isinstance(globals().get('__loader__'), zipimporter): - # We only support python 3.6 or above - if sys.version_info < (3, 6): - err = 'This is the last release of yt-dlp for Python version %d.%d! Please update to Python 3.6 or above' % sys.version_info[:2] + pass elif hasattr(sys, 'frozen'): - # Python 3.6 supports only vista and above - if sys.getwindowsversion()[0] < 6: - err = 'This is the last release of yt-dlp for your version of Windows. Please update to Windows Vista or above' + pass else: err = 'It looks like you installed yt-dlp with a package manager, pip, setup.py or a tarball. Please use that to update' if err: |