Open
Conversation
- Create homebrew-amplifier tap with Formula/amplifier.rb - Add amplifier/__init__.py package stub for hatch build - Update pyproject.toml with classifiers, project URLs, clean PyPI deps - Add GitHub Actions workflows for PyPI publish and formula auto-update - Update README with Homebrew install instructions (brew tap microsoft/amplifier) The formula uses uv sync --frozen to install from the lockfile, resolving git-sourced dependencies (amplifier-app-cli, amplifier-foundation) that are not yet published to PyPI. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Add TODO comment with SHA256 calculation instructions to Homebrew formula - Add version constraint (>=0.1.0) to amplifier-app-cli dependency with clarifying comments - Verify uv build works without hatch.metadata.allow-direct-references - Add comprehensive PyPI trusted publishing setup documentation These changes resolve blockers identified in PR review: - Formula placeholder is now documented with clear update instructions - Dependency versioning clarified for PyPI publishing workflow - New docs/PUBLISHING.md guides maintainers through release process 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Author
|
@microsoft-github-policy-service agree [company="Microsoft"] |
|
@justinpreston the command you issued was incorrect. Please try again. Examples are: and |
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
Adds everything needed to distribute Amplifier via Homebrew (
brew tap microsoft/amplifier && brew install amplifier).Changes
homebrew-amplifier/Formula/amplifier.rb— Homebrew formula usinguv sync --frozenwithUV_PROJECT_ENVIRONMENTto install into a virtualenv at the Homebrew prefix. Resolves git-sourced dependencies (amplifier-app-cli, amplifier-foundation) via[tool.uv.sources]anduv.lock.amplifier/__init__.py— Package stub needed forhatch buildto produce a valid sdist/wheel.pyproject.toml— Added classifiers, project URLs, cleaned dependencies for future PyPI publishing.README.md— Added Homebrew as primary install option alongside UV..github/workflows/publish.yml— Publish to PyPI on GitHub release (trusted publishing)..github/workflows/update-homebrew.yml— Auto-update formula SHA256 on new releases.Tested locally
brew install --HEAD✅brew test✅amplifier --version✅Next steps after merge
microsoft/homebrew-amplifierrepo with thehomebrew-amplifier/contentsv0.1.0, create a GitHub release, and update the formula SHA256