{Packaging} Bump pbr to version 6.x.x#32780
Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
There was a problem hiding this comment.
Pull request overview
Updates Azure CLI platform-specific Python 3 requirement pins to resolve build failures caused by older pbr versions relying on pkg_resources (now excluded from newer setuptools).
Changes:
- Bump
pbrfrom5.3.1to6.1.0on Windows - Bump
pbrfrom5.3.1to6.1.0on Linux - Bump
pbrfrom5.3.1to6.1.0on macOS (Darwin)
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/azure-cli/requirements.py3.windows.txt | Pins pbr to 6.1.0 for Windows builds to avoid pkg_resources dependency issues. |
| src/azure-cli/requirements.py3.Linux.txt | Pins pbr to 6.1.0 for Linux builds to avoid pkg_resources dependency issues. |
| src/azure-cli/requirements.py3.Darwin.txt | Pins pbr to 6.1.0 for macOS builds to avoid pkg_resources dependency issues. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Approved for now.. (if we need to proceed .. with CI) If these are dependent libraries which got listed in requirement_*.txt, then may be we should bump the parent lib which got this "pbr" library in the list. |
Related command
Description
Bumping
pbr, as older versions relied onpkg_resourcesbeing present, but is excluded now fromsetuptoolssince version 82.x.x, and was causing build failures.Testing Guide
History Notes
[Component Name 1] BREAKING CHANGE:
az command a: Make some customer-facing breaking change[Component Name 2]
az command b: Add some customer-facing featureThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.