slesinger / HomeAssistant-PREdistribuce

Home Assistant integration to display info about energy plan
https://slesinger.info
Apache License 2.0
11 stars 8 forks source link

newer HA version starting from >=2022.7 breaks the integration #9

Closed mazzy89 closed 1 year ago

mazzy89 commented 1 year ago
Unable to install package lxml==4.5.1: error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [3 lines of output] Building lxml version 4.5.1. Building without Cython. Error: Please make sure the libxml2 and libxslt development packages are installed. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details.
mazzy89 commented 1 year ago

upgrading to lxml==4.7.1 did not help

mazzy89 commented 1 year ago

bumped dependency to lxml==4.9.1 matching the current HA one and it worked. we would like to relax maybe the sem ver of this dependency.

slesinger commented 1 year ago

Hello, user thebellenik kindly fixed this. Thank you.

mazzy89 commented 1 year ago

the commit of the user does not solve the problem I've reported. the problem I've reported has been solved just setting up correctly the dependency version.