Skip to content

Commit 6e98fd8

Browse files
committed
[dep] Update Pillow requirements
Pillow fails with Python 3.14 and 3.14 but a fix was done with python-pillow/Pillow#8050 which will be published in 10.4.0 python-pillow/Pillow#8076 Bug: T364840 Change-Id: Id3080f0e4e5d270c3bd03c56896af3cb61b609b8
1 parent bbaaed6 commit 6e98fd8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ pydot >= 1.4.1
4040
python-stdnum >= 1.19
4141

4242
# GUI
43-
Pillow >= 8.1.2, != 10.0, != 10.1
43+
Pillow >= 8.1.2, != 10.0, != 10.1 ; python_version < '3.13'
44+
Pillow >= 10.4 ; python_version >= '3.13'
4445

4546
# core pagegenerators
4647
google >= 1.7

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@
4545
'wikitextparser': ['wikitextparser>=0.47.0'],
4646
'mysql': ['PyMySQL >= 1.0.0'],
4747
# vulnerability found in Pillow<8.1.2 but toolforge uses 5.4.1
48-
'Tkinter': ['Pillow>=8.1.2, != 10.0, != 10.1'],
48+
'Tkinter': [
49+
'Pillow>=8.1.2, != 10.0, != 10.1; python_version < "3.13"',
50+
'Pillow>=10.4; python_version >= "3.13"',
51+
],
4952
'mwoauth': ['mwoauth!=0.3.1,>=0.2.4'],
5053
'html': ['beautifulsoup4>=4.7.1'],
5154
'http': ['fake-useragent>=1.4.0'],

0 commit comments

Comments
 (0)