From 9b4c94fda8a9b62363d3c940e2a1f1781884047b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Thu, 17 Oct 2024 09:20:26 +0200 Subject: [PATCH] [build] include yt-dlp 'default' optional dependencies https://github.com/yt-dlp/yt-dlp/pull/11255 --- .github/workflows/executables.yml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/executables.yml b/.github/workflows/executables.yml index 3899aaf5..940705b7 100644 --- a/.github/workflows/executables.yml +++ b/.github/workflows/executables.yml @@ -71,7 +71,7 @@ jobs: - name: Build executable run: | - pip install requests requests[socks] yt-dlp pyyaml ${{ matrix.python-packages }} pyinstaller + pip install requests requests[socks] yt-dlp[default] pyyaml ${{ matrix.python-packages }} pyinstaller python ./scripts/pyinstaller.py --label '${{ env.LABEL }}' - uses: actions/upload-artifact@v4 diff --git a/Dockerfile b/Dockerfile index 98f0065a..ed89d4cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN : \ pip \ && python3 -B -m pip --no-cache-dir --no-input --disable-pip-version-check install -U \ https://github.com/mikf/gallery-dl/archive/refs/heads/master.tar.gz \ - yt-dlp \ + yt-dlp[default] \ && ( rm -rf /root/.cache/pip || true ) \ && ( find /usr/local/lib/python3.*/site-packages/setuptools -name __pycache__ -exec rm -rf {} + || true ) \ && ( find /usr/local/lib/python3.*/site-packages/wheel -name __pycache__ -exec rm -rf {} + || true ) \