diff --git a/changelog.md b/changelog.md index 13bedc79..faf4f45d 100644 --- a/changelog.md +++ b/changelog.md @@ -11,6 +11,9 @@ ## Bug Fixes - **OAuth Flow Storage**: Avoided redundant writes when the flow state is unchanged in the cache. +## Developer Experience +- Building packages with `py.typed` files for improved typing support + # Microsoft 365 Agents SDK for Python - Release Notes v1.3.0 **Release Date:** 2026-07-30 diff --git a/libraries/microsoft-agents-activity/microsoft_agents/activity/py.typed b/libraries/microsoft-agents-activity/microsoft_agents/activity/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/libraries/microsoft-agents-activity/pyproject.toml b/libraries/microsoft-agents-activity/pyproject.toml index 7d789103..7567228a 100644 --- a/libraries/microsoft-agents-activity/pyproject.toml +++ b/libraries/microsoft-agents-activity/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=64"] +requires = ["setuptools>=77"] build-backend = "setuptools.build_meta" [project] @@ -24,5 +24,8 @@ dependencies = [ "pydantic>=2.10.4" ] +[tool.setuptools.package-data] +"microsoft_agents.activity" = ["py.typed"] + [project.urls] "Homepage" = "https://github.com/microsoft/Agents" diff --git a/libraries/microsoft-agents-authentication-entra-auth-sidecar/microsoft_agents/authentication/entra_auth_sidecar/py.typed b/libraries/microsoft-agents-authentication-entra-auth-sidecar/microsoft_agents/authentication/entra_auth_sidecar/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/libraries/microsoft-agents-authentication-entra-auth-sidecar/pyproject.toml b/libraries/microsoft-agents-authentication-entra-auth-sidecar/pyproject.toml index a65d866a..7a4a0c37 100644 --- a/libraries/microsoft-agents-authentication-entra-auth-sidecar/pyproject.toml +++ b/libraries/microsoft-agents-authentication-entra-auth-sidecar/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=64"] +requires = ["setuptools>=77"] build-backend = "setuptools.build_meta" [project] @@ -21,5 +21,8 @@ classifiers = [ "Operating System :: OS Independent", ] +[tool.setuptools.package-data] +"microsoft_agents.authentication.entra_auth_sidecar" = ["py.typed"] + [project.urls] "Homepage" = "https://github.com/microsoft/Agents" diff --git a/libraries/microsoft-agents-authentication-msal/microsoft_agents/authentication/msal/py.typed b/libraries/microsoft-agents-authentication-msal/microsoft_agents/authentication/msal/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/libraries/microsoft-agents-authentication-msal/pyproject.toml b/libraries/microsoft-agents-authentication-msal/pyproject.toml index 8f910e83..e6e4920e 100644 --- a/libraries/microsoft-agents-authentication-msal/pyproject.toml +++ b/libraries/microsoft-agents-authentication-msal/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=64"] +requires = ["setuptools>=77"] build-backend = "setuptools.build_meta" [project] @@ -21,5 +21,8 @@ classifiers = [ "Operating System :: OS Independent", ] +[tool.setuptools.package-data] +"microsoft_agents.authentication.msal" = ["py.typed"] + [project.urls] "Homepage" = "https://github.com/microsoft/Agents" diff --git a/libraries/microsoft-agents-copilotstudio-client/microsoft_agents/copilotstudio/client/py.typed b/libraries/microsoft-agents-copilotstudio-client/microsoft_agents/copilotstudio/client/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/libraries/microsoft-agents-copilotstudio-client/pyproject.toml b/libraries/microsoft-agents-copilotstudio-client/pyproject.toml index ac3b079d..22e066f8 100644 --- a/libraries/microsoft-agents-copilotstudio-client/pyproject.toml +++ b/libraries/microsoft-agents-copilotstudio-client/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools"] +requires = ["setuptools>=77"] build-backend = "setuptools.build_meta" [project] @@ -21,5 +21,8 @@ classifiers = [ "Operating System :: OS Independent", ] +[tool.setuptools.package-data] +"microsoft_agents.copilotstudio.client" = ["py.typed"] + [project.urls] "Homepage" = "https://github.com/microsoft/Agents" diff --git a/libraries/microsoft-agents-hosting-aiohttp/microsoft_agents/hosting/aiohttp/py.typed b/libraries/microsoft-agents-hosting-aiohttp/microsoft_agents/hosting/aiohttp/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/libraries/microsoft-agents-hosting-aiohttp/pyproject.toml b/libraries/microsoft-agents-hosting-aiohttp/pyproject.toml index fcc63131..4b5cfe7a 100644 --- a/libraries/microsoft-agents-hosting-aiohttp/pyproject.toml +++ b/libraries/microsoft-agents-hosting-aiohttp/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools"] +requires = ["setuptools>=77"] build-backend = "setuptools.build_meta" [project] @@ -21,5 +21,8 @@ classifiers = [ "Operating System :: OS Independent", ] +[tool.setuptools.package-data] +"microsoft_agents.hosting.aiohttp" = ["py.typed"] + [project.urls] "Homepage" = "https://github.com/microsoft/Agents" diff --git a/libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/py.typed b/libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/libraries/microsoft-agents-hosting-core/pyproject.toml b/libraries/microsoft-agents-hosting-core/pyproject.toml index c231347b..0da3cffa 100644 --- a/libraries/microsoft-agents-hosting-core/pyproject.toml +++ b/libraries/microsoft-agents-hosting-core/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools"] +requires = ["setuptools>=77"] build-backend = "setuptools.build_meta" [project] @@ -21,5 +21,8 @@ classifiers = [ "Operating System :: OS Independent", ] +[tool.setuptools.package-data] +"microsoft_agents.hosting.core" = ["py.typed"] + [project.urls] "Homepage" = "https://github.com/microsoft/Agents" diff --git a/libraries/microsoft-agents-hosting-dialogs/MANIFEST.in b/libraries/microsoft-agents-hosting-dialogs/MANIFEST.in new file mode 100644 index 00000000..43a71d9e --- /dev/null +++ b/libraries/microsoft-agents-hosting-dialogs/MANIFEST.in @@ -0,0 +1 @@ +include VERSION.txt \ No newline at end of file diff --git a/libraries/microsoft-agents-hosting-dialogs/microsoft_agents/hosting/dialogs/py.typed b/libraries/microsoft-agents-hosting-dialogs/microsoft_agents/hosting/dialogs/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/libraries/microsoft-agents-hosting-dialogs/pyproject.toml b/libraries/microsoft-agents-hosting-dialogs/pyproject.toml index ab948a1b..ec2d145e 100644 --- a/libraries/microsoft-agents-hosting-dialogs/pyproject.toml +++ b/libraries/microsoft-agents-hosting-dialogs/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools"] +requires = ["setuptools>=77"] build-backend = "setuptools.build_meta" [project] @@ -21,5 +21,8 @@ classifiers = [ "Operating System :: OS Independent", ] +[tool.setuptools.package-data] +"microsoft_agents.hosting.dialogs" = ["py.typed"] + [project.urls] "Homepage" = "https://github.com/microsoft/Agents" diff --git a/libraries/microsoft-agents-hosting-fastapi/microsoft_agents/hosting/fastapi/py.typed b/libraries/microsoft-agents-hosting-fastapi/microsoft_agents/hosting/fastapi/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/libraries/microsoft-agents-hosting-fastapi/pyproject.toml b/libraries/microsoft-agents-hosting-fastapi/pyproject.toml index 8ba1a6cd..d92be0bb 100644 --- a/libraries/microsoft-agents-hosting-fastapi/pyproject.toml +++ b/libraries/microsoft-agents-hosting-fastapi/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools"] +requires = ["setuptools>=77"] build-backend = "setuptools.build_meta" [project] @@ -16,5 +16,8 @@ classifiers = [ "Operating System :: OS Independent", ] +[tool.setuptools.package-data] +"microsoft_agents.hosting.fastapi" = ["py.typed"] + [project.urls] "Homepage" = "https://github.com/microsoft/Agents" \ No newline at end of file diff --git a/libraries/microsoft-agents-hosting-msteams/microsoft_agents/hosting/msteams/py.typed b/libraries/microsoft-agents-hosting-msteams/microsoft_agents/hosting/msteams/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/libraries/microsoft-agents-hosting-msteams/pyproject.toml b/libraries/microsoft-agents-hosting-msteams/pyproject.toml index a21a04f2..76f2f149 100644 --- a/libraries/microsoft-agents-hosting-msteams/pyproject.toml +++ b/libraries/microsoft-agents-hosting-msteams/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools"] +requires = ["setuptools>=77"] build-backend = "setuptools.build_meta" [project] @@ -20,5 +20,8 @@ classifiers = [ "Operating System :: OS Independent", ] +[tool.setuptools.package-data] +"microsoft_agents.hosting.msteams" = ["py.typed"] + [project.urls] "Homepage" = "https://github.com/microsoft/Agents" diff --git a/libraries/microsoft-agents-hosting-slack/microsoft_agents/hosting/slack/py.typed b/libraries/microsoft-agents-hosting-slack/microsoft_agents/hosting/slack/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/libraries/microsoft-agents-hosting-slack/pyproject.toml b/libraries/microsoft-agents-hosting-slack/pyproject.toml index 79d2db73..8b9792df 100644 --- a/libraries/microsoft-agents-hosting-slack/pyproject.toml +++ b/libraries/microsoft-agents-hosting-slack/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools"] +requires = ["setuptools>=77"] build-backend = "setuptools.build_meta" [project] @@ -21,5 +21,8 @@ classifiers = [ "Operating System :: OS Independent", ] +[tool.setuptools.package-data] +"microsoft_agents.hosting.slack" = ["py.typed"] + [project.urls] "Homepage" = "https://github.com/microsoft/Agents" diff --git a/libraries/microsoft-agents-hosting-teams/microsoft_agents/hosting/teams/py.typed b/libraries/microsoft-agents-hosting-teams/microsoft_agents/hosting/teams/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/libraries/microsoft-agents-hosting-teams/pyproject.toml b/libraries/microsoft-agents-hosting-teams/pyproject.toml index 3ab2c145..578e4afc 100644 --- a/libraries/microsoft-agents-hosting-teams/pyproject.toml +++ b/libraries/microsoft-agents-hosting-teams/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools"] +requires = ["setuptools>=77"] build-backend = "setuptools.build_meta" [project] @@ -19,5 +19,8 @@ classifiers = [ "Operating System :: OS Independent", ] +[tool.setuptools.package-data] +"microsoft_agents.hosting.teams" = ["py.typed"] + [project.urls] "Homepage" = "https://github.com/microsoft/Agents" diff --git a/libraries/microsoft-agents-storage-blob/microsoft_agents/storage/blob/py.typed b/libraries/microsoft-agents-storage-blob/microsoft_agents/storage/blob/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/libraries/microsoft-agents-storage-blob/pyproject.toml b/libraries/microsoft-agents-storage-blob/pyproject.toml index 936b7481..1b90b2d6 100644 --- a/libraries/microsoft-agents-storage-blob/pyproject.toml +++ b/libraries/microsoft-agents-storage-blob/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools"] +requires = ["setuptools>=77"] build-backend = "setuptools.build_meta" [project] @@ -21,5 +21,8 @@ classifiers = [ "Operating System :: OS Independent", ] +[tool.setuptools.package-data] +"microsoft_agents.storage.blob" = ["py.typed"] + [project.urls] "Homepage" = "https://github.com/microsoft/Agents" diff --git a/libraries/microsoft-agents-storage-cosmos/microsoft_agents/storage/cosmos/py.typed b/libraries/microsoft-agents-storage-cosmos/microsoft_agents/storage/cosmos/py.typed new file mode 100644 index 00000000..e69de29b diff --git a/libraries/microsoft-agents-storage-cosmos/pyproject.toml b/libraries/microsoft-agents-storage-cosmos/pyproject.toml index 43b0dc9b..34216703 100644 --- a/libraries/microsoft-agents-storage-cosmos/pyproject.toml +++ b/libraries/microsoft-agents-storage-cosmos/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools"] +requires = ["setuptools>=77"] build-backend = "setuptools.build_meta" [project] @@ -21,5 +21,8 @@ classifiers = [ "Operating System :: OS Independent", ] +[tool.setuptools.package-data] +"microsoft_agents.storage.cosmos" = ["py.typed"] + [project.urls] "Homepage" = "https://github.com/microsoft/Agents"