Use legacy pip resolver in machine builds (#66094)

This commit is contained in:
Franck Nijhof 2022-02-08 19:18:04 +01:00 committed by GitHub
parent a7fd477c64
commit 1bc82e2f85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 13 additions and 6 deletions

View File

@ -7,7 +7,8 @@ RUN apk --no-cache add \
usbutils \
&& sed -i "s|# RPi.GPIO|RPi.GPIO|g" /usr/src/homeassistant/requirements_all.txt \
&& pip3 install --no-cache-dir --no-index --only-binary=:all: --find-links "${WHEELS_LINKS}" \
RPi.GPIO -c /usr/src/homeassistant/requirements_all.txt
RPi.GPIO -c /usr/src/homeassistant/requirements_all.txt \
--use-deprecated=legacy-resolver
##
# Set symlinks for raspberry pi camera binaries.

View File

@ -7,7 +7,8 @@ RUN apk --no-cache add \
usbutils \
&& sed -i "s|# RPi.GPIO|RPi.GPIO|g" /usr/src/homeassistant/requirements_all.txt \
&& pip3 install --no-cache-dir --no-index --only-binary=:all: --find-links "${WHEELS_LINKS}" \
RPi.GPIO -c /usr/src/homeassistant/requirements_all.txt
RPi.GPIO -c /usr/src/homeassistant/requirements_all.txt \
--use-deprecated=legacy-resolver
##
# Set symlinks for raspberry pi binaries.

View File

@ -7,7 +7,8 @@ RUN apk --no-cache add \
usbutils \
&& sed -i "s|# RPi.GPIO|RPi.GPIO|g" /usr/src/homeassistant/requirements_all.txt \
&& pip3 install --no-cache-dir --no-index --only-binary=:all: --find-links "${WHEELS_LINKS}" \
RPi.GPIO bluepy pybluez -c /usr/src/homeassistant/requirements_all.txt
RPi.GPIO bluepy pybluez -c /usr/src/homeassistant/requirements_all.txt \
--use-deprecated=legacy-resolver
##
# Set symlinks for raspberry pi binaries.

View File

@ -7,7 +7,8 @@ RUN apk --no-cache add \
usbutils \
&& sed -i "s|# RPi.GPIO|RPi.GPIO|g" /usr/src/homeassistant/requirements_all.txt \
&& pip3 install --no-cache-dir --no-index --only-binary=:all: --find-links "${WHEELS_LINKS}" \
RPi.GPIO bluepy pybluez -c /usr/src/homeassistant/requirements_all.txt
RPi.GPIO bluepy pybluez -c /usr/src/homeassistant/requirements_all.txt \
--use-deprecated=legacy-resolver
##
# Set symlinks for raspberry pi binaries.

View File

@ -7,7 +7,8 @@ RUN apk --no-cache add \
usbutils \
&& sed -i "s|# RPi.GPIO|RPi.GPIO|g" /usr/src/homeassistant/requirements_all.txt \
&& pip3 install --no-cache-dir --no-index --only-binary=:all: --find-links "${WHEELS_LINKS}" \
RPi.GPIO bluepy pybluez -c /usr/src/homeassistant/requirements_all.txt
RPi.GPIO bluepy pybluez -c /usr/src/homeassistant/requirements_all.txt \
--use-deprecated=legacy-resolver
##
# Set symlinks for raspberry pi binaries.

View File

@ -7,7 +7,8 @@ RUN apk --no-cache add \
usbutils \
&& sed -i "s|# RPi.GPIO|RPi.GPIO|g" /usr/src/homeassistant/requirements_all.txt \
&& pip3 install --no-cache-dir --no-index --only-binary=:all: --find-links "${WHEELS_LINKS}" \
RPi.GPIO bluepy pybluez -c /usr/src/homeassistant/requirements_all.txt
RPi.GPIO bluepy pybluez -c /usr/src/homeassistant/requirements_all.txt \
--use-deprecated=legacy-resolver
##
# Set symlinks for raspberry pi binaries.

View File

@ -4,6 +4,7 @@ FROM homeassistant/armv7-homeassistant:$BUILD_VERSION
RUN apk --no-cache add usbutils \
&& pip3 install --no-cache-dir --no-index --only-binary=:all: --find-links "${WHEELS_LINKS}" \
-c /usr/src/homeassistant/homeassistant/package_constraints.txt \
--use-deprecated=legacy-resolver \
bluepy \
pybluez \
pygatt[GATTTOOL]