diff --git a/claude_bottle/network.py b/claude_bottle/platform/docker/network.py similarity index 99% rename from claude_bottle/network.py rename to claude_bottle/platform/docker/network.py index 2a60eb7..f6d1e68 100644 --- a/claude_bottle/network.py +++ b/claude_bottle/platform/docker/network.py @@ -16,7 +16,7 @@ from __future__ import annotations import subprocess -from .log import die, info, warn +from ...log import die, info, warn def network_name_for_slug(slug: str) -> str: diff --git a/claude_bottle/platform/docker/platform.py b/claude_bottle/platform/docker/platform.py index f4952b6..9434efa 100644 --- a/claude_bottle/platform/docker/platform.py +++ b/claude_bottle/platform/docker/platform.py @@ -17,13 +17,13 @@ from contextlib import contextmanager from pathlib import Path from typing import Iterator -from ... import network as network_mod from ... import pipelock from ... import skills as skills_mod from ... import ssh as ssh_mod from ...env_resolve import env_resolve from ...log import die, info from .. import BottleCleanupPlan, BottlePlan, BottlePlatform, BottleSpec +from . import network as network_mod from . import util as docker_mod from .bottle import DockerBottle from .bottle_cleanup_plan import DockerBottleCleanupPlan diff --git a/tests/test_orphan_cleanup.py b/tests/test_orphan_cleanup.py index 847f63b..3b9ae79 100644 --- a/tests/test_orphan_cleanup.py +++ b/tests/test_orphan_cleanup.py @@ -7,7 +7,7 @@ import os import subprocess import unittest -from claude_bottle.network import ( +from claude_bottle.platform.docker.network import ( network_create_egress, network_create_internal, network_remove,