Skip to content

v2.28.7: Tier 2 batch 1 — collapse 7 re-export dirs

Choose a tag to compare

@ywatanabe1989 ywatanabe1989 released this 30 Apr 12:19
· 186 commits to main since this release
f2af0ea

Highlights

refactor(umbrella): collapse 7 pure re-export dirs into external pointers (#266)

The umbrella now binds these names directly to their top-level external packages, no src/scitex/<short>/ shim required:

Removed Now binds to
src/scitex/etc/ scitex_etc
src/scitex/gists/ scitex_gists
src/scitex/audit/ scitex_audit
src/scitex/compat/ scitex_compat
src/scitex/repro/ scitex_repro
src/scitex/app/ scitex_app
src/scitex/scholar/ scitex_scholar

Net diff: −2,783 / +46 lines. _LazyModule gained an external=... parameter, and the 7 names are eagerly registered in sys.modules so internal from scitex.repro import gen_ID and submodule paths like from scitex.scholar.jobs import JobManager continue to work without code changes.

Carryover

  • Tier 2 batch 2 candidates: dict, notebook, parallel, notification, audio, path, db, str, logging, browser, container — same pattern, several have test mirrors that need cleanup.