jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[tests] Update Pillow requirement for Python 3.9

Change-Id: I5baafadef8eaf1a2f199bbb7d89c82c6d91c9f42
---
M requirements.txt
M setup.py
2 files changed, 4 insertions(+), 2 deletions(-)

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'],

To view, visit change 639921. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I5baafadef8eaf1a2f199bbb7d89c82c6d91c9f42
Gerrit-Change-Number: 639921
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged