Skip to content

Failed to install: no matching distribution for aiohttp==3.7.4 #60

@functionpointer

Description

@functionpointer

I am unable to install the opensprinkler integration on arch linux arm on a raspberry pi. I am running home-assistant core, version 2021.10.5-1.

I think it might be because home-assistant has aiohttp==3.7.4.post0 in its requirements.txt, which is not the same as aiohttp==3.7.4. Maybe this library should switch to aiohttp>=3.7.4? Or am i missing something entirely?

Oct 31 00:17:30 archpi hass[26410]: 2021-10-31 00:17:30 INFO (SyncWorker_1) [homeassistant.util.package] Attempting install of pyopensprinkler==0.7.1
Oct 31 00:17:46 archpi hass[26410]: 2021-10-31 00:17:46 ERROR (SyncWorker_1) [homeassistant.util.package] Unable to install package pyopensprinkler==0.7.1: ERROR: Could not find a version that satisfies the requirement aiohttp==3.7.4 (from pyopensprinkler)
Oct 31 00:17:46 archpi hass[26410]: ERROR: No matching distribution found for aiohttp==3.7.4
Oct 31 00:17:46 archpi hass[26410]: 2021-10-31 00:17:46 INFO (SyncWorker_2) [homeassistant.util.package] Attempting install of pyopensprinkler==0.7.1
Oct 31 00:18:01 archpi hass[26410]: 2021-10-31 00:18:01 ERROR (SyncWorker_2) [homeassistant.util.package] Unable to install package pyopensprinkler==0.7.1: ERROR: Could not find a version that satisfies the requirement aiohttp==3.7.4 (from pyopensprinkler)
Oct 31 00:18:01 archpi hass[26410]: ERROR: No matching distribution found for aiohttp==3.7.4
Oct 31 00:18:01 archpi hass[26410]: 2021-10-31 00:18:01 INFO (SyncWorker_3) [homeassistant.util.package] Attempting install of pyopensprinkler==0.7.1
Oct 31 00:18:17 archpi hass[26410]: 2021-10-31 00:18:17 ERROR (SyncWorker_3) [homeassistant.util.package] Unable to install package pyopensprinkler==0.7.1: ERROR: Could not find a version that satisfies the requirement aiohttp==3.7.4 (from pyopensprinkler)
Oct 31 00:18:17 archpi hass[26410]: ERROR: No matching distribution found for aiohttp==3.7.4
Oct 31 00:18:17 archpi hass[26410]: 2021-10-31 00:18:17 ERROR (MainThread) [aiohttp.server] Error handling request
Oct 31 00:18:17 archpi hass[26410]: Traceback (most recent call last):
Oct 31 00:18:17 archpi hass[26410]:   File "/usr/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
Oct 31 00:18:17 archpi hass[26410]:     resp = await self._request_handler(request)
Oct 31 00:18:17 archpi hass[26410]:   File "/usr/lib/python3.9/site-packages/aiohttp/web_app.py", line 499, in _handle
Oct 31 00:18:17 archpi hass[26410]:     resp = await handler(request)
Oct 31 00:18:17 archpi hass[26410]:   File "/usr/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 119, in impl
Oct 31 00:18:17 archpi hass[26410]:     return await handler(request)
Oct 31 00:18:17 archpi hass[26410]:   File "/usr/lib/python3.9/site-packages/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
Oct 31 00:18:17 archpi hass[26410]:     return await handler(request)
Oct 31 00:18:17 archpi hass[26410]:   File "/usr/lib/python3.9/site-packages/homeassistant/components/http/forwarded.py", line 98, in forwarded_middleware
Oct 31 00:18:17 archpi hass[26410]:     return await handler(request)
Oct 31 00:18:17 archpi hass[26410]:   File "/usr/lib/python3.9/site-packages/homeassistant/components/http/request_context.py", line 24, in request_context_middleware
Oct 31 00:18:17 archpi hass[26410]:     return await handler(request)
Oct 31 00:18:17 archpi hass[26410]:   File "/usr/lib/python3.9/site-packages/homeassistant/components/http/ban.py", line 78, in ban_middleware
Oct 31 00:18:17 archpi hass[26410]:     return await handler(request)
Oct 31 00:18:17 archpi hass[26410]:   File "/usr/lib/python3.9/site-packages/homeassistant/components/http/auth.py", line 144, in auth_middleware
Oct 31 00:18:17 archpi hass[26410]:     return await handler(request)
Oct 31 00:18:17 archpi hass[26410]:   File "/usr/lib/python3.9/site-packages/homeassistant/components/http/view.py", line 136, in handle
Oct 31 00:18:17 archpi hass[26410]:     result = await result
Oct 31 00:18:17 archpi hass[26410]:   File "/usr/lib/python3.9/site-packages/homeassistant/components/config/config_entries.py", line 130, in post
Oct 31 00:18:17 archpi hass[26410]:     return await super().post(request)
Oct 31 00:18:17 archpi hass[26410]:   File "/usr/lib/python3.9/site-packages/homeassistant/components/http/data_validator.py", line 62, in wrapper
Oct 31 00:18:17 archpi hass[26410]:     result = await method(view, request, *args, **kwargs)
Oct 31 00:18:17 archpi hass[26410]:   File "/usr/lib/python3.9/site-packages/homeassistant/helpers/data_entry_flow.py", line 72, in post
Oct 31 00:18:17 archpi hass[26410]:     result = await self._flow_mgr.async_init(
Oct 31 00:18:17 archpi hass[26410]:   File "/usr/lib/python3.9/site-packages/homeassistant/data_entry_flow.py", line 151, in async_init
Oct 31 00:18:17 archpi hass[26410]:     flow, result = await task
Oct 31 00:18:17 archpi hass[26410]:   File "/usr/lib/python3.9/site-packages/homeassistant/data_entry_flow.py", line 169, in _async_init
Oct 31 00:18:17 archpi hass[26410]:     flow = await self.async_create_flow(handler, context=context, data=data)
Oct 31 00:18:17 archpi hass[26410]:   File "/usr/lib/python3.9/site-packages/homeassistant/config_entries.py", line 706, in async_create_flow
Oct 31 00:18:17 archpi hass[26410]:     await async_process_deps_reqs(self.hass, self._hass_config, integration)
Oct 31 00:18:17 archpi hass[26410]:   File "/usr/lib/python3.9/site-packages/homeassistant/setup.py", line 378, in async_process_deps_reqs
Oct 31 00:18:17 archpi hass[26410]:     await requirements.async_get_integration_with_requirements(
Oct 31 00:18:17 archpi hass[26410]:   File "/usr/lib/python3.9/site-packages/homeassistant/requirements.py", line 88, in async_get_integration_with_requirements
Oct 31 00:18:17 archpi hass[26410]:     await _async_process_integration(hass, integration, done)
Oct 31 00:18:17 archpi hass[26410]:   File "/usr/lib/python3.9/site-packages/homeassistant/requirements.py", line 104, in _async_process_integration
Oct 31 00:18:17 archpi hass[26410]:     await async_process_requirements(
Oct 31 00:18:17 archpi hass[26410]:   File "/usr/lib/python3.9/site-packages/homeassistant/requirements.py", line 168, in async_process_requirements
Oct 31 00:18:17 archpi hass[26410]:     await _async_process_requirements(
Oct 31 00:18:17 archpi hass[26410]:   File "/usr/lib/python3.9/site-packages/homeassistant/requirements.py", line 200, in _async_process_requirements
Oct 31 00:18:17 archpi hass[26410]:     raise RequirementsNotFound(name, [req])
Oct 31 00:18:17 archpi hass[26410]: homeassistant.requirements.RequirementsNotFound: Requirements for opensprinkler not found: ['pyopensprinkler==0.7.1'].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions