Skip to content

Commit 829004f

Browse files
committed
Release 0.40.2
1 parent 5b8740a commit 829004f

3 files changed

+38
-3
lines changed

_config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ social:
139139
# Home Assistant release details
140140
current_major_version: 0
141141
current_minor_version: 40
142-
current_patch_version: 1
143-
date_released: 2017-03-16
142+
current_patch_version: 2
143+
date_released: 2017-03-22
144144

145145
# Either # or the anchor link to latest release notes in the blog post.
146146
# Must be prefixed with a # and have double quotes around it.
147-
patch_version_notes: "#release-0401---march-16"
147+
patch_version_notes: "#release-0402---march-22"

source/_posts/2017-03-11-repurpose-any-android-phone-as-ip-camera.markdown

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,13 @@ Experiencing issues introduced by this release? Please report them in our [issue
8181
- Fix Osram Lightify colors ([@deisi] - [#6598])
8282
- Bugfix RFLINK remove group ([@pvizeli] - [#6580])
8383

84+
### {% linkable_title Release 0.40.2 - March 22 %}
85+
86+
Hot fix release to fix dependency issues. More detailed information about the issue in [this blog post](/blog/2017/03/22/broken-dependencies/).
87+
88+
- Prevent dependencies that are installed on demand from installing different versions of core dependencies ([@balloob] - [#6738])
89+
- Upgrade PyChromecast to silent some benign errors ([@balloob] - [#6702])
90+
8491
<!--more-->
8592

8693
## All changes
@@ -320,3 +327,5 @@ Experiencing issues introduced by this release? Please report them in our [issue
320327
[@goofz]: https://github.com/goofz
321328
[@iamtpage]: https://github.com/iamtpage
322329
[@jnewland]: https://github.com/jnewland
330+
[#6702]: https://github.com/home-assistant/home-assistant/pull/6702
331+
[#6738]: https://github.com/home-assistant/home-assistant/pull/6738
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
layout: post
3+
title: "0.40.2 and broken dependencies"
4+
description: "Due to a bug in our dependency installation, some older versions can get into a broken state."
5+
date: 2017-03-22 08:04:05 +0000
6+
date_formatted: "March 22, 2017"
7+
author: Paulus Schoutsen
8+
author_twitter: balloob
9+
comments: true
10+
categories: Release-Notes
11+
---
12+
13+
TL; DR: We have just released version 0.40.2 that includes a fix related to the installation of dependencies.
14+
15+
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:
16+
17+
```
18+
ImportError: No module named 'aiohttp.file_sender'
19+
```
20+
21+
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:
22+
23+
- AppleTV (0.38+)
24+
- Android IP Webcam (0.40+)
25+
26+
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.

0 commit comments

Comments
 (0)