fix(umbrella): make scitex.ml/scitex.genai canonical, scitex.ai legacy#286
Open
ywatanabe1989 wants to merge 1 commit into
Open
fix(umbrella): make scitex.ml/scitex.genai canonical, scitex.ai legacy#286ywatanabe1989 wants to merge 1 commit into
ywatanabe1989 wants to merge 1 commit into
Conversation
The umbrella had the rename direction reversed: scitex.ai was wired as canonical (external=scitex_ai, a package that no longer exists), while the new scitex.ml was demoted to a deprecated alias pointing back at it. Accessing scitex.ml therefore wrongly warned "use scitex.ai instead" and resolved to the missing scitex_ai package. The actual history is scitex.ai -> scitex-ai -> scitex-ml (+ scitex-genai split out). Wire ml -> scitex_ml and genai -> scitex_genai as canonical lazy re-exports; redirect the legacy ai -> ml with a DeprecationWarning. - _EXTERNAL_REEXPORTS: ai/scitex_ai -> ml/scitex_ml + genai/scitex_genai - lazy modules: ai -> ml + genai - _DEPRECATED_MODULE_ALIASES: "ml":"ai" -> "ai":"ml" - __all__: ai -> ml + genai - refresh stale shim-dir comment (dirs never existed; aliases are __getattr__) - tests: drop deleted scitex_ai identity peer; drop dead scitex.ai.* skips Verified: scitex.ml.* clean (no warning), scitex.genai resolves, scitex.ai warns "use scitex.ml instead" and is scitex.ml; from scitex.ml import X and import scitex.ml both resolve. ml/genai identity-peer tests pass.
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.
The umbrella had the rename direction reversed:
scitex.aiwas wired as canonical (external=scitex_ai, a package that no longer exists), while the newscitex.mlwas demoted to a deprecated alias pointing back at it. Soscitex.ml.Xwrongly warned "use scitex.ai instead" and resolved to the missingscitex_ai.Actual history:
scitex.ai→ standalonescitex-ai→ renamedscitex-ml(+scitex-genaisplit out). This wiresml → scitex_mlandgenai → scitex_genaias canonical lazy re-exports and redirects legacyai → mlwith a DeprecationWarning._EXTERNAL_REEXPORTS:ai/scitex_ai→ml/scitex_ml+genai/scitex_genaiai→ml+genai_DEPRECATED_MODULE_ALIASES:"ml":"ai"→"ai":"ml"__all__:ai→ml+genaiscitex_aiidentity peer; drop deadscitex.ai.*skipsVerified:
scitex.ml.*clean (no warning);scitex.genairesolves;scitex.aiwarns "use scitex.ml instead" and isscitex.ml;from scitex.ml import Xandimport scitex.mlboth resolve.🤖 Generated with Claude Code