We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tried to use a Font and installed pillow version 10.0.0
At compile esphome will fail with error "Please update your pillow installation to at least 4.0.x. "
Problem ist this check in "components/font/init.py"" if PIL.__version__[0] < "4":
if PIL.__version__[0] < "4":
The version is 10.0.0
As only the first character is tested, the version is detected as 1
2023.6.3
pip
No response
ESP32
The text was updated successfully, but these errors were encountered:
Suggested solution:
components/font/__init__.py:
from packaging import version
Line 73:
if version.parse(PIL.__version__) < version.parse("4.0.0"):
Current code assumes first character is the version -- fails when the version is actually "10.0.0" as it reads it as "1"
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The problem
Tried to use a Font and installed pillow version 10.0.0
At compile esphome will fail with error "Please update your pillow installation to at least 4.0.x. "
Problem ist this check in "components/font/init.py""
if PIL.__version__[0] < "4":
The version is 10.0.0
As only the first character is tested, the version is detected as 1
Which version of ESPHome has the issue?
2023.6.3
What type of installation are you using?
pip
Which version of Home Assistant has the issue?
No response
What platform are you using?
ESP32
Board
No response
Component causing the issue
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: