chore: convert 12 explicit re-export shims → sys.modules-alias bridges#250
Open
ywatanabe1989 wants to merge 1 commit intodevelopfrom
Open
chore: convert 12 explicit re-export shims → sys.modules-alias bridges#250ywatanabe1989 wants to merge 1 commit intodevelopfrom
ywatanabe1989 wants to merge 1 commit intodevelopfrom
Conversation
For every scitex.X where scitex-X is already a separate published package and the umbrella's __init__.py only re-exports symbols, replace the explicit re-export list with the same sys.modules alias pattern used by all other extracted modules. Modules touched: audio, audit, etc, parallel, path, dict, types, gists, browser, repro, compat, str. Why this matters: - Explicit re-export lists silently drift whenever the standalone package adds a new public name — the umbrella has to re-publish to expose it. - sys.modules aliasing makes `scitex.X is scitex_X`, so every new symbol is automatically visible without scitex-python republishing. Verified for all 12: `scitex.<m> is scitex_<m>`. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
For every `scitex.X` where `scitex-X` is already a separate published package and the umbrella's `init.py` only re-exports symbols, replace the explicit re-export list with the standard `sys.modules` alias bridge.
Modules: `audio`, `audit`, `etc`, `parallel`, `path`, `dict`, `types`, `gists`, `browser`, `repro`, `compat`, `str` (12 modules).
Why
Test plan
🤖 Generated with Claude Code