[CI] Fix packaging errors with Python 3.7
The latest Pillow 10 does not support Py3.7 therefore wheels are no longer available and we need to specify previous major version. Older versions of setuptools do not correctly determine the Twisted requirement for zope.interface>5 on Python 3.7 so ensure latest installed. For the CD builds we don't want any surprises so keep the setuptools version pinned. Refs: https://pillow.readthedocs.io/en/stable/installation.html Closes: https://github.com/deluge-torrent/deluge/pull/433
This commit is contained in:
parent
015b0660be
commit
7082d9cec4
|
@ -49,7 +49,7 @@ jobs:
|
||||||
cache: pip
|
cache: pip
|
||||||
|
|
||||||
- name: Prepare pip
|
- name: Prepare pip
|
||||||
run: python -m pip install wheel
|
run: python -m pip install wheel setuptools==68.*
|
||||||
|
|
||||||
- name: Install GTK
|
- name: Install GTK
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -36,7 +36,7 @@ jobs:
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install --upgrade pip wheel
|
pip install --upgrade pip wheel setuptools
|
||||||
pip install -r requirements.txt -r requirements-tests.txt
|
pip install -r requirements.txt -r requirements-tests.txt
|
||||||
pip install -e .
|
pip install -e .
|
||||||
|
|
||||||
|
@ -91,7 +91,7 @@ jobs:
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install --upgrade pip wheel
|
pip install --upgrade pip wheel setuptools
|
||||||
pip install -r requirements.txt -r requirements-tests.txt
|
pip install -r requirements.txt -r requirements-tests.txt
|
||||||
pip install -e .
|
pip install -e .
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ rencode
|
||||||
pyopenssl
|
pyopenssl
|
||||||
pyxdg
|
pyxdg
|
||||||
pillow
|
pillow
|
||||||
|
pillow<=9; python_version=="3.7"
|
||||||
mako
|
mako
|
||||||
setuptools
|
setuptools
|
||||||
chardet
|
chardet
|
||||||
|
|
Loading…
Reference in New Issue