From aa75e51f992c206b07ab4de592f11a871827bf4b Mon Sep 17 00:00:00 2001 From: pukkandan Date: Sun, 6 Jun 2021 00:47:18 +0530 Subject: [build] Build Windows x86 version with py3.8 and remove redundant tests :ci skip Ao-authored by: pukkandan, shirt-dev --- yt_dlp/update.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'yt_dlp/update.py') 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: -- cgit v1.2.3