diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 074bdd476..6a2b9473f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,7 +1,8 @@ name: $(Date:yyyyMMdd).$(Rev:r) trigger: -- release/* +- release/2.* +- release/3.* variables: DOTNET_VERSION: '2.2.207' diff --git a/setup.py b/setup.py index 4033b839e..61c1f3aa2 100644 --- a/setup.py +++ b/setup.py @@ -259,7 +259,7 @@ def run(self): setup( name='azure-functions-worker', - version='1.1.6', + version='1.1.7', description='Python Language Worker for Azure Functions Host', author="Microsoft Corp.", author_email="azurefunctions@microsoft.com", @@ -295,7 +295,7 @@ def run(self): ], extras_require={ 'dev': [ - 'azure-functions==1.4.0', + 'azure-functions==1.5.0', 'azure-eventhub~=5.1.0', 'python-dateutil~=2.8.1', 'flake8~=3.7.9', diff --git a/tests/endtoend/servicebus_functions/servicebus_trigger/__init__.py b/tests/endtoend/servicebus_functions/servicebus_trigger/__init__.py index 374f15e43..bd4b76c63 100644 --- a/tests/endtoend/servicebus_functions/servicebus_trigger/__init__.py +++ b/tests/endtoend/servicebus_functions/servicebus_trigger/__init__.py @@ -11,12 +11,14 @@ def main(msg: azf.ServiceBusMessage) -> str: 'body': msg.get_body().decode('utf-8'), 'content_type': msg.content_type, 'delivery_count': msg.delivery_count, - 'expiration_time': msg.expiration_time, + 'expiration_time': (msg.expiration_time.isoformat() if + msg.expiration_time else None), 'label': msg.label, 'partition_key': msg.partition_key, 'reply_to': msg.reply_to, 'reply_to_session_id': msg.reply_to_session_id, - 'scheduled_enqueue_time': msg.scheduled_enqueue_time, + 'scheduled_enqueue_time': (msg.scheduled_enqueue_time.isoformat() if + msg.scheduled_enqueue_time else None), 'session_id': msg.session_id, 'time_to_live': msg.time_to_live, 'to': msg.to,