Skip to content

Commit a46b546

Browse files
committed
Update to Pillow 11.x only for Python 3.9+
1 parent 877b9e4 commit a46b546

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

requirements.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Python packages requirements
2-
Pillow~=11.0.0 # Image generation
32
pyserial~=3.5 # Serial link to communicate with the display
43
PyYAML~=6.0.2 # For themes files
54
psutil~=6.1.0 # CPU / disk / network metrics
@@ -10,6 +9,10 @@ sv-ttk~=2.6.0 # Tk Sun Valley theme for configuration editor
109
tkinter-tooltip~=3.1.2 # Tooltips for configuration editor
1110
uptime~=3.0.1 # For System Uptime
1211

12+
# Image generation
13+
Pillow~=10.4.0; python_version < "3.9" # For Python 3.8 max.
14+
Pillow~=11.0.0; python_version >= "3.9" # For Python >=3.9
15+
1316
# Efficient image serialization
1417
numpy~=1.24.4; python_version < "3.9" # For Python 3.8 max.
1518
numpy~=2.0.0; python_version == "3.9" # For Python 3.9, only numpy 2.0.x is supported as 2.1 only supports Python >=3.10

0 commit comments

Comments
 (0)