[build] remove setuptools and requests version restrictions
This commit is contained in:
2
.github/workflows/executables.yml
vendored
2
.github/workflows/executables.yml
vendored
@@ -71,7 +71,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build executable
|
- name: Build executable
|
||||||
run: |
|
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 }}'
|
python ./scripts/pyinstaller.py --label '${{ env.LABEL }}'
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
|
|||||||
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
3.4|3.5)
|
3.4|3.5)
|
||||||
# don't install yt-dlp
|
# don't install yt-dlp
|
||||||
;;
|
;;
|
||||||
3.6|3.7)
|
3.6|3.7|3.8)
|
||||||
# install from PyPI
|
# install from PyPI
|
||||||
pip install yt-dlp
|
pip install yt-dlp
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ RUN : \
|
|||||||
&& python3 -B -m pip --no-cache-dir --no-input --disable-pip-version-check install -U \
|
&& 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 \
|
https://github.com/mikf/gallery-dl/archive/refs/heads/master.tar.gz \
|
||||||
yt-dlp \
|
yt-dlp \
|
||||||
'requests<2.32' \
|
|
||||||
&& ( rm -rf /root/.cache/pip || true ) \
|
&& ( 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/setuptools -name __pycache__ -exec rm -rf {} + || true ) \
|
||||||
&& ( find /usr/local/lib/python3.*/site-packages/wheel -name __pycache__ -exec rm -rf {} + || true ) \
|
&& ( find /usr/local/lib/python3.*/site-packages/wheel -name __pycache__ -exec rm -rf {} + || true ) \
|
||||||
|
|||||||
@@ -6,5 +6,5 @@
|
|||||||
# it under the terms of the GNU General Public License version 2 as
|
# it under the terms of the GNU General Public License version 2 as
|
||||||
# published by the Free Software Foundation.
|
# published by the Free Software Foundation.
|
||||||
|
|
||||||
__version__ = "1.27.5"
|
__version__ = "1.27.6-dev"
|
||||||
__variant__ = None
|
__variant__ = None
|
||||||
|
|||||||
Reference in New Issue
Block a user