jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/639921 )
Change subject: [tests] Update Pillow requirement for Python 3.9 ......................................................................
[tests] Update Pillow requirement for Python 3.9
Change-Id: I5baafadef8eaf1a2f199bbb7d89c82c6d91c9f42 --- M requirements.txt M setup.py 2 files changed, 4 insertions(+), 2 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/requirements.txt b/requirements.txt index 1493bcd..1d1a2e8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -34,7 +34,8 @@
# GUI Pillow >= 6.2.2, < 8.0.0 ; python_version < '3.6' -Pillow >= 6.2.2 ; python_version >= '3.6' +Pillow >= 6.2.2 ; python_version >= '3.6' and python_version < '3.9' +Pillow >= 8.0.0 ; python_version >= '3.9'
# core pagegenerators google >= 1.7 diff --git a/setup.py b/setup.py index 4a4f80a..5da72bc 100644 --- a/setup.py +++ b/setup.py @@ -64,7 +64,8 @@ 'mwparserfromhell': ['mwparserfromhell>=0.3.3'], 'Tkinter': [ # vulnerability found in Pillow<6.2.2 'Pillow>=6.2.2,<8.0.0;python_version<"3.6"', - 'Pillow>=6.2.2;python_version>="3.6"', + 'Pillow>=6.2.2;python_version>="3.6" and python_version<"3.9"', + 'Pillow>=8.0.0;python_version>="3.9"', ], 'mwoauth': ['mwoauth!=0.3.1,>=0.2.4'], 'html': ['BeautifulSoup4'],
pywikibot-commits@lists.wikimedia.org