From bbf58039b8b34d7da1e18f48e5c8cd76ee9533cf Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 18 May 2026 22:42:10 +0000 Subject: [PATCH 1/4] Initial plan From a4e4053d9db55c908a3e2dfb9d7f5ec0ea02a286 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 18 May 2026 22:46:03 +0000 Subject: [PATCH 2/4] feat: drop Python 3.9 support metadata and CI matrix Agent-Logs-Url: https://github.com/microsoftgraph/msgraph-sdk-python/sessions/b149b291-3ae9-47a9-9cdd-311077bdd577 Co-authored-by: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> --- .devcontainer/devcontainer.json | 1 - .github/workflows/build.yml | 3 +-- README.md | 1 + pyproject.toml | 3 +-- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 910000f8d72..ae18c45470e 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,7 +3,6 @@ { "name": "Python 3", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile - // "image": "mcr.microsoft.com/devcontainers/python:3.9-bookworm", // "image": "mcr.microsoft.com/devcontainers/python:3.10-bookworm", // "image": "mcr.microsoft.com/devcontainers/python:3.11-bookworm", // "image": "mcr.microsoft.com/devcontainers/python:3.12-bookworm", diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e7327dae354..9e3107bcd92 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: strategy: max-parallel: 5 matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v6 - name: Set up Python ${{ matrix.python-version }} @@ -42,4 +42,3 @@ jobs: - name: One or more build matrix options failed if: ${{ contains(needs.*.result, 'failure') }} run: exit 1 - diff --git a/README.md b/README.md index 53742b30dc9..6e20980cbd1 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ pip install msgraph-sdk > **Note:** > +> * This library supports Python 3.10+. > * The Microsoft Graph SDK for Python is a fairly large package. It may take a few minutes for the initial installation to complete. > * Enable long paths in your environment if you receive a `Could not install packages due to an OSError`. For details, see [Enable Long Paths in Windows 10, Version 1607, and Later](https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=powershell#enable-long-paths-in-windows-10-version-1607-and-later). diff --git a/pyproject.toml b/pyproject.toml index 9a5d80edfa5..4812195084c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,14 +19,13 @@ dependencies = [ "msgraph_core >=1.3.1" ] -requires-python = ">=3.9" +requires-python = ">=3.10" license = "MIT" license-files = ["LICENSE"] readme = "README.md" keywords = ["msgraph", "openAPI", "Microsoft", "Graph"] classifiers = [ "Development Status :: 5 - Production/Stable", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", From 2a0154d6a2216bc87a1cb1aa75b919d57d2c0155 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 18 May 2026 23:13:28 +0000 Subject: [PATCH 3/4] feat: add Python 3.14 support in metadata and workflows Agent-Logs-Url: https://github.com/microsoftgraph/msgraph-sdk-python/sessions/f0db838f-31e8-4ad7-b9ba-e9f18571910d Co-authored-by: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> --- .github/workflows/build.yml | 2 +- .github/workflows/publish.yml | 2 +- pyproject.toml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e3107bcd92..48715f401d4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: strategy: max-parallel: 5 matrix: - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v6 - name: Set up Python ${{ matrix.python-version }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 086867049fc..a82b5360cca 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: 3.13 + python-version: 3.14 - name: Install flit run: | pip install flit diff --git a/pyproject.toml b/pyproject.toml index 4812195084c..86fdae293fb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,6 +30,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] [project.optional-dependencies] From f7712fabef5bafa530afc1b1e01f13c5d1278afb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 18 May 2026 23:27:18 +0000 Subject: [PATCH 4/4] chore: set devcontainer python image to 3.14 Agent-Logs-Url: https://github.com/microsoftgraph/msgraph-sdk-python/sessions/9d2334e8-1034-4309-925b-95d702a548bb Co-authored-by: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> --- .devcontainer/devcontainer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index ae18c45470e..8df3ab61ab4 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -7,8 +7,8 @@ // "image": "mcr.microsoft.com/devcontainers/python:3.11-bookworm", // "image": "mcr.microsoft.com/devcontainers/python:3.12-bookworm", // "image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye", - //"image": "mcr.microsoft.com/devcontainers/python:3.13-bookworm", - "image": "mcr.microsoft.com/devcontainers/python:3.13-bullseye", + //"image": "mcr.microsoft.com/devcontainers/python:3.14-bookworm", + "image": "mcr.microsoft.com/devcontainers/python:3.14-bullseye", "features": { "ghcr.io/hspaans/devcontainer-features/pytest:1": {},