diff --git a/.github/workflows/executables.yml b/.github/workflows/executables.yml index bbdf1291..2c27d643 100644 --- a/.github/workflows/executables.yml +++ b/.github/workflows/executables.yml @@ -70,7 +70,7 @@ jobs: - name: Build executable run: | - pip install requests requests[socks] yt-dlp pyyaml ${{ matrix.python-packages }} pyinstaller + pip install 'requests<2.32' requests[socks] yt-dlp pyyaml ${{ matrix.python-packages }} pyinstaller python ./scripts/pyinstaller.py --label '${{ env.LABEL }}' - uses: actions/upload-artifact@v4 diff --git a/Dockerfile b/Dockerfile index 30759122..a9eb2e07 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,7 @@ RUN : \ && 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 \ + 'requests<2.32' \ && rm -rf /root/.cache/pip \ && find /usr/local/lib/python3.*/site-packages/setuptools -name __pycache__ -exec rm -rf {} + \ && find /usr/local/lib/python3.*/site-packages/wheel -name __pycache__ -exec rm -rf {} + \