From 47d4928d62ac56825fae6a1b76f438c80a2bac2a Mon Sep 17 00:00:00 2001
From: Pascal Vizeli <pvizeli@syshack.ch>
Date: Thu, 13 May 2021 19:35:58 +0200
Subject: [PATCH] Revert "Use requirements for constraints" (#50576)

This reverts commit 136b34af20588f101d6ef11c53a4df6377536151.
---
 .github/workflows/wheels.yml | 2 +-
 Dockerfile                   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index 796b4b2c219..93d2827fc51 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -162,6 +162,6 @@ jobs:
           apk: "build-base;cmake;git;linux-headers;libexecinfo-dev;bluez-dev;libffi-dev;openssl-dev;glib-dev;eudev-dev;libxml2-dev;libxslt-dev;libpng-dev;libjpeg-turbo-dev;tiff-dev;autoconf;automake;cups-dev;gmp-dev;mpfr-dev;mpc1-dev;ffmpeg-dev;gammu-dev"
           pip: "Cython;numpy;scikit-build"
           skip-binary: aiohttp
-          constraints: "requirements_all.txt"
+          constraints: "homeassistant/package_constraints.txt"
           requirements-diff: 'requirements_diff.txt'
           requirements: "requirements_all.txt"
diff --git a/Dockerfile b/Dockerfile
index dcf3c9979d5..6bcb080a06e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -11,7 +11,7 @@ WORKDIR /usr/src
 COPY . homeassistant/
 RUN \
     pip3 install --no-cache-dir --no-index --only-binary=:all: --find-links "${WHEELS_LINKS}" \
-    -r homeassistant/requirements_all.txt -c homeassistant/requirements_all.txt \
+    -r homeassistant/requirements_all.txt \
     && pip3 install --no-cache-dir --no-index --only-binary=:all: --find-links "${WHEELS_LINKS}" \
     -e ./homeassistant \
     && python3 -m compileall homeassistant/homeassistant
-- 
GitLab