Skip to content

chore(logging): convert explicit re-export shim → sys.modules-alias bridge#246

Open
ywatanabe1989 wants to merge 1 commit intodevelopfrom
chore/cleanup-scitex-logging-shim
Open

chore(logging): convert explicit re-export shim → sys.modules-alias bridge#246
ywatanabe1989 wants to merge 1 commit intodevelopfrom
chore/cleanup-scitex-logging-shim

Conversation

@ywatanabe1989
Copy link
Copy Markdown
Owner

Summary

`scitex-logging` has been a standalone package for a while. The umbrella's `scitex/logging/init.py` was using an explicit re-export of ~50 symbols, which silently drifts whenever scitex-logging adds new public APIs.

Replace with the standard `sys.modules` alias bridge used by every other extracted module:

  • `scitex.logging is scitex_logging`
  • Any name added to scitex_logging is automatically visible without scitex-python re-publishing.

Also drops a stale empty `logging/llm/` directory (only contained `pycache`).

Test plan

  • `scitex.logging is scitex_logging`
  • `scitex.logging.getLogger` resolves
  • `scitex.logging.SciTeXError` resolves

🤖 Generated with Claude Code

…ridge

scitex-logging is already a standalone package; the umbrella was using an
explicit re-export of ~50 symbols (which means the list drifts whenever
scitex-logging adds new APIs). Replace with the same sys.modules alias
pattern used by every other extracted module so:

  * `scitex.logging is scitex_logging`
  * Any new public name added to scitex_logging is automatically visible.

Also remove the empty scitex/logging/llm/__pycache__ leftover that had no
real source files behind it.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.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