Skip to content

Commit 520c945

Browse files
committed
Separate Pillow versions for Python 3.9/3.10+
1 parent 0ba1c1a commit 520c945

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
@@ -11,7 +11,10 @@ uptime~=3.0.1 # For System Uptime
1111
requests~=2.32.5 # HTTP library
1212
ping3~=5.1.5 # ICMP ping implementation using raw socket
1313
pyinstaller~=6.16.0 # bundles a Python application and all its dependencies into a single package
14-
Pillow~=12.0.0 # Image generation
14+
15+
# Image generation
16+
Pillow~=11.3.0; python_version < "3.10" # For Python 3.9, only Pillow 11.x is supported
17+
Pillow~=12.0.0; python_version >= "3.10" # For Python 3.10+, any Pillow 12.x is fine
1518

1619
# Efficient image serialization
1720
numpy~=2.0.2; python_version < "3.10" # For Python 3.9, only numpy 2.0.x is supported

0 commit comments

Comments
 (0)