Skip to content

refactor: move terratorch_iterate under src/claimed/iterate#326

Merged
romeokienzler merged 1 commit into
mainfrom
refactor/iterate-into-claimed
Jul 7, 2026
Merged

refactor: move terratorch_iterate under src/claimed/iterate#326
romeokienzler merged 1 commit into
mainfrom
refactor/iterate-into-claimed

Conversation

@romeokienzler

Copy link
Copy Markdown
Member

Summary

Relocates the bundled iterate sources from the top-level terratorch_iterate/ package into src/claimed/iterate/, so all first-party packages live under a single src/ root and the iterate code is namespaced under claimed.

Pure move + rename — no behavioral change.

Changes

  • git mv terratorch_iterate → src/claimed/iterate (tracked as renames)
  • Rewrite the import path terratorch_iterateclaimed.iterate across all Python sources and tests, and in the coordinator plugin loader's built-in module list
  • Console scripts: iterate / iterate-classic now point at claimed.iterate.iterate2:main / claimed.iterate.main:main
  • packages.find: drop the obsolete top-level terratorch_iterate* include; claimed.iterate is picked up by the existing claimed* rule under src/
  • CI: flake8 / pylint / docs-check path globs no longer reference terratorch_iterate/
  • Docs: mkdocstrings :::terratorch_iterate.* references → :::claimed.iterate.*

Verification

  • All iterate submodules import under claimed.iterate.*; setuptools discovers all 6 subpackages
  • Coordinator plugins load; iterate / iterate-classic entry points regenerate and run
  • 41 passed, 5 skipped across tests/unit + coordinator integration tests, including test_iterate2 (which shells out to the iterate command)
  • flake8 syntax/undefined-name gate: 0 errors

Note: the only remaining terratorch_iterate string in the tree is a filesystem path (/u/ltizzei/test_terratorch_iterate) inside a test config oracle — intentionally left as-is.

Relocate the bundled iterate sources from the top-level terratorch_iterate/
package into src/claimed/iterate/, so all first-party packages live under a
single src/ root and the iterate code is namespaced under claimed.

- git mv terratorch_iterate -> src/claimed/iterate
- rewrite the import path terratorch_iterate -> claimed.iterate across all
  Python sources and tests, and in the coordinator plugin loader's built-in
  module list
- console scripts: iterate / iterate-classic now point at
  claimed.iterate.iterate2:main / claimed.iterate.main:main
- packages.find: drop the obsolete top-level terratorch_iterate* include;
  claimed.iterate is picked up by the existing claimed* rule under src/
- CI: flake8/pylint/docs path globs no longer reference terratorch_iterate/
- docs: mkdocstrings ':::terratorch_iterate.*' references -> ':::claimed.iterate.*'

No behavioral change. Verified: all iterate submodules import, coordinator
plugins load, iterate/iterate-classic entry points run, and unit +
coordinator integration tests pass (test_iterate2 shell-out included).

Signed-off-by: Romeo Kienzler <romeo.kienzler1@ibm.com>
@romeokienzler romeokienzler merged commit 83f5bd9 into main Jul 7, 2026
10 checks passed
pull Bot pushed a commit to zongruxie4/component-library that referenced this pull request Jul 7, 2026
Release includes the database-backed job coordinator (claimed-framework#325) and the
relocation of the iterate sources to claimed.iterate (claimed-framework#326).

Signed-off-by: Romeo Kienzler <romeo.kienzler1@ibm.com>
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