Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package azure-cli-core for openSUSE:Factory checked in at 2022-04-17 23:50:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/azure-cli-core (Old) and /work/SRC/openSUSE:Factory/.azure-cli-core.new.1941 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "azure-cli-core" Sun Apr 17 23:50:00 2022 rev:37 rq:969867 version:2.35.0 Changes: -------- --- /work/SRC/openSUSE:Factory/azure-cli-core/azure-cli-core.changes 2022-03-11 11:40:25.958551529 +0100 +++ /work/SRC/openSUSE:Factory/.azure-cli-core.new.1941/azure-cli-core.changes 2022-04-17 23:51:43.166461572 +0200 @@ -1,0 +2,9 @@ +Tue Apr 12 09:06:15 UTC 2022 - John Paul Adrian Glaubitz <[email protected]> + +- New upstream release + + Version 2.35.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- Old: ---- azure-cli-core-2.34.1.tar.gz New: ---- azure-cli-core-2.35.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ azure-cli-core.spec ++++++ --- /var/tmp/diff_new_pack.fQo9MN/_old 2022-04-17 23:51:43.578462137 +0200 +++ /var/tmp/diff_new_pack.fQo9MN/_new 2022-04-17 23:51:43.582462142 +0200 @@ -17,7 +17,7 @@ Name: azure-cli-core -Version: 2.34.1 +Version: 2.35.0 Release: 0 Summary: Microsoft Azure CLI Core Module License: MIT @@ -47,7 +47,7 @@ Requires: python3-knack < 1.0.0 Requires: python3-knack >= 0.9.0 Requires: python3-msal < 2.0.0 -Requires: python3-msal >= 1.15.0 +Requires: python3-msal >= 1.17.0 Requires: python3-msal-extensions < 1.0.0 Requires: python3-msal-extensions >= 0.3.1 Requires: python3-msrestazure < 0.7.0 @@ -58,6 +58,8 @@ Requires: python3-paramiko >= 2.0.8 Requires: python3-pip Requires: python3-pkginfo >= 1.5.0.1 +Requires: python3-psutil < 6.0 +Requires: python3-psutil >= 5.9 Requires: python3-pyOpenSSL >= 17.1.0 Requires: python3-requests < 3.0.0 Requires: python3-requests >= 2.25.1 ++++++ azure-cli-core-2.34.1.tar.gz -> azure-cli-core-2.35.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.34.1/HISTORY.rst new/azure-cli-core-2.35.0/HISTORY.rst --- old/azure-cli-core-2.34.1/HISTORY.rst 2022-03-02 08:21:30.000000000 +0100 +++ new/azure-cli-core-2.35.0/HISTORY.rst 2022-04-01 08:15:32.000000000 +0200 @@ -3,6 +3,10 @@ Release History =============== +2.35.0 +++++++ +* Minor fixes + 2.34.1 ++++++ * No changes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.34.1/PKG-INFO new/azure-cli-core-2.35.0/PKG-INFO --- old/azure-cli-core-2.34.1/PKG-INFO 2022-03-02 08:21:46.359761500 +0100 +++ new/azure-cli-core-2.35.0/PKG-INFO 2022-04-01 08:15:48.030060300 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: azure-cli-core -Version: 2.34.1 +Version: 2.35.0 Summary: Microsoft Azure Command-Line Tools Core Module Home-page: https://github.com/Azure/azure-cli Author: Microsoft Corporation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.34.1/azure/cli/core/__init__.py new/azure-cli-core-2.35.0/azure/cli/core/__init__.py --- old/azure-cli-core-2.34.1/azure/cli/core/__init__.py 2022-03-02 08:21:30.000000000 +0100 +++ new/azure-cli-core-2.35.0/azure/cli/core/__init__.py 2022-04-01 08:15:32.000000000 +0200 @@ -4,7 +4,7 @@ # -------------------------------------------------------------------------------------------- # pylint: disable=line-too-long -__version__ = "2.34.1" +__version__ = "2.35.0" import os import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.34.1/azure/cli/core/_session.py new/azure-cli-core-2.35.0/azure/cli/core/_session.py --- old/azure-cli-core-2.34.1/azure/cli/core/_session.py 2022-03-02 08:21:30.000000000 +0100 +++ new/azure-cli-core-2.35.0/azure/cli/core/_session.py 2022-04-01 08:15:32.000000000 +0200 @@ -7,13 +7,12 @@ import logging import os import time - -import collections.abc as collections +from collections.abc import MutableMapping from knack.log import get_logger -class Session(collections.MutableMapping): +class Session(MutableMapping): """ A simple dict-like class that is backed by a JSON file. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.34.1/azure/cli/core/auth/binary_cache.py new/azure-cli-core-2.35.0/azure/cli/core/auth/binary_cache.py --- old/azure-cli-core-2.34.1/azure/cli/core/auth/binary_cache.py 1970-01-01 01:00:00.000000000 +0100 +++ new/azure-cli-core-2.35.0/azure/cli/core/auth/binary_cache.py 2022-04-01 08:15:32.000000000 +0200 @@ -0,0 +1,84 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +import collections.abc as collections +import pickle + +from azure.cli.core.decorators import retry +from knack.log import get_logger + +logger = get_logger(__name__) + + +class BinaryCache(collections.MutableMapping): + """ + Derived from azure.cli.core._session.Session. + A simple dict-like class that is backed by a binary file. + + All direct modifications with `__setitem__` and `__delitem__` will save the file. + Indirect modifications should be followed by a call to `save`. + """ + + def __init__(self, file_name): + super().__init__() + self.filename = file_name + self.data = {} + self.load() + + @retry() + def _load(self): + """Load cache with retry. If it still fails at last, raise the original exception as-is.""" + try: + with open(self.filename, 'rb') as f: + return pickle.load(f) + except FileNotFoundError: + # The cache file has not been created. This is expected. No need to retry. + logger.debug("%s not found. Using a fresh one.", self.filename) + return {} + + def load(self): + logger.debug("load: %s", self.filename) + try: + self.data = self._load() + except (pickle.UnpicklingError, EOFError) as ex: + # We still get exception after retry: + # - pickle.UnpicklingError is caused by corrupted cache file, perhaps due to concurrent writes. + # - EOFError is caused by empty cache file created by other az instance, but hasn't been filled yet. + logger.debug("Failed to load cache: %s. Using a fresh one.", ex) + self.data = {} # Ignore a non-existing or corrupted http_cache + + @retry() + def _save(self): + with open(self.filename, 'wb') as f: + # At this point, an empty cache file will be created. Loading this cache file will + # raise EOFError. This can be simulated by adding time.sleep(30) here. + # So during loading, EOFError is ignored. + pickle.dump(self.data, f) + + def save(self): + logger.debug("save: %s", self.filename) + # If 2 processes write at the same time, the cache will be corrupted, + # but that is fine. Subsequent runs would reach eventual consistency. + self._save() + + def get(self, key, default=None): + return self.data.get(key, default) + + def __getitem__(self, key): + return self.data[key] + + def __setitem__(self, key, value): + self.data[key] = value + self.save() + + def __delitem__(self, key): + del self.data[key] + self.save() + + def __iter__(self): + return iter(self.data) + + def __len__(self): + return len(self.data) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.34.1/azure/cli/core/auth/identity.py new/azure-cli-core-2.35.0/azure/cli/core/auth/identity.py --- old/azure-cli-core-2.34.1/azure/cli/core/auth/identity.py 2022-03-02 08:21:30.000000000 +0100 +++ new/azure-cli-core-2.35.0/azure/cli/core/auth/identity.py 2022-04-01 08:15:32.000000000 +0200 @@ -5,15 +5,13 @@ import json import os -import pickle import re from azure.cli.core._environment import get_config_dir -from azure.cli.core.decorators import retry -from msal import PublicClientApplication - from knack.log import get_logger from knack.util import CLIError +from msal import PublicClientApplication + # Service principal entry properties from .msal_authentication import _CLIENT_ID, _TENANT, _CLIENT_SECRET, _CERTIFICATE, _CLIENT_ASSERTION, \ _USE_CERT_SN_ISSUER @@ -69,7 +67,7 @@ config_dir = get_config_dir() self._token_cache_file = os.path.join(config_dir, "msal_token_cache") self._secret_file = os.path.join(config_dir, "service_principal_entries") - self._http_cache_file = os.path.join(config_dir, "msal_http_cache.bin") + self._msal_http_cache_file = os.path.join(config_dir, "msal_http_cache.bin") # We make _msal_app_instance an instance attribute, instead of a class attribute, # because MSAL apps can have different tenant IDs. @@ -106,45 +104,10 @@ cache = load_persisted_token_cache(self._token_cache_file, self._encrypt) return cache - @retry() - def __load_msal_http_cache(self): - """Load MSAL HTTP cache with retry. If it still fails at last, raise the original exception as-is.""" - logger.debug("__load_msal_http_cache: %s", self._http_cache_file) - try: - with open(self._http_cache_file, 'rb') as f: - return pickle.load(f) - except FileNotFoundError: - # The cache file has not been created. This is expected. - logger.debug("%s not found. Using a fresh one.", self._http_cache_file) - return {} - - def _dump_msal_http_cache(self): - logger.debug("_dump_msal_http_cache: %s", self._http_cache_file) - with open(self._http_cache_file, 'wb') as f: - # At this point, an empty cache file will be created. Loading this cache file will - # trigger EOFError. This can be simulated by adding time.sleep(30) here. - # So, during loading, EOFError is ignored. - pickle.dump(self._msal_http_cache, f) - def _load_msal_http_cache(self): - import atexit - - logger.debug("_load_msal_http_cache: %s", self._http_cache_file) - try: - persisted_http_cache = self.__load_msal_http_cache() - except (pickle.UnpicklingError, EOFError) as ex: - # We still get exception after retry: - # - pickle.UnpicklingError is caused by corrupted cache file, perhaps due to concurrent writes. - # - EOFError is caused by empty cache file created by other az instance, but hasn't been filled yet. - logger.debug("Failed to load MSAL HTTP cache: %s. Using a fresh one.", ex) - persisted_http_cache = {} # Ignore a non-exist or corrupted http_cache - - # When exiting, flush it back to the file. - # If 2 processes write at the same time, the cache will be corrupted, - # but that is fine. Subsequent runs would reach eventual consistency. - atexit.register(self._dump_msal_http_cache) - - return persisted_http_cache + from .binary_cache import BinaryCache + http_cache = BinaryCache(self._msal_http_cache_file) + return http_cache @property def _service_principal_store(self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.34.1/azure/cli/core/cloud.py new/azure-cli-core-2.35.0/azure/cli/core/cloud.py --- old/azure-cli-core-2.34.1/azure/cli/core/cloud.py 2022-03-02 08:21:30.000000000 +0100 +++ new/azure-cli-core-2.35.0/azure/cli/core/cloud.py 2022-04-01 08:15:32.000000000 +0200 @@ -307,7 +307,7 @@ active_directory_graph_resource_id='https://graph.windows.net/', microsoft_graph_resource_id='https://graph.microsoft.com/', active_directory_data_lake_resource_id='https://datalake.azure.net/', - vm_image_alias_doc='https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json', + vm_image_alias_doc='https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json', media_resource_id='https://rest.media.azure.net', ossrdbms_resource_id='https://ossrdbms-aad.database.windows.net', app_insights_resource_id='https://api.applicationinsights.io', @@ -343,7 +343,7 @@ active_directory_resource_id='https://management.core.chinacloudapi.cn/', active_directory_graph_resource_id='https://graph.chinacloudapi.cn/', microsoft_graph_resource_id='https://microsoftgraph.chinacloudapi.cn', - vm_image_alias_doc='https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json', + vm_image_alias_doc='https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json', media_resource_id='https://rest.media.chinacloudapi.cn', ossrdbms_resource_id='https://ossrdbms-aad.database.chinacloudapi.cn', app_insights_resource_id='https://api.applicationinsights.azure.cn', @@ -374,7 +374,7 @@ active_directory_resource_id='https://management.core.usgovcloudapi.net/', active_directory_graph_resource_id='https://graph.windows.net/', microsoft_graph_resource_id='https://graph.microsoft.us/', - vm_image_alias_doc='https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json', + vm_image_alias_doc='https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json', media_resource_id='https://rest.media.usgovcloudapi.net', ossrdbms_resource_id='https://ossrdbms-aad.database.usgovcloudapi.net', app_insights_resource_id='https://api.applicationinsights.us', @@ -406,7 +406,7 @@ active_directory_resource_id='https://management.core.cloudapi.de/', active_directory_graph_resource_id='https://graph.cloudapi.de/', microsoft_graph_resource_id='https://graph.microsoft.de', - vm_image_alias_doc='https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json', + vm_image_alias_doc='https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/arm-compute/quickstart-templates/aliases.json', media_resource_id='https://rest.media.cloudapi.de', ossrdbms_resource_id='https://ossrdbms-aad.database.cloudapi.de', portal='https://portal.microsoftazure.de'), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.34.1/azure/cli/core/extension/operations.py new/azure-cli-core-2.35.0/azure/cli/core/extension/operations.py --- old/azure-cli-core-2.34.1/azure/cli/core/extension/operations.py 2022-03-02 08:21:30.000000000 +0100 +++ new/azure-cli-core-2.35.0/azure/cli/core/extension/operations.py 2022-04-01 08:15:32.000000000 +0200 @@ -181,6 +181,11 @@ def _install_deps_for_psycopg2(): # pylint: disable=too-many-statements + # If we are in Cloud Shell, dependencies should have already been installed. + from azure.cli.core.util import in_cloud_console + if in_cloud_console(): + return + # Below system dependencies are required to install the psycopg2 dependency for Linux and macOS import platform import subprocess diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.34.1/azure/cli/core/profiles/_shared.py new/azure-cli-core-2.35.0/azure/cli/core/profiles/_shared.py --- old/azure-cli-core-2.34.1/azure/cli/core/profiles/_shared.py 2022-03-02 08:21:30.000000000 +0100 +++ new/azure-cli-core-2.35.0/azure/cli/core/profiles/_shared.py 2022-04-01 08:15:32.000000000 +0200 @@ -55,6 +55,7 @@ MGMT_RESOURCE_DEPLOYMENTSCRIPTS = ('azure.mgmt.resource.deploymentscripts', 'DeploymentScriptsClient') MGMT_RESOURCE_TEMPLATESPECS = ('azure.mgmt.resource.templatespecs', 'TemplateSpecsClient') MGMT_MONITOR = ('azure.mgmt.monitor', 'MonitorManagementClient') + MGMT_MSI = ('azure.mgmt.msi', 'ManagedServiceIdentityClient') DATA_KEYVAULT = ('azure.keyvault', 'KeyVaultClient') DATA_KEYVAULT_KEYS = ('azure.keyvault.keys', 'KeyClient') DATA_PRIVATE_KEYVAULT = ('azure.cli.command_modules.keyvault.vendored_sdks.azure_keyvault_t1', 'KeyVaultClient') @@ -111,6 +112,7 @@ DATA_STORAGE_FILEDATALAKE = ('azure.multiapi.storagev2.filedatalake', None) DATA_STORAGE_FILESHARE = ('azure.multiapi.storagev2.fileshare', None) DATA_STORAGE_QUEUE = ('azure.multiapi.storagev2.queue', None) + DATA_STORAGE_TABLE = ('azure.data.tables', None) def __init__(self, import_prefix, client_name): """Constructor. @@ -147,12 +149,12 @@ ResourceType.MGMT_NETWORK: '2021-05-01', ResourceType.MGMT_COMPUTE: SDKProfile('2021-11-01', { 'resource_skus': '2019-04-01', - 'disks': '2021-04-01', + 'disks': '2021-12-01', 'disk_encryption_sets': '2020-12-01', 'disk_accesses': '2020-05-01', - 'snapshots': '2021-04-01', + 'snapshots': '2021-12-01', 'galleries': '2021-07-01', - 'gallery_images': '2020-09-30', + 'gallery_images': '2021-10-01', 'gallery_image_versions': '2021-07-01', 'gallery_applications': '2021-07-01', 'gallery_application_versions': '2021-07-01', @@ -190,7 +192,7 @@ ResourceType.DATA_KEYVAULT_ADMINISTRATION_BACKUP: '7.2-preview', ResourceType.DATA_KEYVAULT_ADMINISTRATION_ACCESS_CONTROL: '7.2-preview', ResourceType.DATA_STORAGE: '2018-11-09', - ResourceType.DATA_STORAGE_BLOB: '2020-10-02', + ResourceType.DATA_STORAGE_BLOB: '2021-04-10', ResourceType.DATA_STORAGE_FILEDATALAKE: '2020-02-10', ResourceType.DATA_STORAGE_FILESHARE: '2019-07-07', ResourceType.DATA_STORAGE_QUEUE: '2018-03-28', @@ -229,6 +231,7 @@ 'private_endpoint_connections': '2019-10-17-preview', 'subscription_diagnostic_settings': '2017-05-01-preview' }), + ResourceType.MGMT_MSI: '2018-11-30', ResourceType.MGMT_APPSERVICE: '2021-03-01', ResourceType.MGMT_IOTHUB: '2021-07-02', ResourceType.MGMT_IOTDPS: '2021-10-15', @@ -236,7 +239,7 @@ ResourceType.MGMT_ARO: '2020-04-30', ResourceType.MGMT_DATABOXEDGE: '2021-02-01-preview', ResourceType.MGMT_CUSTOMLOCATION: '2021-03-15-preview', - ResourceType.MGMT_CONTAINERSERVICE: SDKProfile('2022-01-01', { + ResourceType.MGMT_CONTAINERSERVICE: SDKProfile('2022-02-01', { 'container_services': '2017-07-01', 'open_shift_managed_clusters': '2019-09-30-preview' }), @@ -257,6 +260,7 @@ 'virtual_machine_scale_sets': '2020-06-01' }), ResourceType.MGMT_KEYVAULT: '2016-10-01', + ResourceType.MGMT_MSI: '2018-11-30', ResourceType.MGMT_RESOURCE_FEATURES: '2021-07-01', ResourceType.MGMT_RESOURCE_LINKS: '2016-09-01', ResourceType.MGMT_RESOURCE_LOCKS: '2016-09-01', @@ -299,6 +303,7 @@ 'disks': '2017-03-30', 'snapshots': '2017-03-30' }), + ResourceType.MGMT_MSI: '2018-11-30', ResourceType.MGMT_RESOURCE_LINKS: '2016-09-01', ResourceType.MGMT_RESOURCE_LOCKS: '2016-09-01', ResourceType.MGMT_RESOURCE_POLICY: '2016-12-01', @@ -335,6 +340,7 @@ ResourceType.MGMT_STORAGE: '2016-01-01', ResourceType.MGMT_NETWORK: '2017-10-01', ResourceType.MGMT_COMPUTE: SDKProfile('2017-03-30'), + ResourceType.MGMT_MSI: '2018-11-30', ResourceType.MGMT_RESOURCE_LINKS: '2016-09-01', ResourceType.MGMT_RESOURCE_LOCKS: '2016-09-01', ResourceType.MGMT_RESOURCE_POLICY: '2016-12-01', @@ -361,6 +367,7 @@ ResourceType.MGMT_STORAGE: '2016-01-01', ResourceType.MGMT_NETWORK: '2015-06-15', ResourceType.MGMT_COMPUTE: SDKProfile('2016-03-30'), + ResourceType.MGMT_MSI: '2018-11-30', ResourceType.MGMT_RESOURCE_LINKS: '2016-09-01', ResourceType.MGMT_RESOURCE_LOCKS: '2015-01-01', ResourceType.MGMT_RESOURCE_POLICY: '2015-10-01-preview', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.34.1/azure/cli/core/util.py new/azure-cli-core-2.35.0/azure/cli/core/util.py --- old/azure-cli-core-2.34.1/azure/cli/core/util.py 2022-03-02 08:21:30.000000000 +0100 +++ new/azure-cli-core-2.35.0/azure/cli/core/util.py 2022-04-01 08:15:32.000000000 +0200 @@ -551,7 +551,7 @@ # Recommendation for all shells from azure.cli.core.azclierror import InvalidArgumentValueError recommendation = "The JSON may have been parsed by the shell. See " \ - "https://docs.microsoft.com/cli/azure/use-cli-effectively#quoting-issues" + "https://docs.microsoft.com/cli/azure/use-cli-effectively#use-quotation-marks-in-arguments" # Recommendation especially for PowerShell parent_proc = get_parent_proc_name() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.34.1/azure_cli_core.egg-info/PKG-INFO new/azure-cli-core-2.35.0/azure_cli_core.egg-info/PKG-INFO --- old/azure-cli-core-2.34.1/azure_cli_core.egg-info/PKG-INFO 2022-03-02 08:21:46.000000000 +0100 +++ new/azure-cli-core-2.35.0/azure_cli_core.egg-info/PKG-INFO 2022-04-01 08:15:47.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: azure-cli-core -Version: 2.34.1 +Version: 2.35.0 Summary: Microsoft Azure Command-Line Tools Core Module Home-page: https://github.com/Azure/azure-cli Author: Microsoft Corporation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.34.1/azure_cli_core.egg-info/SOURCES.txt new/azure-cli-core-2.35.0/azure_cli_core.egg-info/SOURCES.txt --- old/azure-cli-core-2.34.1/azure_cli_core.egg-info/SOURCES.txt 2022-03-02 08:21:46.000000000 +0100 +++ new/azure-cli-core-2.35.0/azure_cli_core.egg-info/SOURCES.txt 2022-04-01 08:15:47.000000000 +0200 @@ -32,6 +32,7 @@ azure/cli/core/util.py azure/cli/core/auth/__init__.py azure/cli/core/auth/adal_authentication.py +azure/cli/core/auth/binary_cache.py azure/cli/core/auth/credential_adaptor.py azure/cli/core/auth/identity.py azure/cli/core/auth/msal_authentication.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.34.1/azure_cli_core.egg-info/requires.txt new/azure-cli-core-2.35.0/azure_cli_core.egg-info/requires.txt --- old/azure-cli-core-2.34.1/azure_cli_core.egg-info/requires.txt 2022-03-02 08:21:46.000000000 +0100 +++ new/azure-cli-core-2.35.0/azure_cli_core.egg-info/requires.txt 2022-04-01 08:15:47.000000000 +0200 @@ -6,7 +6,7 @@ jmespath knack~=0.9.0 msal-extensions<0.4,>=0.3.1 -msal<2.0.0,>=1.16.0 +msal<2.0.0,>=1.17.0 msrestazure~=0.6.4 packaging<22.0,>=20.9 paramiko<3.0.0,>=2.0.8 @@ -14,4 +14,6 @@ PyJWT>=2.1.0 pyopenssl>=17.1.0 requests[socks] + +[:sys_platform != "cygwin"] psutil~=5.9 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-cli-core-2.34.1/setup.py new/azure-cli-core-2.35.0/setup.py --- old/azure-cli-core-2.34.1/setup.py 2022-03-02 08:21:30.000000000 +0100 +++ new/azure-cli-core-2.35.0/setup.py 2022-04-01 08:15:32.000000000 +0200 @@ -8,7 +8,7 @@ from codecs import open from setuptools import setup, find_packages -VERSION = "2.34.1" +VERSION = "2.35.0" # If we have source, validate that our version numbers match # This should prevent uploading releases with mismatched versions. @@ -52,21 +52,18 @@ 'jmespath', 'knack~=0.9.0', 'msal-extensions>=0.3.1,<0.4', - 'msal>=1.16.0,<2.0.0', + 'msal>=1.17.0,<2.0.0', 'msrestazure~=0.6.4', 'packaging>=20.9,<22.0', 'paramiko>=2.0.8,<3.0.0', 'pkginfo>=1.5.0.1', + # psutil can't install on cygwin: https://github.com/Azure/azure-cli/issues/9399 + 'psutil~=5.9; sys_platform != "cygwin"', 'PyJWT>=2.1.0', 'pyopenssl>=17.1.0', # https://github.com/pyca/pyopenssl/pull/612 'requests[socks]' ] -# dependencies for specific OSes -if not sys.platform.startswith('cygwin'): - DEPENDENCIES.append('psutil~=5.9') - - with open('README.rst', 'r', encoding='utf-8') as f: README = f.read()
