Repository navigation
feat: publish bundled library and CLI as morphir-python - #39
Merged
Merged
Conversation
Publish the CLI distribution as morphir-python while keeping its internal morphir_tools import. Update package checks, artifacts, diagnostics and examples to use the new public name. Accept python-v release tags so the corrected 0.0.1 candidate can be published without moving the previous failed v0.0.1 tag.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
5 tasks done
Build one public distribution from the root project, including both source components. Keep the pure core workspace for development and remove the public dependency on an unpublished morphir distribution. Qualify and publish only the bundled wheel and source archive. Verify source inclusion, installation without a separate core wheel, and the morphir-python command before promotion.
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.
Publish one installable
morphir-python==0.0.1distribution containing the coremorphirlibrary, SDK runtime, and CLI. Both the PyPI project and executable are namedmorphir-python; Python imports remainmorphirandmorphir_tools.Build the public wheel and source archive from the root project so both source trees are included without sibling-path hooks or duplicated library code. Keep the pure core workspace for development, remove the CLI subproject metadata and the public dependency on an unpublished
morphirdistribution, and publish only the bundle. Update CI artifacts, metadata/source-inclusion checks, isolated installs, scans, diagnostics, docs and CLI tests.Version stays
0.0.1. Accept the newpython-v0.0.1tag so the corrected source can be released without moving the prior failedv0.0.1tag. Thepypienvironment permitspython-v*tags.Validation: regressions for distribution identity, console entry point, CLI help, and absence of a separate Morphir dependency failed before the changes and pass now. Full checks pass with 2,062 tests, BDD, both type checkers, lint and formatting; coverage is 98.50%. Direct and source-archive builds produced identical wheels. The bundle alone passes strict metadata checks, verifies all library/CLI Python sources are included, installs and runs imports and
morphir-python ir inspectwithout a separate core wheel, and passes CVE/license gates. actionlint and tag-version rejection checks pass.The maintainer explicitly selected bundling and authorized publication. After current-head hosted CI and review checks pass, merge and publish using the existing FINOS trusted-publisher identity for
morphir-python. The original failure and account-side context are tracked in #38.Refs #38. Shared tracker: morphir-udu4.