-
-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
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
Home Assistant install fails on maturin #7329
Comments
Can you please share the full log of the HA install attempt? I do not see which package build actually failed. Might be an ARMv6-related issue, but as I am traveling, I have no access to my RPi Zero W right now. |
Details:
Additional logs:
|
I'm here for the same issue, project.version field error trying to build maturin |
This is an issue with the python module |
Seems to be solved upstream. Can you all retry?
|
Upgrading to the lates version will not help, as HA strictly specifies 3.10.12 version https://github.com/home-assistant/core/blob/2024.12.5/homeassistant/package_constraints.txt |
Hmm, much easier and less intrusive to adjust I recognised that the issue affects ARMv6 and RISC-V only, as for all other architectures, pre-compiled binaries are shipped by PyPI: https://pypi.org/project/orjson/3.10.12/#files |
Simply retrying, without any changes, results in the same error. |
Yeah, as steals mentiond above, the orjson version dependency in HA is hardcoded. I am currently trying another way, defining the Testing it for RISC-V: https://github.com/MichaIng/DietPi/actions/runs/12546201627 |
maturin>1.7.8 breaks dependency y-py (Python 3.12) and pywinpty (Python 3.8) wheel building. MichaIng/DietPi#7329 (comment)
It seems to work. Can you try on ARMv6? G_DEV_BRANCH homeassistant
dietpi-software install 157 |
Actually also this change in latest maturin from yesterday should have solved it: https://github.com/PyO3/maturin/pull/2417/files |
I didn't know about G_DEV_BRANCH, and applied the patch manually. Home Assistant installed successfully, but haven't time to test it yet – RPi Model B is SLOW 🤷🏻♂️. Will retry now according to your recommendations. |
If you applied the patch manually, then it is all good. No need to redo the lengthy build. But can you check the installed sudo -u homeassistant bash
. /home/homeassistant/pyenv-activate.sh
pip3 freeze | grep maturin |
After successful installation of HA maturin does not exist in the system:
|
Ah, maybe those build dependencies do not stay in the environment. |
Creating a bug report/issue
Required Information
9.9.0
bookworm 1
Linux DietPi 6.1.21+ #1642 Mon Apr 3 17:19:14 BST 2023 armv6l GNU/Linux
RPi B (armv6l)
Additional Information (if applicable)
9937c3ff-27ae-402c-bbe2-d28fb843a5c4
Steps to reproduce
Expected behaviour
Actual behaviour
The text was updated successfully, but these errors were encountered: