diff --git a/requirements.txt b/requirements.txt index 757f2de6..b32ba96a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,4 @@ # Python packages requirements -Pillow~=10.4.0 # Image generation pyserial~=3.5 # Serial link to communicate with the display PyYAML~=6.0.2 # For themes files psutil~=6.1.0 # CPU / disk / network metrics @@ -10,6 +9,10 @@ sv-ttk~=2.6.0 # Tk Sun Valley theme for configuration editor tkinter-tooltip~=3.1.2 # Tooltips for configuration editor uptime~=3.0.1 # For System Uptime +# Image generation +Pillow~=10.4.0; python_version < "3.9" # For Python 3.8 max. +Pillow~=11.0.0; python_version >= "3.9" # For Python >=3.9 + # Efficient image serialization numpy~=1.24.4; python_version < "3.9" # For Python 3.8 max. 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