While updating to home-assistant 0.42.3 from 0.41 I get errors installing the aiohttp package version 2.0.5.
Neither pip3 install --upgrade aiohttp==2.0.5
nor pip3 install aiohttp==2.0.5
is working.
This is the error I get:
Downloading/unpacking aiohttp==2.0.5
Downloading aiohttp-2.0.5.tar.gz (609kB): 609kB downloaded
Running setup.py (path:/tmp/pip-build-_7okt3o3/aiohttp/setup.py) egg_info for package aiohttp
Error compiling Cython file:
------------------------------------------------------------
...
from .http_writer import HttpVersion, HttpVersion10, HttpVersion11, URL
from .http_parser import RawRequestMessage, RawResponseMessage, DeflateBuffer
from .streams import EMPTY_PAYLOAD, FlowControlStreamReader
cimport cython
from . cimport _cparser as cparser
^
------------------------------------------------------------
aiohttp/_http_parser.pyx:22:0: 'aiohttp.' is not a valid module name
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip-build-_7okt3o3/aiohttp/setup.py", line 27, in <module>
extensions = cythonize(extensions)
File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 840, in cythonize
cythonize_one(*args[1:])
File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 959, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: aiohttp/_http_parser.pyx
missing cimport in module '.': aiohttp/_http_parser.pyx
Compiling aiohttp/_websocket.pyx because it changed.
Compiling aiohttp/_http_parser.pyx because it changed.
Cythonizing aiohttp/_http_parser.pyx
Complete output from command python setup.py egg_info:
Error compiling Cython file:
------------------------------------------------------------
...
from .http_writer import HttpVersion, HttpVersion10, HttpVersion11, URL
from .http_parser import RawRequestMessage, RawResponseMessage, DeflateBuffer
from .streams import EMPTY_PAYLOAD, FlowControlStreamReader
cimport cython
from . cimport _cparser as cparser
^
------------------------------------------------------------
aiohttp/_http_parser.pyx:22:0: 'aiohttp.' is not a valid module name
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip-build-_7okt3o3/aiohttp/setup.py", line 27, in <module>
extensions = cythonize(extensions)
File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 840, in cythonize
cythonize_one(*args[1:])
File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 959, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: aiohttp/_http_parser.pyx
missing cimport in module '.': aiohttp/_http_parser.pyx
Compiling aiohttp/_websocket.pyx because it changed.
Compiling aiohttp/_http_parser.pyx because it changed.
Cythonizing aiohttp/_http_parser.pyx
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-_7okt3o3/aiohttp
Storing debug log for failure in /home/homeassistant/.pip/pip.log