mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
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 \
|
||||
&& 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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user