-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Update Pinned CI Packages #11586
Update Pinned CI Packages #11586
Conversation
I see a new exception in
|
This sounds like my fault. I'll look into what changed with the custom checkers for the newer version of pylint. |
@chlowell pushed a commit fixing that error, you should be unblocked now. |
Thanks @kristapratico, that appears to have worked. I pushed a couple commits, one to address warnings in azure-keyvaut-keys and azure-identity, and one to disable the |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run python - servicebus - ci |
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
…dMessage does not violate pylint by overriding sync with async methods. Now the sync-specific/async-specific versions imply implement their respective settlement methods, with the shared scaffolding in base.
/azp run python - servicebus - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run python - servicebus - tests |
Azure Pipelines failed to run 1 pipeline(s). |
/azp run python - servicebus - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
…ialPolicy. In the mid-term we need to deprecate the Async versions of this policy and credential to unify on a single model in the primary namespace, see issue here: #12533
pylint==1.8.4; python_version < '3.4' | ||
astroid==2.3.3; python_version >= '3.4' |
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.
This is intentional to install latest version of astroid that is required by pylint. right?
sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/crypto/_internal/algorithms/aes_cbc.py
Show resolved
Hide resolved
@@ -3,7 +3,7 @@ | |||
# Licensed under the MIT License. See License.txt in the project root for | |||
# license information. | |||
# -------------------------------------------------------------------------- | |||
|
|||
# pylint: disable=invalid-overridden-method |
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.
This does not solve the purpose. We must create a common base class for sync and async and inherit both the clients from the base class.
class BlobServiceClientBase():
class BlobServiceClient(BlobServiceClientBase):
again in ./aio
class BlobServiceClient(BlobServiceClientBase):
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.
The mypy pr is already doing this, I think we can reuse that one
Also this problem happened for upload, download, policies, I don't think we need to create a base and inherit for sync and async for all cases.
…into regenerate_keys * 'master' of https://github.com/Azure/azure-sdk-for-python: (100 commits) replace aka link (Azure#12597) [ServiceBus] Message/ReceivedMessage Properties alignment with other languages (Azure#12451) Find list of installed packages using pkg_resources (Azure#12591) token refresh offset (Azure#12136) updates (Azure#12595) User authentication samples (Azure#11343) Remove unnecessary base class (Azure#12374) Sequence -> Iterable for scopes (Azure#12579) Disable apistubgen step until issue is fixed (Azure#12594) fix pylint issue (Azure#12578) fix name in example (Azure#12572) Update tests.md (Azure#12574) Add stress tests for max batch size/prefetch, and for unsettled message receipt. Add capability to not auto-complete and adjust max_batch_size into the base stress tester. (Azure#12344) [formrecognizer] Capitalize enum values (Azure#12540) Update Pinned CI Packages (Azure#11586) remove async response hook policy (Azure#12529) update to target new warden version (Azure#12522) fix azure-storage-blob readme and samples issues (Azure#12511) code fence not formatted appropriately (Azure#12520) Fix documentation typo (Azure#12519) ...
…into regenerate_certs * 'master' of https://github.com/Azure/azure-sdk-for-python: (100 commits) replace aka link (Azure#12597) [ServiceBus] Message/ReceivedMessage Properties alignment with other languages (Azure#12451) Find list of installed packages using pkg_resources (Azure#12591) token refresh offset (Azure#12136) updates (Azure#12595) User authentication samples (Azure#11343) Remove unnecessary base class (Azure#12374) Sequence -> Iterable for scopes (Azure#12579) Disable apistubgen step until issue is fixed (Azure#12594) fix pylint issue (Azure#12578) fix name in example (Azure#12572) Update tests.md (Azure#12574) Add stress tests for max batch size/prefetch, and for unsettled message receipt. Add capability to not auto-complete and adjust max_batch_size into the base stress tester. (Azure#12344) [formrecognizer] Capitalize enum values (Azure#12540) Update Pinned CI Packages (Azure#11586) remove async response hook policy (Azure#12529) update to target new warden version (Azure#12522) fix azure-storage-blob readme and samples issues (Azure#12511) code fence not formatted appropriately (Azure#12520) Fix documentation typo (Azure#12519) ...
…into regenerate_secrets * 'master' of https://github.com/Azure/azure-sdk-for-python: (96 commits) replace aka link (Azure#12597) [ServiceBus] Message/ReceivedMessage Properties alignment with other languages (Azure#12451) Find list of installed packages using pkg_resources (Azure#12591) token refresh offset (Azure#12136) updates (Azure#12595) User authentication samples (Azure#11343) Remove unnecessary base class (Azure#12374) Sequence -> Iterable for scopes (Azure#12579) Disable apistubgen step until issue is fixed (Azure#12594) fix pylint issue (Azure#12578) fix name in example (Azure#12572) Update tests.md (Azure#12574) Add stress tests for max batch size/prefetch, and for unsettled message receipt. Add capability to not auto-complete and adjust max_batch_size into the base stress tester. (Azure#12344) [formrecognizer] Capitalize enum values (Azure#12540) Update Pinned CI Packages (Azure#11586) remove async response hook policy (Azure#12529) update to target new warden version (Azure#12522) fix azure-storage-blob readme and samples issues (Azure#12511) code fence not formatted appropriately (Azure#12520) Fix documentation typo (Azure#12519) ...
This introduces new
pylint
failures.Need to get these resolved before merge.
EDIT 7/8: Updated with latest master (including
virtualenv
pins)