1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 02:32:33 +01:00

limit requests to '<2.32' for Docker and executables (#5665)

at least for the time being until requests fixed all
HTTPAdapter / SSLContext bugs
This commit is contained in:
Mike Fährmann 2024-06-01 15:40:11 +02:00
parent 807e2f7094
commit 330162f774
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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 {} + \