Skip to content

feat: wire map2loop and loopstructural_visualisation into the workspace - #303

Open
lachlangrose wants to merge 1 commit into
split/03-map2loop-packagefrom
split/04-workspace-wiring
Open

feat: wire map2loop and loopstructural_visualisation into the workspace#303
lachlangrose wants to merge 1 commit into
split/03-map2loop-packagefrom
split/04-workspace-wiring

Conversation

@lachlangrose

Copy link
Copy Markdown
Member

Split out of #298 / #299. PR 4 of 9 in the stack — depends on #302, which depends on #301 and #300.

Wires the two new packages (added in #301, #302) into the root workspace: updates pyproject.toml, .github/workflows/packages.yml and pypi.yml, release-please-config.json / manifest, uv.lock, and adds a package import smoke test. This is the last PR in the "add map2loop + visualisation" line of the stack.

Completes Stage 4 (ROADMAP.md, outcomes 5/7) for map2loop and
loopstructural-visualisation, following on from the two ported packages
already merged in from agent worktrees (packages/map2loop,
packages/loopstructural_visualisation).

- Add both to [tool.uv.sources]; loopstructural_visualisation also needs
  LoopStructural = { workspace = true } since it depends on LoopStructural
  itself, which uv treats as an implicit workspace member once referenced
  by name.
- CI: loopstructural_visualisation joins the existing packages-test matrix;
  map2loop gets its own ubuntu-only job (map2loop-test) with an
  apt-installed libgdal, since GDAL has no pip wheel on Windows/macOS and
  upstream map2loop itself only tests via conda for the same reason.
- Add a minimal import-smoke test for loopstructural_visualisation, which
  shipped with zero test coverage upstream.
- Wire both into pypi.yml sdist/publish, release-please-config.json +
  .release-please-manifest.json (loopstructural_visualisation uses
  extra-files to bump version.py's __version__, since it has no static
  pyproject version field), and grandfather D/ANN ruff rules for both
  (matching the loop_common/loop_interpolation precedent).
- Correct ROADMAP.md: loopresources (Stage 4a) was never actually merged
  to master, despite a prior status-log entry claiming otherwise.

Verified: uv sync resolves cleanly for both packages standalone and as a
full workspace sync; tests/unit 695 passed/4 skipped (zero regressions).

(cherry picked from commit ce71cae)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant