diff --git a/azurefunctions-extensions-base/pyproject.toml b/azurefunctions-extensions-base/pyproject.toml index c5a4051..019fe11 100644 --- a/azurefunctions-extensions-base/pyproject.toml +++ b/azurefunctions-extensions-base/pyproject.toml @@ -18,6 +18,7 @@ classifiers= [ 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13', + 'Programming Language :: Python :: 3.14', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Operating System :: MacOS :: MacOS X', diff --git a/azurefunctions-extensions-bindings-blob/pyproject.toml b/azurefunctions-extensions-bindings-blob/pyproject.toml index 0620b17..cb7c1a5 100644 --- a/azurefunctions-extensions-bindings-blob/pyproject.toml +++ b/azurefunctions-extensions-bindings-blob/pyproject.toml @@ -18,6 +18,7 @@ classifiers= [ 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13', + 'Programming Language :: Python :: 3.14', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Operating System :: MacOS :: MacOS X', diff --git a/azurefunctions-extensions-bindings-cosmosdb/pyproject.toml b/azurefunctions-extensions-bindings-cosmosdb/pyproject.toml index 863d75a..8b24298 100644 --- a/azurefunctions-extensions-bindings-cosmosdb/pyproject.toml +++ b/azurefunctions-extensions-bindings-cosmosdb/pyproject.toml @@ -18,6 +18,7 @@ classifiers= [ 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13', + 'Programming Language :: Python :: 3.14', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Operating System :: MacOS :: MacOS X', diff --git a/azurefunctions-extensions-bindings-eventhub/pyproject.toml b/azurefunctions-extensions-bindings-eventhub/pyproject.toml index 6c7d7de..c252073 100644 --- a/azurefunctions-extensions-bindings-eventhub/pyproject.toml +++ b/azurefunctions-extensions-bindings-eventhub/pyproject.toml @@ -18,6 +18,7 @@ classifiers= [ 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13', + 'Programming Language :: Python :: 3.14', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Operating System :: MacOS :: MacOS X', diff --git a/azurefunctions-extensions-connectors/pyproject.toml b/azurefunctions-extensions-connectors/pyproject.toml index b4b50f7..451fb0f 100644 --- a/azurefunctions-extensions-connectors/pyproject.toml +++ b/azurefunctions-extensions-connectors/pyproject.toml @@ -18,6 +18,7 @@ classifiers= [ 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13', + 'Programming Language :: Python :: 3.14', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Operating System :: MacOS :: MacOS X', diff --git a/azurefunctions-extensions-http-fastapi/pyproject.toml b/azurefunctions-extensions-http-fastapi/pyproject.toml index 14cf00b..16e5915 100644 --- a/azurefunctions-extensions-http-fastapi/pyproject.toml +++ b/azurefunctions-extensions-http-fastapi/pyproject.toml @@ -18,6 +18,7 @@ classifiers= [ 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13', + 'Programming Language :: Python :: 3.14', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Operating System :: MacOS :: MacOS X', diff --git a/azurefunctions-extensions-http-fastapi/tests/test_web.py b/azurefunctions-extensions-http-fastapi/tests/test_web.py index 9491f0c..da6b629 100644 --- a/azurefunctions-extensions-http-fastapi/tests/test_web.py +++ b/azurefunctions-extensions-http-fastapi/tests/test_web.py @@ -129,7 +129,7 @@ async def serve(): serve # Mock the serve method to return a CoroutineMock ) - asyncio.get_event_loop().run_until_complete(self.web_server.serve()) + asyncio.run(self.web_server.serve()) config_mock.assert_called_once_with( self.test_app, host=self.hostname, port=self.port diff --git a/eng/ci/extension-release.yml b/eng/ci/extension-release.yml index a8e47dd..e011803 100644 --- a/eng/ci/extension-release.yml +++ b/eng/ci/extension-release.yml @@ -13,7 +13,7 @@ resources: pipelines: - pipeline: officialBuild project: internal - source: azure-functions-python-extensions.official + source: python-extensions.official branch: dev trigger: none diff --git a/eng/templates/jobs/build.yml b/eng/templates/jobs/build.yml index dcdc6a3..4425295 100644 --- a/eng/templates/jobs/build.yml +++ b/eng/templates/jobs/build.yml @@ -16,9 +16,9 @@ jobs: eventhub_extension: EXTENSION_DIRECTORY: 'azurefunctions-extensions-bindings-eventhub' EXTENSION_NAME: 'EventHub' - # servicebus_extension: - # EXTENSION_DIRECTORY: 'azurefunctions-extensions-bindings-servicebus' - # EXTENSION_NAME: 'ServiceBus' + servicebus_extension: + EXTENSION_DIRECTORY: 'azurefunctions-extensions-bindings-servicebus' + EXTENSION_NAME: 'ServiceBus' fastapi_extension: EXTENSION_DIRECTORY: 'azurefunctions-extensions-http-fastapi' EXTENSION_NAME: 'Http' diff --git a/eng/templates/official/jobs/unit-tests.yml b/eng/templates/official/jobs/unit-tests.yml index 3146443..198e94f 100644 --- a/eng/templates/official/jobs/unit-tests.yml +++ b/eng/templates/official/jobs/unit-tests.yml @@ -5,9 +5,6 @@ parameters: - name: python_versions type: object default: - # 3.8 is EOL. Don't run tests for it - python39: - PYTHON_VERSION: '3.9' python310: PYTHON_VERSION: '3.10' python311: @@ -16,6 +13,8 @@ parameters: PYTHON_VERSION: '3.12' python313: PYTHON_VERSION: '3.13' + python314: + PYTHON_VERSION: '3.14' jobs: - job: "BaseTests" @@ -153,8 +152,15 @@ jobs: displayName: "ServiceBus Extension Tests" dependsOn: [] strategy: - matrix: ${{ parameters.python_versions }} - condition: always() + matrix: + python310: + PYTHON_VERSION: '3.10' + python311: + PYTHON_VERSION: '3.11' + python312: + PYTHON_VERSION: '3.12' + python313: + PYTHON_VERSION: '3.13' steps: - task: PipAuthenticate@1 displayName: 'Pip Authenticate'