1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-07-03 12:32:52 -05:00

[core] Raise minimum recommended Python version to 3.8 (#8183)

Authored by: Grub4K
This commit is contained in:
Simon Sawicki
2023-09-24 02:24:47 +02:00
committed by GitHub
parent 1eaca74bc2
commit 61bdf15fc7
4 changed files with 37 additions and 12 deletions

View File

@ -45,6 +45,9 @@ class TestExecution(unittest.TestCase):
self.assertTrue(os.path.exists(LAZY_EXTRACTORS))
_, stderr = self.run_yt_dlp(opts=('-s', 'test:'))
# `MIN_RECOMMENDED` emits a deprecated feature warning for deprecated python versions
if stderr and stderr.startswith('Deprecated Feature: Support for Python'):
stderr = ''
self.assertFalse(stderr)
subprocess.check_call([sys.executable, 'test/test_all_urls.py'], cwd=rootDir, stdout=subprocess.DEVNULL)