-
Notifications
You must be signed in to change notification settings - Fork 3.3k
{Packaging} Bump paramiko to 3.0.0 #25472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps we can bump to 3.0.0? https://pypi.org/project/paramiko/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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.