Skip to content

Commit

Permalink
[dep] Update Pillow requirements
Browse files Browse the repository at this point in the history
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
  • Loading branch information
xqt committed May 26, 2024
1 parent bbaaed6 commit 6e98fd8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ pydot >= 1.4.1
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
Expand Down
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down

0 comments on commit 6e98fd8

Please sign in to comment.