core: Onvif fails to start on Home Assistant 0.116.3

The problem

Onvif integration fails to start on Home Assistant 0.116.3

Environment

HassOS 4.13 on Raspberry Pi 4

  • Home Assistant Core release with the issue: 0.116.3
  • Last working Home Assistant Core release (if known): 0.116.2
  • Operating environment (OS/Container/Supervised/Core): HassOS 4.13, supervised
  • Integration causing this issue: onvif
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/onvif/

Problem-relevant configuration.yaml

N/A

Traceback/Error logs

Setup failed for onvif: Unable to import component: No module named 'zeep.asyncio'

Additional information

Worked fine on 0.116.2. Issue seems to be with asyncio.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 7
  • Comments: 17 (4 by maintainers)

Most upvoted comments

Looks like we need to pin Zeep in the dep: https://github.com/hunterjm/python-onvif-zeep-async/blob/async/setup.py#L9

Zeep recently released 4.0 which uses httpx and not asyncio.

Working on it.

How to run this command on HassOS 4.13 ?

pip install python-zeep is a workaround if someone needs it right now.