mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-23 00:18:55 +00:00
Release 2022.06.29
This commit is contained in:
@@ -576,7 +576,9 @@ class YoutubeDL:
|
||||
MIN_SUPPORTED, MIN_RECOMMENDED = (3, 6), (3, 7)
|
||||
current_version = sys.version_info[:2]
|
||||
if current_version < MIN_RECOMMENDED:
|
||||
msg = 'Support for Python version %d.%d has been deprecated and will break in future versions of yt-dlp'
|
||||
msg = ('Support for Python version %d.%d has been deprecated. '
|
||||
'See https://github.com/yt-dlp/yt-dlp/issues/3764 for more details. '
|
||||
'You will recieve only one more update on this version')
|
||||
if current_version < MIN_SUPPORTED:
|
||||
msg = 'Python version %d.%d is no longer supported'
|
||||
self.deprecation_warning(
|
||||
|
||||
Reference in New Issue
Block a user