From 8610f3da3c08126f231d23734dfa64e15f06eef5 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Wed, 14 Jul 2021 12:57:00 +1200 Subject: [PATCH 1/2] Fix logo (#1303) --- Dockerfile | 6 +++--- requirements.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index df93220a7..6c9bcfa57 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:slim +FROM python:3.8-slim RUN apt-get update && apt-get install -y --no-install-recommends \ curl \ @@ -9,8 +9,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ software-properties-common \ && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* -RUN pip3 install --no-cache-dir --no-binary :all: \ - sphinx +COPY requirements.txt . +RUN pip3 install --no-cache-dir --no-binary :all: -r requirements.txt EXPOSE 8000 WORKDIR /data/esphomedocs diff --git a/requirements.txt b/requirements.txt index d77eea84f..a20f2ded5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -sphinx>=1.8.4 +sphinx==4.0.3 From 35e6a583be05f9aa74c8801e3504de6c0b64a0bc Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Wed, 14 Jul 2021 21:21:09 +1200 Subject: [PATCH 2/2] Add a note about minimum python version (#1304) --- guides/getting_started_command_line.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/guides/getting_started_command_line.rst b/guides/getting_started_command_line.rst index 0be015669..7250e2409 100644 --- a/guides/getting_started_command_line.rst +++ b/guides/getting_started_command_line.rst @@ -16,6 +16,11 @@ Installing ESPHome is very easy. All you need to do is have `Python `__ installed and install the console script through ``pip3``. +.. note:: + + Python 3.7 or above is required to install ESPHome 1.18.0 or above. + + .. code-block:: bash pip3 install esphome