diff --git a/azure/functions/__init__.py b/azure/functions/__init__.py index 684e853..b79e2c3 100644 --- a/azure/functions/__init__.py +++ b/azure/functions/__init__.py @@ -113,4 +113,4 @@ 'mcp_content', ) -__version__ = '2.2.0b5' +__version__ = '1.26.0b3' diff --git a/azure/functions/decorators/function_app.py b/azure/functions/decorators/function_app.py index 78c3a39..9ed2b6f 100644 --- a/azure/functions/decorators/function_app.py +++ b/azure/functions/decorators/function_app.py @@ -1726,7 +1726,7 @@ def decorator(fb: FunctionBuilder) -> FunctionBuilder: list_item_type) for union_arg in union_args: if (isinstance(union_arg, type) - and union_arg is not + and union_arg is not # noqa type(None)): if hasattr(union_arg, '__module__'): diff --git a/pyproject.toml b/pyproject.toml index 4214924..2b44c9c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta" [project] name = "azure-functions" dynamic = ["version"] -requires-python = ">=3.13" +requires-python = ">=3.10,<3.13" authors = [{ name = "Azure Functions team at Microsoft Corp.", email = "azurefunctions@microsoft.com" }] description = "Python library for Azure Functions." readme = "README.md" @@ -14,8 +14,9 @@ classifiers = [ 'License :: OSI Approved :: MIT License', 'Intended Audience :: Developers', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.13', - 'Programming Language :: Python :: 3.14', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Operating System :: MacOS :: MacOS X',