mirror of
https://github.com/esphome/esphome.git
synced 2025-03-22 10:38:15 +00:00
commit
54e3153f27
@ -33,9 +33,9 @@ RUN \
|
|||||||
python3-venv=3.11.2-1+b1 \
|
python3-venv=3.11.2-1+b1 \
|
||||||
python3-wheel=0.38.4-2 \
|
python3-wheel=0.38.4-2 \
|
||||||
iputils-ping=3:20221126-1+deb12u1 \
|
iputils-ping=3:20221126-1+deb12u1 \
|
||||||
git=1:2.39.5-0+deb12u1 \
|
git=1:2.39.5-0+deb12u2 \
|
||||||
curl=7.88.1-10+deb12u8 \
|
curl=7.88.1-10+deb12u12 \
|
||||||
openssh-client=1:9.2p1-2+deb12u4 \
|
openssh-client=1:9.2p1-2+deb12u5 \
|
||||||
python3-cffi=1.15.1-5 \
|
python3-cffi=1.15.1-5 \
|
||||||
libcairo2=1.16.0-7 \
|
libcairo2=1.16.0-7 \
|
||||||
libmagic1=1:5.44-3 \
|
libmagic1=1:5.44-3 \
|
||||||
@ -76,7 +76,7 @@ BUILD_DEPS="
|
|||||||
python3-dev=3.11.2-1+b1
|
python3-dev=3.11.2-1+b1
|
||||||
zlib1g-dev=1:1.2.13.dfsg-1
|
zlib1g-dev=1:1.2.13.dfsg-1
|
||||||
libjpeg-dev=1:2.1.5-2
|
libjpeg-dev=1:2.1.5-2
|
||||||
libfreetype-dev=2.12.1+dfsg-5+deb12u3
|
libfreetype-dev=2.12.1+dfsg-5+deb12u4
|
||||||
libssl-dev=3.0.15-1~deb12u1
|
libssl-dev=3.0.15-1~deb12u1
|
||||||
libffi-dev=3.4.4-1
|
libffi-dev=3.4.4-1
|
||||||
cargo=0.66.0+ds1-1
|
cargo=0.66.0+ds1-1
|
||||||
@ -84,7 +84,7 @@ BUILD_DEPS="
|
|||||||
"
|
"
|
||||||
LIB_DEPS="
|
LIB_DEPS="
|
||||||
libtiff6=4.5.0-6+deb12u1
|
libtiff6=4.5.0-6+deb12u1
|
||||||
libopenjp2-7=2.5.0-2
|
libopenjp2-7=2.5.0-2+deb12u1
|
||||||
"
|
"
|
||||||
if [ "$TARGETARCH$TARGETVARIANT" = "arm64" ]
|
if [ "$TARGETARCH$TARGETVARIANT" = "arm64" ]
|
||||||
then
|
then
|
||||||
@ -160,7 +160,7 @@ RUN \
|
|||||||
apt-get update \
|
apt-get update \
|
||||||
# Use pinned versions so that we get updates with build caching
|
# Use pinned versions so that we get updates with build caching
|
||||||
&& apt-get install -y --no-install-recommends \
|
&& apt-get install -y --no-install-recommends \
|
||||||
nginx-light=1.22.1-9 \
|
nginx-light=1.22.1-9+deb12u1 \
|
||||||
&& rm -rf \
|
&& rm -rf \
|
||||||
/tmp/* \
|
/tmp/* \
|
||||||
/var/{cache,log}/* \
|
/var/{cache,log}/* \
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"""Constants used by esphome."""
|
"""Constants used by esphome."""
|
||||||
|
|
||||||
__version__ = "2025.3.0b3"
|
__version__ = "2025.3.0b4"
|
||||||
|
|
||||||
ALLOWED_NAME_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789-_"
|
ALLOWED_NAME_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789-_"
|
||||||
VALID_SUBSTITUTIONS_CHARACTERS = (
|
VALID_SUBSTITUTIONS_CHARACTERS = (
|
||||||
|
@ -189,10 +189,11 @@ def _is_target_platform(name):
|
|||||||
from esphome.loader import get_component
|
from esphome.loader import get_component
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if get_component(name, True).is_target_platform:
|
return get_component(name, True).is_target_platform
|
||||||
return True
|
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user