fix: switch agent-manifest dependency from git to PyPI#336
Merged
Conversation
agent-manifest 0.1.1 (released 2026-06-21) exports verify_manifest and VerificationContext from the package root — the condition noted in the comment is now met. PyPI rejects packages with direct git dependencies, so this unblocks the cmcp-runtime 0.2.1 publish. Also removes allow-direct-references hatchling setting (no longer needed). Co-Authored-By: Claude Sonnet 4.6 <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
agent-manifest @ git+https://...@<commit>withagent-manifest>=0.1.1[tool.hatch.metadata] allow-direct-references = trueWhy
PyPI rejects packages with direct git dependencies (
400 Can't have direct dependency). The comment in pyproject.toml said to do this after the next SDK release —agent-manifest 0.1.1(released 2026-06-21) exportsverify_manifestandVerificationContextfrom the package root, satisfying the condition.This unblocks the
cmcp-runtime 0.2.1PyPI publish (the release workflow failed for this exact reason).Test plan
pip install .works with the pinned constraint🤖 Generated with Claude Code