From ecc3118bc77519ad0bafafd63da08021ee92a754 Mon Sep 17 00:00:00 2001 From: Daniel McKnight <34697904+NeonDaniel@users.noreply.github.com> Date: Tue, 11 Feb 2025 15:22:36 -0800 Subject: [PATCH] Deprecate `PIDLock` initialization (#65) Resolve Dockerfile warnings --- Dockerfile | 6 +++--- neon_gui/__main__.py | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 717c528..4795207 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,9 +3,9 @@ FROM python:3.10-slim LABEL vendor=neon.ai \ ai.neon.name="neon-gui" -ENV OVOS_CONFIG_BASE_FOLDER neon -ENV OVOS_CONFIG_FILENAME neon.yaml -ENV XDG_CONFIG_HOME /config +ENV OVOS_CONFIG_BASE_FOLDER=neon +ENV OVOS_CONFIG_FILENAME=neon.yaml +ENV XDG_CONFIG_HOME=/config EXPOSE 18181 diff --git a/neon_gui/__main__.py b/neon_gui/__main__.py index 94c887a..c18d501 100644 --- a/neon_gui/__main__.py +++ b/neon_gui/__main__.py @@ -31,14 +31,13 @@ from neon_gui.service import NeonGUIService from neon_utils.log_utils import init_log from neon_utils.process_utils import start_malloc, snapshot_malloc, print_malloc -from ovos_utils.process_utils import reset_sigint_handler, PIDLock +from ovos_utils.process_utils import reset_sigint_handler def main(*args, **kwargs): init_log(log_name="gui") malloc_running = start_malloc(stack_depth=4) reset_sigint_handler() - PIDLock("gui") gui = NeonGUIService(*args, **kwargs) gui.start()