Release 0.40.2

This commit is contained in:
Paulus Schoutsen 2017-03-22 09:32:22 -07:00
parent 5b8740a872
commit 829004fd0b
3 changed files with 38 additions and 3 deletions

View File

@ -139,9 +139,9 @@ social:
# Home Assistant release details
current_major_version: 0
current_minor_version: 40
current_patch_version: 1
date_released: 2017-03-16
current_patch_version: 2
date_released: 2017-03-22
# Either # or the anchor link to latest release notes in the blog post.
# Must be prefixed with a # and have double quotes around it.
patch_version_notes: "#release-0401---march-16"
patch_version_notes: "#release-0402---march-22"

View File

@ -81,6 +81,13 @@ Experiencing issues introduced by this release? Please report them in our [issue
- Fix Osram Lightify colors ([@deisi] - [#6598])
- Bugfix RFLINK remove group ([@pvizeli] - [#6580])
### {% linkable_title Release 0.40.2 - March 22 %}
Hot fix release to fix dependency issues. More detailed information about the issue in [this blog post](/blog/2017/03/22/broken-dependencies/).
- Prevent dependencies that are installed on demand from installing different versions of core dependencies ([@balloob] - [#6738])
- Upgrade PyChromecast to silent some benign errors ([@balloob] - [#6702])
<!--more-->
## All changes
@ -320,3 +327,5 @@ Experiencing issues introduced by this release? Please report them in our [issue
[@goofz]: https://github.com/goofz
[@iamtpage]: https://github.com/iamtpage
[@jnewland]: https://github.com/jnewland
[#6702]: https://github.com/home-assistant/home-assistant/pull/6702
[#6738]: https://github.com/home-assistant/home-assistant/pull/6738

View File

@ -0,0 +1,26 @@
---
layout: post
title: "0.40.2 and broken dependencies"
description: "Due to a bug in our dependency installation, some older versions can get into a broken state."
date: 2017-03-22 08:04:05 +0000
date_formatted: "March 22, 2017"
author: Paulus Schoutsen
author_twitter: balloob
comments: true
categories: Release-Notes
---
TL; DR: We have just released version 0.40.2 that includes a fix related to the installation of dependencies.
Some users in the last few days have been reporting that their Home Assistant installation fails to start with an error in the http component:
```
ImportError: No module named 'aiohttp.file_sender'
```
The problem is that Home Assistant did not handle the case where a dependency would want to install a core dependency of Home Assistant that is newer than what Home Assistant works with. For now, we have identified the following two components that can cause this issue:
- AppleTV (0.38+)
- Android IP Webcam (0.40+)
This issue has been resolved by 0.40.2. If you are on an impacted version and cannot upgrade to the latest version just yet, a temporary workaround will be to remove the `<config dir>/deps` directory and stop using the above mentioned integrations. In the case of AppleTV, you will also have to disable the discovery component to prevent it from being auto-detected.