[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:
Calum Lind 2023-09-18 11:45:01 +01:00
parent 015b0660be
commit 7082d9cec4
No known key found for this signature in database
GPG Key ID: 90597A687B836BA3
3 changed files with 4 additions and 3 deletions

View File

@ -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: |

View File

@ -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 .

View File

@ -4,6 +4,7 @@ rencode
pyopenssl pyopenssl
pyxdg pyxdg
pillow pillow
pillow<=9; python_version=="3.7"
mako mako
setuptools setuptools
chardet chardet