diff --git a/requirements.txt b/requirements.txt index c7c61492..0829eb2a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,10 @@ uptime~=3.0.1 # For System Uptime requests~=2.32.5 # HTTP library ping3~=5.1.5 # ICMP ping implementation using raw socket pyinstaller~=6.16.0 # bundles a Python application and all its dependencies into a single package -Pillow~=11.3.0 # Image generation + +# Image generation +Pillow~=11.3.0; python_version < "3.10" # For Python 3.9, only Pillow 11.x is supported +Pillow~=12.0.0; python_version >= "3.10" # For Python 3.10+, any Pillow 12.x is fine # Efficient image serialization numpy~=2.0.2; python_version < "3.10" # For Python 3.9, only numpy 2.0.x is supported