{Packaging} Bump paramiko to 3.0.0#25472
Conversation
|
@zhoxing-ms I think we'll need to coordinate with the owners of the VM command module. This change in package version is causing a failure in the test |
|
App Service |
|
For the CI failure: This is a typical failure caused by not-returned pollers: azure-cli/src/azure-cli/azure/cli/command_modules/vm/custom.py Lines 3710 to 3711 in 96a3e47 It happened before in #21974 I also encountered the same failure in #25452 #25477 will fix the broken |
az webapp ...: Fix #25406| oauthlib==3.2.2 | ||
| packaging==23.0 | ||
| paramiko==2.10.1 | ||
| paramiko==2.11.0 |
There was a problem hiding this comment.
Perhaps we can bump to 3.0.0? https://pypi.org/project/paramiko/
There was a problem hiding this comment.
JFYI azure-cli-core currently requires a version <3.0.0
https://github.com/Azure/azure-cli/blob/dev/src/azure-cli-core/setup.py#L59
There was a problem hiding this comment.
Wow, this is a blast from the past! Unfortunately, I can't remember the rationale behind this restriction. Best of luck.
There was a problem hiding this comment.
paramiko<3.0.0 is introduced in #9668. It looks like a general update and pin it to version 2.xx to prevent breaking changes.
I update it to 3.0.0 in this branch, and the tests are passed.
There was a problem hiding this comment.
@StrawnSC Could you please update paramiko to 3.0.0 and change this line to <4.0.0 https://github.com/Azure/azure-cli/blob/dev/src/azure-cli-core/setup.py#L59
Related command
Seems to impact all web app commands (and possibly all app service commands).
Description
Fixes #25406. One of our dependencies (I believe for an ssh command), paramiko, was using a deprecated library, blowfish. Whenever a user runs a webapp command, it outputs a message about blowfish being deprecated. Fortunately, this was fixed in pamiko version 2.11.0.
Testing Guide
az webapp list --query "[].name"This command should no longer output a deprecation warning for blowfish
History Notes
This 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.