Skip to content

Commit 69434f9

Browse files
committed
Merge branch 'dev'
2 parents 17a7679 + 7ad43c3 commit 69434f9

21 files changed

+410
-159
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ COPY ./requirements.txt /usr/src/app/
3838
# Save the pip cache with docker mount: https://docs.docker.com/build/cache/#keep-layers-small
3939
# (specify the architecture in the cache id, otherwise the pip cache of different architectures will conflict)
4040
RUN --mount=type=cache,id=pip-${TARGETARCH}-${TARGETVARIANT},sharing=locked,target=/root/.cache/pip \
41-
pip install -r /usr/src/app/requirements.txt
41+
pip install --disable-pip-version-check -r /usr/src/app/requirements.txt
4242

4343
###################################
4444
# Runtime image
@@ -58,7 +58,7 @@ RUN --mount=type=cache,id=pip-${TARGETARCH}-${TARGETVARIANT},sharing=locked,targ
5858
# Mount the project directory containing the built Python package, so it is available for pip install inside the container
5959
--mount=type=bind,source=./dist/,target=/usr/src/app/ \
6060
# Install the package
61-
pip install *.whl
61+
pip --disable-pip-version-check install *.whl
6262

6363
# Copy sample configuration directory and entrypoint script
6464
COPY ./conf ./conf

appdaemon/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def run(self, ad_config_model: AppDaemonConfig, *args, http):
124124
self.logger.info("Running AD using uvloop")
125125
uvloop.install()
126126

127-
loop: asyncio.BaseEventLoop = asyncio.new_event_loop()
127+
loop: asyncio.AbstractEventLoop = asyncio.new_event_loop()
128128

129129
# Initialize AppDaemon
130130

0 commit comments

Comments
 (0)