From 8c980a6cfd9e03fd7664bfbd05ece135e6bbf943 Mon Sep 17 00:00:00 2001 From: Chris Mullins Date: Tue, 14 Oct 2025 15:17:02 -0700 Subject: [PATCH 1/5] Update Python version requirements to 3.10 across multiple files --- .azdo/ci-pr.yaml | 2 -- .github/workflows/python-package.yml | 2 +- README.md | 2 +- libraries/microsoft-agents-activity/pyproject.toml | 2 +- .../microsoft-agents-authentication-msal/pyproject.toml | 2 +- .../microsoft-agents-copilotstudio-client/pyproject.toml | 2 +- libraries/microsoft-agents-copilotstudio-client/readme.md | 2 +- libraries/microsoft-agents-hosting-aiohttp/pyproject.toml | 2 +- libraries/microsoft-agents-hosting-aiohttp/readme.md | 2 +- libraries/microsoft-agents-hosting-core/pyproject.toml | 2 +- libraries/microsoft-agents-hosting-teams/pyproject.toml | 2 +- libraries/microsoft-agents-storage-blob/pyproject.toml | 2 +- libraries/microsoft-agents-storage-cosmos/pyproject.toml | 2 +- scripts/README.md | 2 +- test_samples/README.md | 6 +++--- versioning/pyproject.toml | 2 +- 16 files changed, 17 insertions(+), 19 deletions(-) diff --git a/.azdo/ci-pr.yaml b/.azdo/ci-pr.yaml index f6b62566..75bcf8ec 100644 --- a/.azdo/ci-pr.yaml +++ b/.azdo/ci-pr.yaml @@ -8,8 +8,6 @@ pool: strategy: matrix: - Python_3.9: - PYTHON_VERSION: '3.9' Python_3.10: PYTHON_VERSION: '3.10' Python_3.11: diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 4bba6227..39620b94 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.9", "3.10", "3.11"] + python-version: ["3.10", "3.11"] steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index 2dc81dbd..e7349269 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ Additionally we provide a Copilot Studio Client, to interact with Agents created ### Environment requirements -The packages should target Python 3.9 or greater, and can be used with modern Python package managers like pip, poetry, or conda. +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. diff --git a/libraries/microsoft-agents-activity/pyproject.toml b/libraries/microsoft-agents-activity/pyproject.toml index 0c6938ab..f958e23f 100644 --- a/libraries/microsoft-agents-activity/pyproject.toml +++ b/libraries/microsoft-agents-activity/pyproject.toml @@ -10,7 +10,7 @@ readme = {file = "readme.md", content-type = "text/markdown"} authors = [{name = "Microsoft Corporation"}] license = "MIT" license-files = ["LICENSE"] -requires-python = ">=3.9" +requires-python = ">=3.10" classifiers = [ "Programming Language :: Python :: 3", "Operating System :: OS Independent", diff --git a/libraries/microsoft-agents-authentication-msal/pyproject.toml b/libraries/microsoft-agents-authentication-msal/pyproject.toml index dd0ab327..c8c23262 100644 --- a/libraries/microsoft-agents-authentication-msal/pyproject.toml +++ b/libraries/microsoft-agents-authentication-msal/pyproject.toml @@ -10,7 +10,7 @@ readme = {file = "readme.md", content-type = "text/markdown"} authors = [{name = "Microsoft Corporation"}] license = "MIT" license-files = ["LICENSE"] -requires-python = ">=3.9" +requires-python = ">=3.10" classifiers = [ "Programming Language :: Python :: 3", "Operating System :: OS Independent", diff --git a/libraries/microsoft-agents-copilotstudio-client/pyproject.toml b/libraries/microsoft-agents-copilotstudio-client/pyproject.toml index 1509b964..18217cac 100644 --- a/libraries/microsoft-agents-copilotstudio-client/pyproject.toml +++ b/libraries/microsoft-agents-copilotstudio-client/pyproject.toml @@ -10,7 +10,7 @@ readme = {file = "readme.md", content-type = "text/markdown"} authors = [{name = "Microsoft Corporation"}] license = "MIT" license-files = ["LICENSE"] -requires-python = ">=3.9" +requires-python = ">=3.10" classifiers = [ "Programming Language :: Python :: 3", "Operating System :: OS Independent", diff --git a/libraries/microsoft-agents-copilotstudio-client/readme.md b/libraries/microsoft-agents-copilotstudio-client/readme.md index 1ce21edf..9f38ff0e 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.9+ +- Python 3.10+ - 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 22013a7f..929b2a58 100644 --- a/libraries/microsoft-agents-hosting-aiohttp/pyproject.toml +++ b/libraries/microsoft-agents-hosting-aiohttp/pyproject.toml @@ -10,7 +10,7 @@ readme = {file = "readme.md", content-type = "text/markdown"} authors = [{name = "Microsoft Corporation"}] license = "MIT" license-files = ["LICENSE"] -requires-python = ">=3.9" +requires-python = ">=3.10" classifiers = [ "Programming Language :: Python :: 3", "Operating System :: OS Independent", diff --git a/libraries/microsoft-agents-hosting-aiohttp/readme.md b/libraries/microsoft-agents-hosting-aiohttp/readme.md index 2d397e4c..2d61284c 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.9+ +- Python 3.10+ - 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 20bb2202..624add08 100644 --- a/libraries/microsoft-agents-hosting-core/pyproject.toml +++ b/libraries/microsoft-agents-hosting-core/pyproject.toml @@ -10,7 +10,7 @@ readme = {file = "readme.md", content-type = "text/markdown"} authors = [{name = "Microsoft Corporation"}] license = "MIT" license-files = ["LICENSE"] -requires-python = ">=3.9" +requires-python = ">=3.10" classifiers = [ "Programming Language :: Python :: 3", "Operating System :: OS Independent", diff --git a/libraries/microsoft-agents-hosting-teams/pyproject.toml b/libraries/microsoft-agents-hosting-teams/pyproject.toml index 401b15ee..7a21f70e 100644 --- a/libraries/microsoft-agents-hosting-teams/pyproject.toml +++ b/libraries/microsoft-agents-hosting-teams/pyproject.toml @@ -10,7 +10,7 @@ readme = {file = "readme.md", content-type = "text/markdown"} authors = [{name = "Microsoft Corporation"}] license = "MIT" license-files = ["LICENSE"] -requires-python = ">=3.9" +requires-python = ">=3.10" classifiers = [ "Programming Language :: Python :: 3", "Operating System :: OS Independent", diff --git a/libraries/microsoft-agents-storage-blob/pyproject.toml b/libraries/microsoft-agents-storage-blob/pyproject.toml index 1b1be7d7..c1fb1368 100644 --- a/libraries/microsoft-agents-storage-blob/pyproject.toml +++ b/libraries/microsoft-agents-storage-blob/pyproject.toml @@ -10,7 +10,7 @@ readme = {file = "readme.md", content-type = "text/markdown"} authors = [{name = "Microsoft Corporation"}] license = "MIT" license-files = ["LICENSE"] -requires-python = ">=3.9" +requires-python = ">=3.10" classifiers = [ "Programming Language :: Python :: 3", "Operating System :: OS Independent", diff --git a/libraries/microsoft-agents-storage-cosmos/pyproject.toml b/libraries/microsoft-agents-storage-cosmos/pyproject.toml index a2318f8a..ac5acbe3 100644 --- a/libraries/microsoft-agents-storage-cosmos/pyproject.toml +++ b/libraries/microsoft-agents-storage-cosmos/pyproject.toml @@ -10,7 +10,7 @@ readme = {file = "readme.md", content-type = "text/markdown"} authors = [{name = "Microsoft Corporation"}] license = "MIT" license-files = ["LICENSE"] -requires-python = ">=3.9" +requires-python = ">=3.10" classifiers = [ "Programming Language :: Python :: 3", "Operating System :: OS Independent", diff --git a/scripts/README.md b/scripts/README.md index 9b60c37c..be891650 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -4,7 +4,7 @@ This folder contains helpful scripts for development. ## Development Setup Scripts -Both of these scripts will create a Python environment based on the default version of `python` in your PATH. Ensure the version is at least 3.9 by running: +Both of these scripts will create a Python environment based on the default version of `python` in your PATH. Ensure the version is at least 10 by running: ```bash python --version diff --git a/test_samples/README.md b/test_samples/README.md index 2faf8016..2046e670 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.9 to 3.11. +This guide explains how to create and activate a Python virtual environment using `venv` for Python versions 3.10 to 3.11. ## 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.9, 3.10, or 3.11 installed on your system +- Python 3.10, or 3.11 installed on your system - Basic knowledge of command line operations ## Creating a Virtual Environment @@ -78,7 +78,7 @@ To verify the Python version in your virtual environment: python --version ``` -Make sure it shows a version between 3.9 and 3.11 as required. +Make sure it shows a version at least 3.10 ## Installing Test Packages diff --git a/versioning/pyproject.toml b/versioning/pyproject.toml index ff9d0b09..0017cde2 100644 --- a/versioning/pyproject.toml +++ b/versioning/pyproject.toml @@ -14,4 +14,4 @@ name = "helper" dynamic = ["version"] description = "Helper project to calculate version" authors = [{name = "Microsoft Corporation"}] -requires-python = ">=3.9" +requires-python = ">=3.10" From dea9ec00d4bc45c94d5dc2e8cc8134ed8f0e7662 Mon Sep 17 00:00:00 2001 From: Chris Mullins Date: Tue, 14 Oct 2025 15:23:44 -0700 Subject: [PATCH 2/5] Update scripts/README.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- scripts/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/README.md b/scripts/README.md index be891650..a263eb3d 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -4,7 +4,7 @@ This folder contains helpful scripts for development. ## Development Setup Scripts -Both of these scripts will create a Python environment based on the default version of `python` in your PATH. Ensure the version is at least 10 by running: +Both of these scripts will create a Python environment based on the default version of `python` in your PATH. Ensure the version is at least 3.10 by running: ```bash python --version From 55e191b6de2913646983ce9fcbdfdc0b429b9052 Mon Sep 17 00:00:00 2001 From: Chris Mullins Date: Tue, 14 Oct 2025 15:23:56 -0700 Subject: [PATCH 3/5] Update test_samples/README.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- test_samples/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_samples/README.md b/test_samples/README.md index 2046e670..c6204930 100644 --- a/test_samples/README.md +++ b/test_samples/README.md @@ -78,7 +78,7 @@ To verify the Python version in your virtual environment: python --version ``` -Make sure it shows a version at least 3.10 +Make sure it shows a version of at least 3.10 ## Installing Test Packages From 989be36c1912c4e2f7a65dc85daaee2cbf4cbda2 Mon Sep 17 00:00:00 2001 From: Chris Mullins Date: Tue, 14 Oct 2025 15:40:03 -0700 Subject: [PATCH 4/5] Update test_samples/README.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- test_samples/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_samples/README.md b/test_samples/README.md index c6204930..98e28aee 100644 --- a/test_samples/README.md +++ b/test_samples/README.md @@ -78,7 +78,7 @@ To verify the Python version in your virtual environment: python --version ``` -Make sure it shows a version of at least 3.10 +Make sure it shows a version of at least 3.10. ## Installing Test Packages From 590ade4bb121e14e6fb63207c11b55c5be38eb25 Mon Sep 17 00:00:00 2001 From: Chris Mullins Date: Wed, 15 Oct 2025 13:31:19 -0700 Subject: [PATCH 5/5] Force refresh of PR as the 3.9 check is still needed in the PR. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e7349269..6afd3e82 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ The Microsoft 365 Agent SDK simplifies building full stack, multichannel, truste The M365 Agent SDK is a comprehensive framework for building enterprise-grade agents, enabling developers to integrate components from the Azure AI Foundry SDK, Semantic Kernel, as well as AI components from other vendors. -For more information please see the parent project information here [Microsoft 365 Agents SDK](https://aka.ms/agents) +For more information please see the parent project information here [Microsoft 365 Agents SDK](https://aka.ms/agents). ## Getting Started