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
2 changed files with 2 additions and 1 deletions

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