Compare commits

..

No commits in common. "f933191e6b8467b2a58672a9e7d55217496968f8" and "d492e5b934babc41c44e39d15266e5a335a8f0e5" have entirely different histories.

4 changed files with 10 additions and 9 deletions

View File

@ -32,7 +32,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install test requirements
- name: Install dependencies
run: pip install pytest -r requirements.txt
- name: Run tests
continue-on-error: False

View File

@ -15,7 +15,7 @@ jobs:
with:
python-version: 3.9
- name: Install test requirements
run: pip install pytest -r requirements.txt
run: pip install pytest
- name: Run tests
continue-on-error: true
run: ./devscripts/run_tests.sh download
@ -44,8 +44,8 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install test requirements
run: pip install pytest -r requirements.txt
- name: Install pytest
run: pip install pytest
- name: Run tests
continue-on-error: true
run: ./devscripts/run_tests.${{ matrix.run-tests-ext }} download

View File

@ -15,7 +15,7 @@ jobs:
with:
python-version: '3.11'
- name: Install test requirements
run: pip install pytest -r requirements.txt
run: pip install pytest pycryptodomex
- name: Run tests
run: |
python3 -m yt_dlp -v || true

View File

@ -1,7 +1,7 @@
import sys
if sys.version_info < (3, 8):
raise ImportError(
try:
import importlib.metadata # noqa: F401
except Exception:
raise Exception(
f'You are using an unsupported version of Python. Only Python versions 3.8 and above are supported by yt-dlp') # noqa: F541
__license__ = 'Public Domain'
@ -12,6 +12,7 @@ import itertools
import optparse
import os
import re
import sys
import traceback
from .compat import compat_shlex_quote