-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Migrate Homebrew formula generation from abandoned homebrew-pypi-poet to Homebrew's built-in tooling #32800
Copy link
Copy link
Open
Labels
Azure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamInstallationPossible-SolutionSimilar-Issueact-platform-engineering-squadfeature-request
Milestone
Description
Current State
The Azure CLI's Homebrew formula generation pipeline uses homebrew-pypi-poet, which:
- Was last updated in 2018 (8 years ago)
- Uses the deprecated
pkg_resourcesAPI (removed in setuptools 82+) - Has an open issue from 2023 recommending deprecation
- Forces us to pin
setuptools<82in the Homebrew Docker environment
Why This Matters
- Technical debt: We're pinning core dependencies to old versions to support abandoned tooling
- Maintenance burden: Each setuptools upgrade requires checking compatibility
- Security & stability: Can't take advantage of setuptools improvements and fixes
- Homebrew evolution: We're not using the officially supported workflow
Temporary Fix (Already Implemented)
Added setuptools<82 to scripts/release/homebrew/docker/requirements.txt to unblock builds. This is isolated to the formula generation container only and doesn't affect Azure CLI itself.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Azure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamInstallationPossible-SolutionSimilar-Issueact-platform-engineering-squadfeature-request