AppDaemon fails to load the HASS plugin when NumPy 2.0+ is installed due to incompatibility in the deepdiff dependency.
The issue stems from deepdiff == 8.2.0 (pinned in AppDaemon's pyproject.toml), which is incompatible with NumPy 2.0. NumPy 2.0
Suggested solution
Update deepdiff to version 8.5.0 or higher, which includes NumPy 2.0 compatibility fixes.
Changes needed in pyproject.toml:
dependencies = [
# ... other dependencies ...
'deepdiff >= 8.5.0,< 9.0.0', # Changed from == 8.2.0
# ... other dependencies ...
]
Benefits:
- Enables NumPy 2.0 support
Additional Context
Version
0.17.13 - ha addon
AppDaemon fails to load the HASS plugin when NumPy 2.0+ is installed due to incompatibility in the
deepdiffdependency.The issue stems from
deepdiff == 8.2.0(pinned in AppDaemon's pyproject.toml), which is incompatible with NumPy 2.0. NumPy 2.0Suggested solution
Update
deepdiffto version 8.5.0 or higher, which includes NumPy 2.0 compatibility fixes.Changes needed in
pyproject.toml:Benefits:
Additional Context
Version
0.17.13 - ha addon