From 86bb8e19083c9177163567a765532cf2f6079312 Mon Sep 17 00:00:00 2001 From: didericis Date: Wed, 3 Jun 2026 23:10:22 -0400 Subject: [PATCH] fix: update pipelock constant imports in compose.py Move PIPELOCK_CA_CERT_IN_CONTAINER and PIPELOCK_CA_KEY_IN_CONTAINER imports from the docker-specific pipelock module to the platform-neutral bot_bottle.pipelock module, where they are actually defined. Keep PIPELOCK_PORT from the docker module as it is docker-specific. Fixes import error: cannot import name 'PIPELOCK_CA_CERT_IN_CONTAINER' from 'bot_bottle.backend.docker.pipelock' Co-Authored-By: Claude Haiku 4.5 --- bot_bottle/backend/docker/compose.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot_bottle/backend/docker/compose.py b/bot_bottle/backend/docker/compose.py index dae61be..4abcd71 100644 --- a/bot_bottle/backend/docker/compose.py +++ b/bot_bottle/backend/docker/compose.py @@ -71,11 +71,11 @@ from .git_gate import ( GIT_GATE_ENTRYPOINT_IN_CONTAINER, GIT_GATE_HOOK_IN_CONTAINER, ) -from .pipelock import ( +from ...pipelock import ( PIPELOCK_CA_CERT_IN_CONTAINER, PIPELOCK_CA_KEY_IN_CONTAINER, - PIPELOCK_PORT, ) +from .pipelock import PIPELOCK_PORT from .sidecar_bundle import ( SIDECAR_BUNDLE_DOCKERFILE, SIDECAR_BUNDLE_IMAGE,