Repository navigation
[Core] Bump pymsalruntime to 0.20.7 on Windows and macOS - #34359
Conversation
There was a problem hiding this comment.
🔵 Needs a closer look
Outstanding Windows installer and native broker authentication smoke tests, along with inaccessible acceptance criteria in Azure/CLIPS#986, prevent validation of the intended fix.
No open issues 🎉
What changed in this PR
Updates the Windows broker authentication runtime dependency to consume upstream fixes for Windows agentic workflows.
Changes:
- Bumps
pymsalruntimefrom0.20.6to0.20.7. - Leaves MSAL, authentication code, and macOS/Linux requirements unchanged.
Windows installer and broker-authentication validation remain pending.
| File | Description |
|---|---|
src/azure-cli/requirements.py3.windows.txt |
Pins the Windows broker runtime to pymsalruntime==0.20.7. |
Review effort: Balanced
|
Hi Yash (@notyashhh), |
|
Please fix CI issues |
There was a problem hiding this comment.
There is also a macos file you need to update
-
Consolidate these two files into one as we only have Broker flow now
https://github.com/Azure/azure-cli/blob/dev/src/azure-cli/requirements.py3.Darwin.Broker.txt
https://github.com/Azure/azure-cli/blob/dev/src/azure-cli/requirements.py3.Darwin.txt -
change this https://github.com/Azure/azure-cli/blob/dev/scripts/release/standalone/build_binary_tar_gz.py#L79
from requirements.py3.Darwin.Broker.txt to requirements.py3.Darwin.txt
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟡 Changes recommended
The changes also upgrade the bundled macOS broker runtime from 0.20.6 to 0.20.7 despite the stated Windows-only scope and validation plan, so the macOS changes must be reverted or explicitly covered by an expanded scope and validation plan.
1 open issue
Review effort: Balanced
| @@ -125,6 +125,7 @@ psutil==6.1.0 | |||
| pycomposefile==0.0.34 | |||
| PyGithub==1.55 | |||
| PyJWT==2.15.0 | |||
| pymsalruntime==0.20.7 | |||
pymsalruntime to 0.20.7 on Windowspymsalruntime to 0.20.7 on Windows and macOS
|
i have updated the PR desc to reflect current changes.. |

🤖 PR Validation — ️✔️ All clear
Related command
az login,az account get-access-tokenon Windows and macOS with broker authentication enabled.Description
Related: Azure/CLIPS#986.
Bump
pymsalruntimefrom0.20.6to0.20.7on Windows and macOS to consume the upstream runtime fixes and keep the broker dependency aligned across both platforms.requirements.py3.windows.txt, used by the Windows installer builds.msal[broker]==1.39.0and the explicitpymsalruntime==0.20.7pin intorequirements.py3.Darwin.txt.requirements.py3.Darwin.Broker.txtoverlay and point the standalone macOS tarball builder at the consolidated Darwin requirements file. Standard Darwin dependency installs now include broker support directly; this is not a Windows-only update.The published MSAL 1.39.0 broker dependency range is
pymsalruntime>=0.20,<0.21, which includes 0.20.7. No MSAL version bump or authentication-code changes are needed. Latest upstreamdevas of the earlier update was merged into this branch without conflicts.No
HISTORY.rstfiles are modified. The customer-facing history note is generated from the[Core]PR title. Shipping version/ETA and affected agentic-workflow acceptance remain to be confirmed in the tracking issue.Testing Guide
Completed for head
82114468851067f8ff9cc33c98f6086a65671904:python3 -m unittest discover -s scripts/release/standalone/tests -p 'test_*.py' -q— 24 tests passed.msal[broker]==1.39.0requirement and onepymsalruntime==0.20.7pin; no references to the deleted overlay remain in repository build/config files.git diff --check origin/dev...HEADpassed.Remaining native validation:
pymsalruntime==0.20.7andpip checksucceeds.az loginand repeatedaz account get-access-token --query expiresOn -o tsvcalls to exercise token acquisition and reuse without printing tokens.