Xqt has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1035862?usp=email )

Change subject: [dep] Update Pillow requirements
......................................................................

[dep] Update Pillow requirements

Pillow fails with Python 3.14 and 3.14 but a fix was done with
https://github.com/python-pillow/Pillow/pull/8050
which will be published in 10.4.0
https://github.com/python-pillow/Pillow/issues/8076

Bug: T364840
Change-Id: Id3080f0e4e5d270c3bd03c56896af3cb61b609b8
---
M requirements.txt
M setup.py
2 files changed, 6 insertions(+), 2 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified




diff --git a/requirements.txt b/requirements.txt
index 6bdd15f..072cf75 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -40,7 +40,8 @@
 python-stdnum >= 1.19

 # GUI
-Pillow >= 8.1.2, != 10.0, != 10.1
+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 6190686..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'],
+    '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 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1035862?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Id3080f0e4e5d270c3bd03c56896af3cb61b609b8
Gerrit-Change-Number: 1035862
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to