Homeassistant-0.61.1 breaks config

I am getting the following errors (it works with homeassistant-0.61.0):

/srv/hass/bin/hass --script check_config
2018-01-17 22:04:17 INFO (Thread-2) [homeassistant.config] Upgrading configuration directory from 0.60.0 to 0.61.1
2018-01-17 22:04:17 INFO (Thread-2) [homeassistant.config] Migrating old system configuration files to new locations
2018-01-17 22:04:18 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.history. Make sure all dependencies are installed
Traceback (most recent call last):
File “/srv/hass/lib/python3.5/site-packages/homeassistant/loader.py”, line 142, in get_component
module = importlib.import_module(path)
File “/usr/lib/python3.5/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 986, in _gcd_import
File “”, line 969, in _find_and_load
File “”, line 958, in _find_and_load_unlocked
File “”, line 673, in _load_unlocked
File “”, line 673, in exec_module
File “”, line 222, in _call_with_frames_removed
File “/srv/hass/lib/python3.5/site-packages/homeassistant/components/history.py”, line 20, in
from homeassistant.components.http import HomeAssistantView
File “/srv/hass/lib/python3.5/site-packages/homeassistant/components/http/init.py”, line 35, in
from .static import (
File “/srv/hass/lib/python3.5/site-packages/homeassistant/components/http/static.py”, line 9, in
from yarl import unquote
ImportError: cannot import name ‘unquote’

- Setup failed for frontend: Component not found.
- Component not found: config
- Setup failed for config: Component not found.
- Component not found: http
- Setup failed for http: Component not found.
- Component not found: automation
- Setup failed for automation: Component not found.
- Component not found: google_assistant
- Setup failed for google_assistant: Component not found.
- Component not found: logbook
- Setup failed for logbook: Component not found.
- Component not found: conversation
- Setup failed for conversation: Component not found.
- Component not found: tts
- Setup failed for tts: Component not found.
- Component not found: input_select
- Setup failed for input_select: Component not found.
- Component not found: device_tracker
- Setup failed for device_tracker: Component not found.
- Component not found: scene
- Setup failed for scene: Component not found.

Successful config (partial)

Some relevant parts of the config:

001 config:

003 homeassistant:

172 # Enables the frontend
173 frontend:
174

186 # Checks for available updates
187 updater:
188
189 # Discover some devices automatically
190 discovery:
191
192 # Allows you to issue voice commands from the frontend in enabled browsers
193 conversation:
194
195 # Enables support for tracking state changes over time.
196 history:
197
198 # View all events in a logbook
199 logbook:
200
201 # Track the sun
202 sun:
203

Config snippets would help here

I added something that might be relevant. But I think it’s a pretty standard config.

Hmmm, looking at the logs, it looks like there is the attempt of converting the old config to the new one. Apparently that fails.

Try upgrading 0.61.1 and apply history fix use_include_order

Unfortunately use_include_order didnt’ help.

I upgraded to python 3.6.4 but that didn’t fix the problem either.

I had to explicitly do: pip install yarl