mirror of https://github.com/home-assistant/core
Use legacy pip resolver in machine builds (#66094)
This commit is contained in:
parent
a7fd477c64
commit
1bc82e2f85
|
@ -7,7 +7,8 @@ RUN apk --no-cache add \
|
||||||
usbutils \
|
usbutils \
|
||||||
&& sed -i "s|# RPi.GPIO|RPi.GPIO|g" /usr/src/homeassistant/requirements_all.txt \
|
&& 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}" \
|
&& 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.
|
# Set symlinks for raspberry pi camera binaries.
|
||||||
|
|
|
@ -7,7 +7,8 @@ RUN apk --no-cache add \
|
||||||
usbutils \
|
usbutils \
|
||||||
&& sed -i "s|# RPi.GPIO|RPi.GPIO|g" /usr/src/homeassistant/requirements_all.txt \
|
&& 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}" \
|
&& 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.
|
# Set symlinks for raspberry pi binaries.
|
||||||
|
|
|
@ -7,7 +7,8 @@ RUN apk --no-cache add \
|
||||||
usbutils \
|
usbutils \
|
||||||
&& sed -i "s|# RPi.GPIO|RPi.GPIO|g" /usr/src/homeassistant/requirements_all.txt \
|
&& 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}" \
|
&& 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.
|
# Set symlinks for raspberry pi binaries.
|
||||||
|
|
|
@ -7,7 +7,8 @@ RUN apk --no-cache add \
|
||||||
usbutils \
|
usbutils \
|
||||||
&& sed -i "s|# RPi.GPIO|RPi.GPIO|g" /usr/src/homeassistant/requirements_all.txt \
|
&& 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}" \
|
&& 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.
|
# Set symlinks for raspberry pi binaries.
|
||||||
|
|
|
@ -7,7 +7,8 @@ RUN apk --no-cache add \
|
||||||
usbutils \
|
usbutils \
|
||||||
&& sed -i "s|# RPi.GPIO|RPi.GPIO|g" /usr/src/homeassistant/requirements_all.txt \
|
&& 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}" \
|
&& 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.
|
# Set symlinks for raspberry pi binaries.
|
||||||
|
|
|
@ -7,7 +7,8 @@ RUN apk --no-cache add \
|
||||||
usbutils \
|
usbutils \
|
||||||
&& sed -i "s|# RPi.GPIO|RPi.GPIO|g" /usr/src/homeassistant/requirements_all.txt \
|
&& 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}" \
|
&& 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.
|
# Set symlinks for raspberry pi binaries.
|
||||||
|
|
|
@ -4,6 +4,7 @@ FROM homeassistant/armv7-homeassistant:$BUILD_VERSION
|
||||||
RUN apk --no-cache add usbutils \
|
RUN apk --no-cache add usbutils \
|
||||||
&& pip3 install --no-cache-dir --no-index --only-binary=:all: --find-links "${WHEELS_LINKS}" \
|
&& pip3 install --no-cache-dir --no-index --only-binary=:all: --find-links "${WHEELS_LINKS}" \
|
||||||
-c /usr/src/homeassistant/homeassistant/package_constraints.txt \
|
-c /usr/src/homeassistant/homeassistant/package_constraints.txt \
|
||||||
|
--use-deprecated=legacy-resolver \
|
||||||
bluepy \
|
bluepy \
|
||||||
pybluez \
|
pybluez \
|
||||||
pygatt[GATTTOOL]
|
pygatt[GATTTOOL]
|
||||||
|
|
Loading…
Reference in New Issue