aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp')
-rw-r--r--yt_dlp/YoutubeDL.py3
-rw-r--r--yt_dlp/update.py8
2 files changed, 3 insertions, 8 deletions
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py
index ad96cebcd..92c078a39 100644
--- a/yt_dlp/YoutubeDL.py
+++ b/yt_dlp/YoutubeDL.py
@@ -472,8 +472,7 @@ class YoutubeDL(object):
if sys.version_info < (3, 6):
self.report_warning(
- 'Support for Python version %d.%d have been deprecated and will break in future versions of yt-dlp! '
- 'Update to Python 3.6 or above' % sys.version_info[:2])
+ 'Python version %d.%d is not supported! Please update to Python 3.6 or above' % sys.version_info[:2])
def check_deprecated(param, option, suggestion):
if self.params.get(param) is not None:
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: