diff --git a/.azdo/ci-pr.yaml b/.azdo/ci-pr.yaml index 75bcf8ec..cf6e2ff8 100644 --- a/.azdo/ci-pr.yaml +++ b/.azdo/ci-pr.yaml @@ -12,6 +12,12 @@ strategy: PYTHON_VERSION: '3.10' Python_3.11: PYTHON_VERSION: '3.11' + Python_3.12: + PYTHON_VERSION: '3.12' + Python_3.13: + PYTHON_VERSION: '3.13' + Python_3.14: + PYTHON_VERSION: '3.14' variables: - name: PackageVersion diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 39620b94..8e8e8dfa 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.10", "3.11"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index 6afd3e82..502df301 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ Additionally we provide a Copilot Studio Client, to interact with Agents created The packages should target Python 3.10 or greater, and can be used with modern Python package managers like pip, poetry, or conda. -> Note: We recommend using Python 3.11 or later for optimal performance and compatibility with all features. +> Note: We recommend using Python 3.11 or later for optimal performance and compatibility with all features. The SDK supports Python 3.10, 3.11, 3.12, 3.13, and 3.14. ### Debugging diff --git a/libraries/microsoft-agents-activity/pyproject.toml b/libraries/microsoft-agents-activity/pyproject.toml index f958e23f..7d789103 100644 --- a/libraries/microsoft-agents-activity/pyproject.toml +++ b/libraries/microsoft-agents-activity/pyproject.toml @@ -13,6 +13,11 @@ license-files = ["LICENSE"] requires-python = ">=3.10" classifiers = [ "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Operating System :: OS Independent", ] dependencies = [ diff --git a/libraries/microsoft-agents-authentication-msal/pyproject.toml b/libraries/microsoft-agents-authentication-msal/pyproject.toml index c8c23262..8f910e83 100644 --- a/libraries/microsoft-agents-authentication-msal/pyproject.toml +++ b/libraries/microsoft-agents-authentication-msal/pyproject.toml @@ -13,6 +13,11 @@ license-files = ["LICENSE"] requires-python = ">=3.10" classifiers = [ "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Operating System :: OS Independent", ] diff --git a/libraries/microsoft-agents-authentication-msal/readme.md b/libraries/microsoft-agents-authentication-msal/readme.md index 6fce36ab..76ec350b 100644 --- a/libraries/microsoft-agents-authentication-msal/readme.md +++ b/libraries/microsoft-agents-authentication-msal/readme.md @@ -111,5 +111,14 @@ class AuthTypes(str, Enum): - 🐛 [Report Issues](https://github.com/microsoft/Agents-for-python/issues) # Sample Applications - -w \ No newline at end of file +Explore working examples in the [Python samples repository](https://github.com/microsoft/Agents/tree/main/samples/python): + +|Name|Description|README| +|----|----|----| +|Quickstart|Simplest agent|[Quickstart](https://github.com/microsoft/Agents/blob/main/samples/python/quickstart/README.md)| +|Auto Sign In|Simple OAuth agent using Graph and GitHub|[auto-signin](https://github.com/microsoft/Agents/blob/main/samples/python/auto-signin/README.md)| +|OBO Authorization|OBO flow to access a Copilot Studio Agent|[obo-authorization](https://github.com/microsoft/Agents/blob/main/samples/python/obo-authorization/README.md)| +|Semantic Kernel Integration|A weather agent built with Semantic Kernel|[semantic-kernel-multiturn](https://github.com/microsoft/Agents/blob/main/samples/python/semantic-kernel-multiturn/README.md)| +|Streaming Agent|Streams OpenAI responses|[azure-ai-streaming](https://github.com/microsoft/Agents/blob/main/samples/python/azureai-streaming/README.md)| +|Copilot Studio Client|Console app to consume a Copilot Studio Agent|[copilotstudio-client](https://github.com/microsoft/Agents/blob/main/samples/python/copilotstudio-client/README.md)| +|Cards Agent|Agent that uses rich cards to enhance conversation design |[cards](https://github.com/microsoft/Agents/blob/main/samples/python/cards/README.md)| \ No newline at end of file diff --git a/libraries/microsoft-agents-copilotstudio-client/pyproject.toml b/libraries/microsoft-agents-copilotstudio-client/pyproject.toml index 18217cac..ac3b079d 100644 --- a/libraries/microsoft-agents-copilotstudio-client/pyproject.toml +++ b/libraries/microsoft-agents-copilotstudio-client/pyproject.toml @@ -13,6 +13,11 @@ license-files = ["LICENSE"] requires-python = ">=3.10" classifiers = [ "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Operating System :: OS Independent", ] diff --git a/libraries/microsoft-agents-copilotstudio-client/readme.md b/libraries/microsoft-agents-copilotstudio-client/readme.md index 9f38ff0e..5582775c 100644 --- a/libraries/microsoft-agents-copilotstudio-client/readme.md +++ b/libraries/microsoft-agents-copilotstudio-client/readme.md @@ -120,7 +120,7 @@ CUSTOM_POWER_PLATFORM_CLOUD=your-custom-cloud.com ## Requirements -- Python 3.10+ +- Python 3.10+ (supports 3.10, 3.11, 3.12, 3.13, 3.14) - Valid Azure AD app registration - Access to Microsoft Power Platform environment - Published Copilot Studio agent diff --git a/libraries/microsoft-agents-hosting-aiohttp/pyproject.toml b/libraries/microsoft-agents-hosting-aiohttp/pyproject.toml index 929b2a58..fcc63131 100644 --- a/libraries/microsoft-agents-hosting-aiohttp/pyproject.toml +++ b/libraries/microsoft-agents-hosting-aiohttp/pyproject.toml @@ -13,6 +13,11 @@ license-files = ["LICENSE"] requires-python = ">=3.10" classifiers = [ "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Operating System :: OS Independent", ] diff --git a/libraries/microsoft-agents-hosting-aiohttp/readme.md b/libraries/microsoft-agents-hosting-aiohttp/readme.md index 2d61284c..e82260f6 100644 --- a/libraries/microsoft-agents-hosting-aiohttp/readme.md +++ b/libraries/microsoft-agents-hosting-aiohttp/readme.md @@ -92,7 +92,7 @@ async def on_error(context: TurnContext, error: Exception): ## Requirements -- Python 3.10+ +- Python 3.10+ (supports 3.10, 3.11, 3.12, 3.13, 3.14) - aiohttp 3.11.11+ - Microsoft Agents hosting core library diff --git a/libraries/microsoft-agents-hosting-core/pyproject.toml b/libraries/microsoft-agents-hosting-core/pyproject.toml index 624add08..c231347b 100644 --- a/libraries/microsoft-agents-hosting-core/pyproject.toml +++ b/libraries/microsoft-agents-hosting-core/pyproject.toml @@ -13,6 +13,11 @@ license-files = ["LICENSE"] requires-python = ">=3.10" classifiers = [ "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Operating System :: OS Independent", ] diff --git a/libraries/microsoft-agents-hosting-teams/pyproject.toml b/libraries/microsoft-agents-hosting-teams/pyproject.toml index 7a21f70e..be1c3898 100644 --- a/libraries/microsoft-agents-hosting-teams/pyproject.toml +++ b/libraries/microsoft-agents-hosting-teams/pyproject.toml @@ -13,6 +13,11 @@ license-files = ["LICENSE"] requires-python = ">=3.10" classifiers = [ "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Operating System :: OS Independent", ] diff --git a/libraries/microsoft-agents-storage-blob/pyproject.toml b/libraries/microsoft-agents-storage-blob/pyproject.toml index c1fb1368..936b7481 100644 --- a/libraries/microsoft-agents-storage-blob/pyproject.toml +++ b/libraries/microsoft-agents-storage-blob/pyproject.toml @@ -13,6 +13,11 @@ license-files = ["LICENSE"] requires-python = ">=3.10" classifiers = [ "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Operating System :: OS Independent", ] diff --git a/libraries/microsoft-agents-storage-cosmos/pyproject.toml b/libraries/microsoft-agents-storage-cosmos/pyproject.toml index ac5acbe3..43b0dc9b 100644 --- a/libraries/microsoft-agents-storage-cosmos/pyproject.toml +++ b/libraries/microsoft-agents-storage-cosmos/pyproject.toml @@ -13,6 +13,11 @@ license-files = ["LICENSE"] requires-python = ">=3.10" classifiers = [ "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Operating System :: OS Independent", ] diff --git a/scripts/README.md b/scripts/README.md index a263eb3d..44b1df89 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -12,6 +12,8 @@ python --version The virtual environment, by default, will created as a directory named `venv` that will be placed at the root of this project. +> Note: The SDK supports Python 3.10, 3.11, 3.12, 3.13, and 3.14. + ### Windows Powershell needs to be set to allow running of scripts. Do this by opening PowerShell in admin mode and running: diff --git a/test_samples/README.md b/test_samples/README.md index 98e28aee..37a7b4c0 100644 --- a/test_samples/README.md +++ b/test_samples/README.md @@ -1,6 +1,6 @@ # Setting Up Virtual Environment and installing the SDK -This guide explains how to create and activate a Python virtual environment using `venv` for Python versions 3.10 to 3.11. +This guide explains how to create and activate a Python virtual environment using `venv` for Python versions 3.10 to 3.14. ## What is a Virtual Environment? @@ -8,7 +8,7 @@ A virtual environment is an isolated Python environment that allows you to insta ## Prerequisites -- Python 3.10, or 3.11 installed on your system +- Python 3.10, 3.11, 3.12, 3.13, or 3.14 installed on your system - Basic knowledge of command line operations ## Creating a Virtual Environment diff --git a/versioning/pyproject.toml b/versioning/pyproject.toml index 0017cde2..ab5dcd5e 100644 --- a/versioning/pyproject.toml +++ b/versioning/pyproject.toml @@ -15,3 +15,12 @@ dynamic = ["version"] description = "Helper project to calculate version" authors = [{name = "Microsoft Corporation"}] requires-python = ">=3.10" +classifiers = [ + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", + "Operating System :: OS Independent", +]