Release contract: 公開 subpackage の publish gate を明示する#420
Draft
proboscis wants to merge 3 commits into
Draft
Conversation
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.
概要
HYP-199 は、
packages/の公開導入案内と root タグ公開の対象、独立公開の扱い、配布物情報確認の責任をそろえる変更です。変更内容
docs/release-publish-runbook.mdにrootタグ公開、独立公開、公開しないパッケージの分類表を追加しました。.github/workflows/publish.ymlの Python 配布物構築をbuild-python-release-distsの matrix にまとめ、doeff-hy、doeff-core-effects、doeff、doeff-time、doeff-preset、doeff-agentsを構築、確認、公開する順序にしました。tests/test_release_publish_contract.pyを追加し、README の導入案内、全 workspace package の分類、runbook と公開処理の一致を確認します。tests/test_doeff_vm_release_contract.pyは matrix 化後の公開処理に合わせて更新しました。確認したこと
uv run pytest tests/test_release_publish_contract.py tests/test_doeff_vm_release_contract.pyuv run ruff check tests/test_release_publish_contract.py tests/test_doeff_vm_release_contract.pyuv build --package <root公開Python配布物> --wheel --sdist --out-dir /tmp/hyp-199-<package>-distuv run python tools/verify_dist_metadata.py /tmp/hyp-199-<package>-dist/*.whl /tmp/hyp-199-<package>-dist/*.tar.gzuv run pythonで.github/workflows/publish.ymlの YAML 読み込み確認rg "pip install doeff-|uv add doeff-" packages/*/README.mdrg "Publish|publish|uv build --package|verify_dist_metadata" docs/release-publish-runbook.md .github/workflows/publish.yml注意点
make lintはこの変更範囲外のdoeff/cli/discovery.py:57でIndexerimport の型エラーにより停止しました。対象テスト、Ruff、配布物構築、配布物情報確認は完了しています。