From a2fb10a14e03ddd885064eafe7837cfd3a34b48e Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Fri, 8 Mar 2019 08:24:30 -0800 Subject: [PATCH] Colorlog is a dependency of the check_config script (#535) * Colorlog is a dependency of the check_config script * Update build.json * Update Dockerfile * Update config.json * Update CHANGELOG.md * Update config.json --- check_config/CHANGELOG.md | 4 ++++ check_config/Dockerfile | 4 ++-- check_config/build.json | 9 +++++---- check_config/config.json | 4 ++-- 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/check_config/CHANGELOG.md b/check_config/CHANGELOG.md index 157c9ef..7f3f41f 100644 --- a/check_config/CHANGELOG.md +++ b/check_config/CHANGELOG.md @@ -1,4 +1,8 @@ # Changelog +## 1.0 +- Update to Python 3.7 +- Add colorlog to pip packages + ## 0.9 - Fix build errors with 0.76 diff --git a/check_config/Dockerfile b/check_config/Dockerfile index 14048ad..ba850d0 100644 --- a/check_config/Dockerfile +++ b/check_config/Dockerfile @@ -4,8 +4,8 @@ FROM $BUILD_FROM # Setup base RUN apk add --no-cache \ jq gcc \ - libffi-dev libressl-dev musl-dev \ - && pip3 install --no-cache --upgrade pip + libffi-dev openssl-dev musl-dev \ + && pip3 install --no-cache --upgrade pip colorlog # Copy data COPY run.sh / diff --git a/check_config/build.json b/check_config/build.json index a90fea1..8121a49 100644 --- a/check_config/build.json +++ b/check_config/build.json @@ -1,8 +1,9 @@ { "build_from": { - "amd64": "homeassistant/amd64-base-python:3.6", - "i386": "homeassistant/i386-base-python:3.6", - "armhf": "homeassistant/armhf-base-python:3.6", - "aarch64": "homeassistant/aarch64-base-python:3.6" + "amd64": "homeassistant/amd64-base-python:3.7", + "i386": "homeassistant/i386-base-python:3.7", + "armhf": "homeassistant/armhf-base-python:3.7", + "armv7": "homeassistant/armv7-base-python:3.7", + "aarch64": "homeassistant/aarch64-base-python:3.7" } } diff --git a/check_config/config.json b/check_config/config.json index 8c3eb11..937d3b5 100644 --- a/check_config/config.json +++ b/check_config/config.json @@ -1,10 +1,10 @@ { "name": "Check Home Assistant configuration", - "version": "0.9", + "version": "1.0", "slug": "check_config", "description": "Check current Home Assistant configuration against a new version", "url": "https://home-assistant.io/addons/check_config/", - "arch": ["armhf", "aarch64", "amd64", "i386"], + "arch": ["armhf", "armv7", "aarch64", "amd64", "i386"], "startup": "once", "boot": "manual", "map": ["config", "ssl"],