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

[build] remove setuptools and requests version restrictions

This commit is contained in:
Mike Fährmann 2024-09-28 16:48:21 +02:00
parent df4ecef364
commit 6c0cce8dff
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
4 changed files with 4 additions and 5 deletions

View File

@ -71,7 +71,7 @@ jobs:
- name: Build executable
run: |
pip install 'setuptools<71' 'requests<2.32' requests[socks] yt-dlp pyyaml ${{ matrix.python-packages }} pyinstaller
pip install requests requests[socks] yt-dlp pyyaml ${{ matrix.python-packages }} pyinstaller
python ./scripts/pyinstaller.py --label '${{ env.LABEL }}'
- uses: actions/upload-artifact@v4

View File

@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12.3", "pypy3.9"]
python-version: ["3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.9"]
steps:
- uses: actions/checkout@v4
@ -43,7 +43,7 @@ jobs:
3.4|3.5)
# don't install yt-dlp
;;
3.6|3.7)
3.6|3.7|3.8)
# install from PyPI
pip install yt-dlp
;;

View File

@ -13,7 +13,6 @@ 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 || 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 ) \

View File

@ -6,5 +6,5 @@
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
__version__ = "1.27.5"
__version__ = "1.27.6-dev"
__variant__ = None