FS#77719 - [home-assistant] optdepends for ZNP devices are missing

Attached to Project: Community Packages
Opened by Bjoern Franke (bjo) - Saturday, 04 March 2023, 09:07 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 07 March 2023, 20:40 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Alexander Epaneshnikov (alex19EP)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When trying to use ZHA, Zigbee ZNP devices don't work any more. Maybe zigpy_znp was included upstream before.

Mär 03 15:23:51 home hass[127554]: File "/var/lib/hass/deps/lib/python3.10/site-packages/zigpy_znp/api.py", line 139, in _load_network_info
Mär 03 15:23:51 home hass[127554]: package_version = pkg_resources.get_distribution("zigpy_znp").version
Mär 03 15:23:51 home hass[127554]: pkg_resources.DistributionNotFound: The 'zigpy_znp' distribution was not found and is required by the application


Additional info:
* home-assistant 1:2023.3.0-1

Steps to reproduce:
Try to use ZNP devices.

Temporary fix:
* python-zigpy is already in AUR
* python-zigpy-znp was added by myself into AUR

This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 07 March 2023, 20:40 GMT
Reason for closing:  Won't fix
Additional comments about closing:  See comments
Comment by Toolybird (Toolybird) - Sunday, 05 March 2023, 21:15 GMT
Note: AUR pkgs cannot be optdepends unless promoted to main repos.
Comment by Maxime Gauduin (Alucryd) - Tuesday, 07 March 2023, 13:40 GMT
Unless Alexander wants to maintain these in [community], I'm going to close as won't implement. As Toolybird stated, we don't optdep on AUR, perhaps this should be documented on the wiki instead. I'm on the Z-Wave side and don't have any Zigbee device to properly maintain Zigbee packages.

Loading...