Open
Description
I've recently upgraded to Homeassistant Core 2025.1.4 and Homeassistant OS 14.2. Since this upgrade my pyscript integration cannot start as long as I have truenas_api_client listed in the requirements.txt file. Unfortunately I don't know which version Core was installed previously but it must've been either 20025.1.2 or 2025.1.3.
This is the stack trace posted into the logs:
Logger: homeassistant.config_entries
Source: config_entries.py:640
First occurred: 10:49:06 PM (1 occurrences)
Last logged: 10:49:06 PM
Error setting up entry pyscript for pyscript
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 640, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/pyscript/__init__.py", line 280, in async_setup_entry
await install_requirements(hass, config_entry, pyscript_folder)
File "/config/custom_components/pyscript/requirements.py", line 297, in install_requirements
await async_process_requirements(
...<8 lines>...
)
File "/usr/src/homeassistant/homeassistant/requirements.py", line 65, in async_process_requirements
await _async_get_manager(hass).async_process_requirements(name, requirements)
File "/usr/src/homeassistant/homeassistant/requirements.py", line 264, in async_process_requirements
self._raise_for_failed_requirements(name, missing)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/requirements.py", line 292, in _raise_for_failed_requirements
raise RequirementsNotFound(integration, [req])
homeassistant.requirements.RequirementsNotFound: Requirements for pyscript not found: ['truenas_api_client'].
As far as I can tell this package and it's own dependencies (only websocket-client) are up to date and don't conflict with any changes to Homeassistant Core, still something is broken. Other packages could be installed just fine throught the requirements.txt.
Any help is appreciated!
Metadata
Metadata
Assignees
Labels
No labels