1
0
mirror of https://github.com/home-assistant/core synced 2024-07-08 20:17:01 +00:00

Set uvloop version consistent with hass.io (#21080)

This sets the uvloop version in Docker containers to 0.11.3, which is the
same version that hass.io uses.

uvloop might be causing issues with some Docker containers on some host
systems, as reported in #20829
This commit is contained in:
Phil Hawthorne 2019-02-16 05:25:03 +11:00 committed by Paulus Schoutsen
parent 3a6a246746
commit 9203ae201f
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ COPY requirements_all.txt requirements_all.txt
# Uninstall enum34 because some dependencies install it but breaks Python 3.4+.
# See PR #8103 for more info.
RUN pip3 install --no-cache-dir -r requirements_all.txt && \
pip3 install --no-cache-dir mysqlclient psycopg2 uvloop cchardet cython tensorflow
pip3 install --no-cache-dir mysqlclient psycopg2 uvloop==0.11.3 cchardet cython tensorflow
# Copy source
COPY . .

View File

@ -29,7 +29,7 @@ COPY requirements_all.txt requirements_all.txt
# Uninstall enum34 because some dependencies install it but breaks Python 3.4+.
# See PR #8103 for more info.
RUN pip3 install --no-cache-dir -r requirements_all.txt && \
pip3 install --no-cache-dir mysqlclient psycopg2 uvloop cchardet cython
pip3 install --no-cache-dir mysqlclient psycopg2 uvloop==0.11.3 cchardet cython
# BEGIN: Development additions