Open monkeyjpg opened 3 weeks ago
Same Problem
Same problem Setup failed for custom integration 'miner': Requirements for miner not found: ['pyasic==0.60.6'].
In my case the log entry is Setup failed for custom integration 'miner': Requirements for miner not found: ['pyasic==0.60.7'].
Both miner were running with 1.1.14 before, but with last HA update not anymore. Also not running with 1.1.16.rc1.
I was going to open an issue for this as well. Latest HA Core update and pre-release miner version:
Ah. Betterproto being stupid. That's not great, as I'm not sure the existing BOS+ schema actually complies with what betterproto wants.
"Betterproto was requested with a pre-release marker, but pre-releases were not enabled..."
"Betterproto was requested with a pre-release marker, but pre-releases were not enabled..."
I'm running HA Green so not really sure how to alter the code to enable pre-releases. I know others here are smart enough to figure this out. :)
same problem
"Betterproto was requested with a pre-release marker, but pre-releases were not enabled..."
I'm running HA Green so not really sure how to alter the code to enable pre-releases. I know others here are smart enough to figure this out. :)
I'll have to try to out on my instance when I get home, the good news is it's a HASS change, but I don't know how to deal with it or really what the did.
Same here.
I have the same problem. Please fix it.
Same here my friend. Can you please try to fix it. Thanks !
I have asked the home assistant team about it, but it's an issue with home assistant, not this repo.
Version 1.1.12 on HA Core 2024.9.3 is running well. I´ve tested also 1.1.13 to 1.1.16rc and all are running on this core.
Core 2024.9.3 Supervisor 2024.09.1 Operating System 13.1 Frontend 20240909.1
@ThorPrez Thanks for the pointer. I downgraded HA Core using the Terminal (ha core update --version 2024.9.3
) and now Miner 1.1.16rc1 is working for me again.
Same Problem
Logger: homeassistant.setup Källa: setup.py:269 Inträffade först: 10:05:57 (1 händelser) Senast loggade: 10:05:57
Setup failed for custom integration 'miner': Requirements for miner not found: ['pyasic==0.60.6'].
Guys, downgrade HA core to 2024.9.3 and it will work.
Yes, downgrade worked also for me
Im running 2014.10.1 installed de missing package by hand in HA core (pip install pyasic). Restart HA and you're good to go with the latest HA version
pip install pyasic
Hello! I'm using HA Green. Would you happen to know how I could do that? Here is what I get when I tried within the terminal app:
@Ben-in-Chicago try python3 -m pip install pyasic
python3 -m pip install pyasic
python3 -m pip install pyasic
python
rather than python3
?
python3 -m pip install pyasic
python
rather thanpython3
?
Same result
Not exactly sure how to do that on the green. I run HA in a docker container and just exec into the container. Make sure you are in the Linux cli not the HA cli
Can't the repair be a downgrade??? You are not serious.
Can't the repair be a downgrade???
You are not serious.
It's an issue with home assistant, and until they reply to me on the posts I've made, I can't do anything about it.
Can't the repair be a downgrade??? You are not serious.
It's an issue with home assistant, and until they reply to me on the posts I've made, I can't do anything about it.
Thank you for working on it. You sir, are a gentleman and a scholar. You have my respect.
login with ssh, enter docker docker exec -it homeassistant bash
pip install pyasic==0.60.7
install / update v1.1.16rc1
with HACS
works on core 2024.10.1
login with ssh, enter docker
docker exec -it homeassistant bash
pip install pyasic==0.60.7
install / updatev1.1.16rc1
with HACS works oncore 2024.10.1
Can I do this with the Terminal? The commands dont work. Maybe i am not a pro at this point..
login with ssh, enter docker
docker exec -it homeassistant bash
pip install pyasic==0.60.7
install / updatev1.1.16rc1
with HACS works oncore 2024.10.1
Can I do this with the Terminal?
The commands dont work. Maybe i am not a pro at this point..
This will only work if you're running home assistant with docker.
Use the Terminal and SSH add-on to get ssh access, the run the commands past the docker command. The docker exec ...
command is the docker deployment version of SSH.
Can't the repair be a downgrade??? You are not serious.
It's an issue with home assistant, and until they reply to me on the posts I've made, I can't do anything about it.
Can you please post a link to your posts. I would like to join the discussion an support you.
login with ssh, enter docker
docker exec -it homeassistant bash
pip install pyasic==0.60.7
install / updatev1.1.16rc1
with HACS works oncore 2024.10.1
2024.10.2 also confirmed working
login with ssh, enter docker
docker exec -it homeassistant bash
pip install pyasic==0.60.7
install / updatev1.1.16rc1
with HACS works oncore 2024.10.1
2024.10.2 also confirmed working
Fixed in latest version of home assistant then. Nice.
Are you sure this is fixed? I still have the error. Maybe you installed the dependency manually, which fixed it for you?
I'm running haos and just updated HA to 2024.10.2, and still get the same error when trying to add a miner. I tried v1.1.16rc1:
homeassistant.requirements.RequirementsNotFound: Requirements for miner not found: ['pyasic==0.60.7'].
But also tried v1.1.15
homeassistant.requirements.RequirementsNotFound: Requirements for miner not found: ['pyasic==0.60.6'].
Yeah, like I said, it's actually an issue with home assistant, nothing has changed on the pyasic side that would cause it to be unable to install.
Can you please post a link to your posts. I would like to join the discussion an support you.
@spamferkel
Yeah, like I said, it's actually an issue with home assistant, nothing has changed on the pyasic side that would cause it to be unable to install.
I get that, but I think it's not fixed with the latest HA release. At least I can't confirm it.
My guess would be that the fix would come with Home Assistant Operating System update and not with a new version of Home Assistant, since pyasic would be part of the OS and not of HA
My guess would be that the fix would come with Home Assistant Operating System update and not with a new version of Home Assistant, since pyasic would be part of the OS and not of HA
Not so sure about this, because the issue isn't actually with any dependency per-se, but with the way home assistant is installing dependencies. They need to allow pre-release dependencies, which needs to be changed in core AFAIU.
There is a update for HA-OS to 13.2, but it does not fix the issue.
I updated to 13.2, but noticed that the homeassistant-container was not rebuild during the OS-update. Image tag for
ghcr.io/home-assistant/qemux86-64-homeassistant:2024.10.2
has also not changed. So i forced recreation by killing and removing the homeassitant-container via docker. On the new spawned container pyasic still wont install automatically and i had to reinstall it via
pip install pyasic==0.60.7
Any news on the subject? Will the next version of this integration be able to work without any additional work?
Any news on the subject? Will the next version of this integration be able to work without any additional work?
Still waiting on a response from the devs. This is an issue with home assistant, not with this integration.
Opened an issue on core, we shall see if that gets any response.
login with ssh, enter docker
docker exec -it homeassistant bash
pip install pyasic==0.60.7
install / updatev1.1.16rc1
with HACS works oncore 2024.10.1
Seems I'm limited to the commands listed here. Any other suggestions?
login with ssh, enter docker
docker exec -it homeassistant bash
pip install pyasic==0.60.7
install / updatev1.1.16rc1
with HACS works oncore 2024.10.1
Seems I'm limited to the commands listed here. Any other suggestions?
You need to get root-access. Look here https://developers.home-assistant.io/docs/operating-system/debugging/ . Be very careful with this. You can easily destroy your homeassistant. This is normally just for devs and die-hard-linux-nerds ;) . If you can execute a command like docker ps
you should get a list of running containers. Then you're on the right way and can go on with the commands you mentioned...
login with ssh, enter docker
docker exec -it homeassistant bash
pip install pyasic==0.60.7
install / updatev1.1.16rc1
with HACS works oncore 2024.10.1
Seems I'm limited to the commands listed here. Any other suggestions?
You need to get root-access. Look here https://developers.home-assistant.io/docs/operating-system/debugging/ . Be very careful with this. You can easily destroy your homeassistant. This is normally just for devs and die-hard-linux-nerds ;) . If you can execute a command like
docker ps
you should get a list of running containers. Then you're on the right way and can go on with the commands you mentioned...
It appears limited to what I can do (within the GUI and my skillset) so it seems like I need to sit tight until this is resolved by the appropriate people.
This question makes me uneducated, but it is simple in other integrations - I install them, and they work. Is there a way for the developers to adapt the integration to the new system somehow?
This question makes me uneducated, but it is simple in other integrations - I install them, and they work. Is there a way for the developers to adapt the integration to the new system somehow?
The reason for this is because pyasic requires betterproto for managing BOS+ devices, because it's basically the only reasonable library for handling gRPC calls. The problem is it has been in a beta version for about 2 years, and now home assistant is refusing to install it (probably because one flag needs to be set in their package manager, uv), which they updated from like 0.2.x to 0.4.x in 24.10.0. Hence broken package, and I can't do anything about it since it is required for the integration to function at all.
Version of the custom_component
Found at 1.1.15 and 1.1.16.rc1
Configuration
Core 2024.10.0 Supervisor 2024.09.1 Operating System 13.1 User interface 20241002.2
Debug log
homeassistant.setup Source: setup.py:269 Setup failed for custom integration 'miner': Requirements for miner not found: ['pyasic==0.60.7'].
homeassistant.util.package Source: util/package.py:150
Unable to install package pyasic==0.60.6: × No solution found when resolving dependencies: ╰─▶ Because there is no version of betterproto==2.0.0b6 and pyasic==0.60.6 depends on betterproto==2.0.0b6, we can conclude that pyasic==0.60.6 cannot be used. And because you require pyasic==0.60.6, we can conclude that your requirements are unsatisfiable. hint: betterproto was requested with a pre-release marker (e.g., betterproto==2.0.0b6), but pre-releases weren't enabled (try:
--prerelease=allow
)