Python sidecar Compose (index only) #4

Closed
opened 2026-08-13 14:05:47 +01:00 by eSlider · 3 comments
Owner

Why

Python remains for Ladybug write/index until the Go write path is safe. It must not sit in the API image.

Do

  • Compose profile index with current Python stage.
  • Go API never imports CPython. bin/tools/ emptied as ports land.

Test

  • docker compose config validates; API image has no docling/python search.
## Why Python remains for Ladybug write/index until the Go write path is safe. It must not sit in the API image. ## Do - Compose profile `index` with current Python stage. - Go API never imports CPython. `bin/tools/` emptied as ports land. ## Test - `docker compose` config validates; API image has no docling/python search.
Author
Owner

Inventory of remaining Python is #14. This issue stays the Compose index sidecar slice (step 5). Write path (kblib.upsert) is v2.

Inventory of remaining Python is https://git.produktor.io/eSlider/2dph/issues/14. This issue stays the Compose `index` sidecar slice (step 5). Write path (`kblib.upsert`) is v2.
Author
Owner

Blocked on how libladybug enters the image (lib-ladybug/ is gitignored). Until that is decided, the API image cannot drop CPython/cgo ladybug. Profile index can still be added as a Python-only sidecar once the API target exists.

Blocked on how `libladybug` enters the image (`lib-ladybug/` is gitignored). Until that is decided, the API image cannot drop CPython/cgo ladybug. Profile `index` can still be added as a Python-only sidecar once the API target exists.
Author
Owner

Done via GitHub https://github.com/eSlider/2dph/pull/24. CGO is Zig (bin/cgo/zcc), not gcc. Compose target: api has no CPython. Python rebuild is --profile index. liblbug is fetched at build time (pinned 0.19.1), not committed.

Done via GitHub https://github.com/eSlider/2dph/pull/24. CGO is Zig (`bin/cgo/zcc`), not gcc. Compose `target: api` has no CPython. Python rebuild is `--profile index`. liblbug is fetched at build time (pinned 0.19.1), not committed.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eSlider/2dph#4