Compare commits

...

5 Commits

Author SHA1 Message Date
bashonly
f933191e6b
Revert "[ci] Add py 3.13-dev to core tests"
This reverts commit 8d9eb355cd.
2023-11-14 01:06:42 -06:00
bashonly
8d9eb355cd
[ci] Add py 3.13-dev to core tests 2023-11-14 01:00:27 -06:00
bashonly
db9cc1164f
[ci] Install all deps for download tests 2023-11-14 00:57:27 -06:00
bashonly
ebc03201d9
[ci] Install all deps for py3.11 Quick Test too 2023-11-14 00:45:09 -06:00
bashonly
8b89d6926e
yt_dlp/__init__.py stuff 2023-11-14 00:42:22 -06:00
4 changed files with 9 additions and 10 deletions

View File

@ -32,7 +32,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
- name: Install test requirements
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
run: pip install pytest -r requirements.txt
- 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 pytest
run: pip install pytest
- name: Install test requirements
run: pip install pytest -r requirements.txt
- 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 pycryptodomex
run: pip install pytest -r requirements.txt
- name: Run tests
run: |
python3 -m yt_dlp -v || true

View File

@ -1,7 +1,7 @@
try:
import importlib.metadata # noqa: F401
except Exception:
raise Exception(
import sys
if sys.version_info < (3, 8):
raise ImportError(
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,7 +12,6 @@ import itertools
import optparse
import os
import re
import sys
import traceback
from .compat import compat_shlex_quote