Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-azure-eventgrid for openSUSE:Factory checked in at 2024-02-11 15:45:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-azure-eventgrid (Old) and /work/SRC/openSUSE:Factory/.python-azure-eventgrid.new.1815 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-azure-eventgrid" Sun Feb 11 15:45:59 2024 rev:24 rq:1145586 version:4.17.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-azure-eventgrid/python-azure-eventgrid.changes 2023-11-09 21:36:20.738984685 +0100 +++ /work/SRC/openSUSE:Factory/.python-azure-eventgrid.new.1815/python-azure-eventgrid.changes 2024-02-11 15:46:00.571614241 +0100 @@ -1,0 +2,8 @@ +Fri Feb 9 15:42:27 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- New upstream release + + Version 4.17.0 + + For detailed information about changes see the + CHANGELOG.md file provided with this package + +------------------------------------------------------------------- Old: ---- azure-eventgrid-4.16.0.tar.gz New: ---- azure-eventgrid-4.17.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-azure-eventgrid.spec ++++++ --- /var/tmp/diff_new_pack.6XWKyU/_old 2024-02-11 15:46:01.075632363 +0100 +++ /var/tmp/diff_new_pack.6XWKyU/_new 2024-02-11 15:46:01.075632363 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-azure-eventgrid # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ %define skip_python2 1 %endif Name: python-azure-eventgrid -Version: 4.16.0 +Version: 4.17.0 Release: 0 Summary: Microsoft Azure Event Grid Client Library License: MIT ++++++ azure-eventgrid-4.16.0.tar.gz -> azure-eventgrid-4.17.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-eventgrid-4.16.0/CHANGELOG.md new/azure-eventgrid-4.17.0/CHANGELOG.md --- old/azure-eventgrid-4.16.0/CHANGELOG.md 2023-11-08 16:36:44.000000000 +0100 +++ new/azure-eventgrid-4.17.0/CHANGELOG.md 2024-02-08 21:11:05.000000000 +0100 @@ -1,5 +1,12 @@ # Release History +## 4.17.0 (2024-02-08) +This version and all future versions will require Python 3.8+. + +### Features Added + +- Added new enums values to `SystemEventNames` related to Azure Storage and Azure VMware Solution. + ## 4.16.0 (2023-11-08) ### Features Added diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-eventgrid-4.16.0/PKG-INFO new/azure-eventgrid-4.17.0/PKG-INFO --- old/azure-eventgrid-4.16.0/PKG-INFO 2023-11-08 16:37:24.765407600 +0100 +++ new/azure-eventgrid-4.17.0/PKG-INFO 2024-02-08 21:11:51.433449000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: azure-eventgrid -Version: 4.16.0 +Version: 4.17.0 Summary: Microsoft Azure Event Grid Client Library for Python Home-page: https://github.com/Azure/azure-sdk-for-python Author: Microsoft Corporation @@ -10,12 +10,13 @@ Classifier: Development Status :: 5 - Production/Stable Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 :: Only -Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 Classifier: License :: OSI Approved :: MIT License -Requires-Python: >=3.7 +Requires-Python: >=3.8 Description-Content-Type: text/markdown License-File: LICENSE Requires-Dist: isodate<1.0.0,>=0.6.1 @@ -521,6 +522,13 @@ # Release History +## 4.17.0 (2024-02-08) +This version and all future versions will require Python 3.8+. + +### Features Added + +- Added new enums values to `SystemEventNames` related to Azure Storage and Azure VMware Solution. + ## 4.16.0 (2023-11-08) ### Features Added diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-eventgrid-4.16.0/azure/eventgrid/_event_mappings.py new/azure-eventgrid-4.17.0/azure/eventgrid/_event_mappings.py --- old/azure-eventgrid-4.16.0/azure/eventgrid/_event_mappings.py 2023-11-08 16:36:44.000000000 +0100 +++ new/azure-eventgrid-4.17.0/azure/eventgrid/_event_mappings.py 2024-02-08 21:11:05.000000000 +0100 @@ -204,6 +204,30 @@ AppConfigurationSnapshotModifiedEventName = 'Microsoft.AppConfiguration.SnapshotModified' + AvsClusterCreatedEventName = 'Microsoft.AVS.ClusterCreated' + + AvsClusterDeletedEventName = 'Microsoft.AVS.ClusterDeleted' + + AvsClusterFailedEventName = 'Microsoft.AVS.ClusterFailed' + + AvsClusterUpdatedEventName = 'Microsoft.AVS.ClusterUpdated' + + AvsClusterUpdatingEventName = 'Microsoft.AVS.ClusterUpdating' + + AvsPrivateCloudFailedEventName = 'Microsoft.AVS.PrivateCloudFailed' + + AvsPrivateCloudUpdatedEventName = 'Microsoft.AVS.PrivateCloudUpdated' + + AvsPrivateCloudUpdatingEventName = 'Microsoft.AVS.PrivateCloudUpdating' + + AvsScriptExecutionCancelledEventName = 'Microsoft.AVS.ScriptExecutionCancelled' + + AvsScriptExecutionFailedEventName = 'Microsoft.AVS.ScriptExecutionFailed' + + AvsScriptExecutionFinishedEventName = 'Microsoft.AVS.ScriptExecutionFinished' + + AvsScriptExecutionStartedEventName = 'Microsoft.AVS.ScriptExecutionStarted' + ContainerRegistryChartDeletedEventName = 'Microsoft.ContainerRegistry.ChartDeleted' ContainerRegistryChartPushedEventName = 'Microsoft.ContainerRegistry.ChartPushed' @@ -420,6 +444,10 @@ StorageLifecyclePolicyCompletedEventName = 'Microsoft.Storage.LifecyclePolicyCompleted' + StorageTaskAssignmentCompletedEventName = 'Microsoft.Storage.StorageTaskAssignmentCompleted' + + StorageTaskAssignmentQueuedEventName = 'Microsoft.Storage.StorageTaskAssignmentQueued' + StorageTaskCompletedEventName = 'Microsoft.Storage.StorageTaskCompleted' StorageTaskQueuedEventName = 'Microsoft.Storage.StorageTaskQueued' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-eventgrid-4.16.0/azure/eventgrid/_generated/py.typed new/azure-eventgrid-4.17.0/azure/eventgrid/_generated/py.typed --- old/azure-eventgrid-4.16.0/azure/eventgrid/_generated/py.typed 1970-01-01 01:00:00.000000000 +0100 +++ new/azure-eventgrid-4.17.0/azure/eventgrid/_generated/py.typed 2024-02-08 21:11:05.000000000 +0100 @@ -0,0 +1 @@ +# Marker file for PEP 561. \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-eventgrid-4.16.0/azure/eventgrid/_helpers.py new/azure-eventgrid-4.17.0/azure/eventgrid/_helpers.py --- old/azure-eventgrid-4.16.0/azure/eventgrid/_helpers.py 2023-11-08 16:36:45.000000000 +0100 +++ new/azure-eventgrid-4.17.0/azure/eventgrid/_helpers.py 2024-02-08 21:11:05.000000000 +0100 @@ -8,10 +8,7 @@ import hmac import base64 -try: - from urllib.parse import quote -except ImportError: - from urllib2 import quote # type: ignore +from urllib.parse import quote from azure.core.pipeline.transport import HttpRequest from azure.core.pipeline.policies import AzureKeyCredentialPolicy, BearerTokenCredentialPolicy @@ -27,15 +24,20 @@ if TYPE_CHECKING: from datetime import datetime -def generate_sas(endpoint, shared_access_key, expiration_date_utc, **kwargs): - # type: (str, str, datetime, Any) -> str +def generate_sas( + endpoint: str, + shared_access_key: str, + expiration_date_utc: "datetime", + *, + api_version: str = constants.DEFAULT_API_VERSION, +) -> str: """Helper method to generate shared access signature given hostname, key, and expiration date. :param str endpoint: The topic endpoint to send the events to. - Similar to <YOUR-TOPIC-NAME>.<YOUR-REGION-NAME>-1.eventgrid.azure.net + Similar to <YOUR-TOPIC-NAME>.<YOUR-REGION-NAME>-1.eventgrid.azure.net :param str shared_access_key: The shared access key to be used for generating the token :param datetime.datetime expiration_date_utc: The expiration datetime in UTC for the signature. :keyword str api_version: The API Version to include in the signature. - If not provided, the default API version will be used. + If not provided, the default API version will be used. :return: A shared access signature string. :rtype: str @@ -48,9 +50,10 @@ :language: python :dedent: 0 :caption: Generate a shared access signature. + """ full_endpoint = "{}?apiVersion={}".format( - endpoint, kwargs.get("api_version", constants.DEFAULT_API_VERSION) + endpoint, api_version ) encoded_resource = quote(full_endpoint, safe=constants.SAFE_ENCODE) encoded_expiration_utc = quote(str(expiration_date_utc), safe=constants.SAFE_ENCODE) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-eventgrid-4.16.0/azure/eventgrid/_models.py new/azure-eventgrid-4.17.0/azure/eventgrid/_models.py --- old/azure-eventgrid-4.16.0/azure/eventgrid/_models.py 2023-11-08 16:36:45.000000000 +0100 +++ new/azure-eventgrid-4.17.0/azure/eventgrid/_models.py 2024-02-08 21:11:05.000000000 +0100 @@ -103,11 +103,12 @@ """ Returns the deserialized EventGridEvent object when a json payload is provided. :param event: The json string that should be converted into a EventGridEvent. This can also be - a storage QueueMessage, eventhub's EventData or ServiceBusMessage + a storage QueueMessage, eventhub's EventData or ServiceBusMessage :type event: object :rtype: EventGridEvent :return: An EventGridEvent object. :raises ValueError: If the provided JSON is invalid. + """ dict_event = _get_json_content(event) return cast(EventGridEvent, EventGridEvent.from_dict(dict_event)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-eventgrid-4.16.0/azure/eventgrid/_version.py new/azure-eventgrid-4.17.0/azure/eventgrid/_version.py --- old/azure-eventgrid-4.16.0/azure/eventgrid/_version.py 2023-11-08 16:36:45.000000000 +0100 +++ new/azure-eventgrid-4.17.0/azure/eventgrid/_version.py 2024-02-08 21:11:05.000000000 +0100 @@ -9,4 +9,4 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "4.16.0" +VERSION = "4.17.0" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-eventgrid-4.16.0/azure_eventgrid.egg-info/PKG-INFO new/azure-eventgrid-4.17.0/azure_eventgrid.egg-info/PKG-INFO --- old/azure-eventgrid-4.16.0/azure_eventgrid.egg-info/PKG-INFO 2023-11-08 16:37:24.000000000 +0100 +++ new/azure-eventgrid-4.17.0/azure_eventgrid.egg-info/PKG-INFO 2024-02-08 21:11:51.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: azure-eventgrid -Version: 4.16.0 +Version: 4.17.0 Summary: Microsoft Azure Event Grid Client Library for Python Home-page: https://github.com/Azure/azure-sdk-for-python Author: Microsoft Corporation @@ -10,12 +10,13 @@ Classifier: Development Status :: 5 - Production/Stable Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 :: Only -Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 Classifier: License :: OSI Approved :: MIT License -Requires-Python: >=3.7 +Requires-Python: >=3.8 Description-Content-Type: text/markdown License-File: LICENSE Requires-Dist: isodate<1.0.0,>=0.6.1 @@ -521,6 +522,13 @@ # Release History +## 4.17.0 (2024-02-08) +This version and all future versions will require Python 3.8+. + +### Features Added + +- Added new enums values to `SystemEventNames` related to Azure Storage and Azure VMware Solution. + ## 4.16.0 (2023-11-08) ### Features Added diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-eventgrid-4.16.0/azure_eventgrid.egg-info/SOURCES.txt new/azure-eventgrid-4.17.0/azure_eventgrid.egg-info/SOURCES.txt --- old/azure-eventgrid-4.16.0/azure_eventgrid.egg-info/SOURCES.txt 2023-11-08 16:37:24.000000000 +0100 +++ new/azure-eventgrid-4.17.0/azure_eventgrid.egg-info/SOURCES.txt 2024-02-08 21:11:51.000000000 +0100 @@ -23,6 +23,7 @@ azure/eventgrid/_generated/_patch.py azure/eventgrid/_generated/_serialization.py azure/eventgrid/_generated/_vendor.py +azure/eventgrid/_generated/py.typed azure/eventgrid/_generated/_operations/__init__.py azure/eventgrid/_generated/_operations/_operations.py azure/eventgrid/_generated/_operations/_patch.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-eventgrid-4.16.0/pyproject.toml new/azure-eventgrid-4.17.0/pyproject.toml --- old/azure-eventgrid-4.16.0/pyproject.toml 2023-11-08 16:36:45.000000000 +0100 +++ new/azure-eventgrid-4.17.0/pyproject.toml 2024-02-08 21:11:05.000000000 +0100 @@ -2,3 +2,4 @@ pyright = false type_check_samples = false verifytypes = false +strict_sphinx = true \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-eventgrid-4.16.0/setup.py new/azure-eventgrid-4.17.0/setup.py --- old/azure-eventgrid-4.16.0/setup.py 2023-11-08 16:36:45.000000000 +0100 +++ new/azure-eventgrid-4.17.0/setup.py 2024-02-08 21:11:05.000000000 +0100 @@ -51,13 +51,14 @@ "Development Status :: 5 - Production/Stable", 'Programming Language :: Python', 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'License :: OSI Approved :: MIT License', ], - python_requires=">=3.7", + python_requires=">=3.8", zip_safe=False, packages=find_packages(exclude=[ 'tests', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-eventgrid-4.16.0/tests/eventgrid_preparer.py new/azure-eventgrid-4.17.0/tests/eventgrid_preparer.py --- old/azure-eventgrid-4.16.0/tests/eventgrid_preparer.py 2023-11-08 16:36:45.000000000 +0100 +++ new/azure-eventgrid-4.17.0/tests/eventgrid_preparer.py 2024-02-08 21:11:05.000000000 +0100 @@ -2,7 +2,6 @@ from devtools_testutils import PowerShellPreparer from azure.mgmt.eventgrid.models import Topic, InputSchema, JsonInputSchemaMapping, JsonField, JsonFieldWithDefault -from azure_devtools.scenario_tests.exceptions import AzureTestError from devtools_testutils.resource_testcase import RESOURCE_GROUP_PARAM diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-eventgrid-4.16.0/tests/perfstress_tests/send.py new/azure-eventgrid-4.17.0/tests/perfstress_tests/send.py --- old/azure-eventgrid-4.16.0/tests/perfstress_tests/send.py 2023-11-08 16:36:45.000000000 +0100 +++ new/azure-eventgrid-4.17.0/tests/perfstress_tests/send.py 2024-02-08 21:11:05.000000000 +0100 @@ -5,7 +5,7 @@ #-------------------------------------------------------------------------- import asyncio -from azure_devtools.perfstress_tests import PerfStressTest +from devtools_testutils.perfstress_tests import PerfStressTest from azure.eventgrid import EventGridPublisherClient as SyncPublisherClient, EventGridEvent from azure.eventgrid.aio import EventGridPublisherClient as AsyncPublisherClient diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-eventgrid-4.16.0/tests/test_exceptions.py new/azure-eventgrid-4.17.0/tests/test_exceptions.py --- old/azure-eventgrid-4.16.0/tests/test_exceptions.py 2023-11-08 16:36:45.000000000 +0100 +++ new/azure-eventgrid-4.17.0/tests/test_exceptions.py 2024-02-08 21:11:05.000000000 +0100 @@ -26,7 +26,6 @@ from devtools_testutils import AzureMgmtRecordedTestCase, recorded_by_proxy -from azure_devtools.scenario_tests import ReplayableTest from azure.core.credentials import AzureKeyCredential, AzureSasCredential from azure.core.messaging import CloudEvent from azure.core.serialization import NULL diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/azure-eventgrid-4.16.0/tests/test_exceptions_async.py new/azure-eventgrid-4.17.0/tests/test_exceptions_async.py --- old/azure-eventgrid-4.16.0/tests/test_exceptions_async.py 2023-11-08 16:36:45.000000000 +0100 +++ new/azure-eventgrid-4.17.0/tests/test_exceptions_async.py 2024-02-08 21:11:05.000000000 +0100 @@ -23,7 +23,6 @@ from devtools_testutils import AzureRecordedTestCase from devtools_testutils.aio import recorded_by_proxy_async -from azure_devtools.scenario_tests import ReplayableTest from azure.core.credentials import AzureKeyCredential, AzureSasCredential from azure.core.messaging import CloudEvent from azure.core.serialization import NULL