mirror of
https://github.com/esphome/esphome.git
synced 2024-12-21 16:27:44 +01:00
Update pillow
to 10.4.0 (#7566)
This commit is contained in:
parent
4bac9707fe
commit
b08432bd0d
@ -98,13 +98,13 @@ def validate_pillow_installed(value):
|
||||
except ImportError as err:
|
||||
raise cv.Invalid(
|
||||
"Please install the pillow python package to use this feature. "
|
||||
'(pip install "pillow==10.2.0")'
|
||||
'(pip install "pillow==10.4.0")'
|
||||
) from err
|
||||
|
||||
if version.parse(PIL.__version__) != version.parse("10.2.0"):
|
||||
if version.parse(PIL.__version__) != version.parse("10.4.0"):
|
||||
raise cv.Invalid(
|
||||
"Please update your pillow installation to 10.2.0. "
|
||||
'(pip install "pillow==10.2.0")'
|
||||
"Please update your pillow installation to 10.4.0. "
|
||||
'(pip install "pillow==10.4.0")'
|
||||
)
|
||||
|
||||
return value
|
||||
|
@ -1,2 +1,2 @@
|
||||
pillow==10.2.0
|
||||
pillow==10.4.0
|
||||
cairosvg==2.7.1
|
||||
|
Loading…
Reference in New Issue
Block a user