Xqt submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
Revert "[dep] Update Pillow requirements"

This reverts commit d3e73bc788844ddf7544d72bb340e6c6cff1e4c5.

Reason for revert: solved upstream with Pillow 10.4

Bug: T364840
Change-Id: Icb69d8fa1f06aa952c073deb63fec933ca36edaa
---
M requirements.txt
M setup.py
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/requirements.txt b/requirements.txt
index 5da319c..072cf75 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -41,6 +41,7 @@

# GUI
Pillow >= 8.1.2, != 10.0, != 10.1 ; python_version < '3.13'
+Pillow >= 10.4 ; python_version >= '3.13'

# core pagegenerators
google >= 1.7
diff --git a/setup.py b/setup.py
index 010e333..b81b241 100755
--- a/setup.py
+++ b/setup.py
@@ -45,7 +45,10 @@
'wikitextparser': ['wikitextparser>=0.47.0'],
'mysql': ['PyMySQL >= 1.0.0'],
# vulnerability found in Pillow<8.1.2 but toolforge uses 5.4.1
- 'Tkinter': ['Pillow>=8.1.2, != 10.0, != 10.1; python_version < "3.13"'],
+ 'Tkinter': [
+ 'Pillow>=8.1.2, != 10.0, != 10.1; python_version < "3.13"',
+ 'Pillow>=10.4; python_version >= "3.13"',
+ ],
'mwoauth': ['mwoauth!=0.3.1,>=0.2.4'],
'html': ['beautifulsoup4>=4.7.1'],
'http': ['fake-useragent>=1.4.0'],

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

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