[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
|
||||
|
||||
- name: Prepare pip
|
||||
run: python -m pip install wheel
|
||||
run: python -m pip install wheel setuptools==68.*
|
||||
|
||||
- name: Install GTK
|
||||
run: |
|
||||
|
|
|
@ -36,7 +36,7 @@ jobs:
|
|||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install --upgrade pip wheel
|
||||
pip install --upgrade pip wheel setuptools
|
||||
pip install -r requirements.txt -r requirements-tests.txt
|
||||
pip install -e .
|
||||
|
||||
|
@ -91,7 +91,7 @@ jobs:
|
|||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install --upgrade pip wheel
|
||||
pip install --upgrade pip wheel setuptools
|
||||
pip install -r requirements.txt -r requirements-tests.txt
|
||||
pip install -e .
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ rencode
|
|||
pyopenssl
|
||||
pyxdg
|
||||
pillow
|
||||
pillow<=9; python_version=="3.7"
|
||||
mako
|
||||
setuptools
|
||||
chardet
|
||||
|
|
Loading…
Reference in New Issue