diff --git a/docker/Dockerfile b/docker/Dockerfile index 6da5c52d64..ee375ba690 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -33,9 +33,9 @@ RUN \ python3-venv=3.11.2-1+b1 \ python3-wheel=0.38.4-2 \ iputils-ping=3:20221126-1+deb12u1 \ - git=1:2.39.5-0+deb12u1 \ - curl=7.88.1-10+deb12u8 \ - openssh-client=1:9.2p1-2+deb12u4 \ + git=1:2.39.5-0+deb12u2 \ + curl=7.88.1-10+deb12u12 \ + openssh-client=1:9.2p1-2+deb12u5 \ python3-cffi=1.15.1-5 \ libcairo2=1.16.0-7 \ libmagic1=1:5.44-3 \ @@ -76,7 +76,7 @@ BUILD_DEPS=" python3-dev=3.11.2-1+b1 zlib1g-dev=1:1.2.13.dfsg-1 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 libffi-dev=3.4.4-1 cargo=0.66.0+ds1-1 @@ -84,7 +84,7 @@ BUILD_DEPS=" " LIB_DEPS=" libtiff6=4.5.0-6+deb12u1 - libopenjp2-7=2.5.0-2 + libopenjp2-7=2.5.0-2+deb12u1 " if [ "$TARGETARCH$TARGETVARIANT" = "arm64" ] then @@ -160,7 +160,7 @@ RUN \ apt-get update \ # Use pinned versions so that we get updates with build caching && apt-get install -y --no-install-recommends \ - nginx-light=1.22.1-9 \ + nginx-light=1.22.1-9+deb12u1 \ && rm -rf \ /tmp/* \ /var/{cache,log}/* \ diff --git a/esphome/const.py b/esphome/const.py index 6ca49bf8a6..5fa89cd38c 100644 --- a/esphome/const.py +++ b/esphome/const.py @@ -1,6 +1,6 @@ """Constants used by esphome.""" -__version__ = "2025.3.0b3" +__version__ = "2025.3.0b4" ALLOWED_NAME_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789-_" VALID_SUBSTITUTIONS_CHARACTERS = ( diff --git a/esphome/core/config.py b/esphome/core/config.py index 359b78acf1..f2b8585143 100644 --- a/esphome/core/config.py +++ b/esphome/core/config.py @@ -189,10 +189,11 @@ def _is_target_platform(name): from esphome.loader import get_component try: - if get_component(name, True).is_target_platform: - return True + return get_component(name, True).is_target_platform except KeyError: pass + except ImportError: + pass return False