Skip to content
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

missing hass_frontend in site-package #47

Closed
fariouche opened this issue Feb 10, 2022 · 8 comments
Closed

missing hass_frontend in site-package #47

fariouche opened this issue Feb 10, 2022 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@fariouche
Copy link

Hello,

First, thank you so much about this repo, this is a huge time saver, so many dependencies!
I have almost sorted my various issues, and I think that this is the last one...
I can see that the dependency home-assistant-frontend is installed, but hass complains about missing hass_frontend module.
Looking at the python site-package, I can indeed see that home-assistant-frontend eggfile is here, but not the hass_frontend folder.
When emerging the package, I can see a lot of yarn warning, but nothing serious... at the end, I see also that the packaging is not using the hass_frontend folder...

I wonder, because I found this other way of installing the package and it's totally different: https://github.com/openlumi/homeassistant_on_openwrt/blob/21.02/ha_install.sh

They are getting the archive from pypi and just copy its content (after removing uneeded files)

I'm of course using latest ~amd64, python3.9.

By the way, I tried to build it myself, without ebuild, when doing python setup.py install, I can see that hass_frontend is indeed installed in the build directory.

If you have an idea on why, it will help! Thank you!

@fariouche
Copy link
Author

the reason seems like gentoo distutils-r1 is using --skip-build when doing setup.py install. Not sure why

@onkelbeh
Copy link
Owner

onkelbeh commented Feb 11, 2022

Yes, sorry, already know, the SDIST we used as a source is not provided anymore due to space restrictions at Pypi. Will be fixed as soon as possible. The source from Github dows not contain the built yarn. HA's frontend team is currently refusing to provide the SDIST again. Perhaps: spread some likes:
home-assistant/frontend#11542
home-assistant/frontend#11566

@onkelbeh onkelbeh self-assigned this Feb 11, 2022
@onkelbeh onkelbeh added the bug Something isn't working label Feb 11, 2022
@fariouche
Copy link
Author

thank you! I will check the readings :)
They seem overwhelmed and doing maintenance simplifications. They are even promoting the docker version because it's so more simple for them (I can understand). But like you, I try to maintain my server as clean as possible, and avoid using docker, venv and huge amount of duplicate packages everywhere that end up with wasted gigs of disk :(

@fariouche
Copy link
Author

fariouche commented Feb 11, 2022

by the way, setup.py and distutils are deprecated and will be removed in python 3.12... not sure what will be the concequences
https://blogs.gentoo.org/mgorny/2021/11/07/the-future-of-python-build-systems-and-gentoo/

@onkelbeh
Copy link
Owner

Should be working again after ce2d37e, could you please try?
Close the ticket if it works for you.

@RayOfLight1
Copy link

Dayum, it fixed it for me! ty.

@fariouche
Copy link
Author

top +1! thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants