Skip to content

feat: drop Python 3.9 and add Python 3.14 support across packaging, CI, and docs#1481

Open
Copilot wants to merge 4 commits into
mainfrom
copilot/feat-drop-support-for-3-9
Open

feat: drop Python 3.9 and add Python 3.14 support across packaging, CI, and docs#1481
Copilot wants to merge 4 commits into
mainfrom
copilot/feat-drop-support-for-3-9

Conversation

Copy link
Copy Markdown

Copilot AI commented May 18, 2026

This aligns the SDK’s supported Python versions with current Kiota expectations by removing Python 3.9 support, setting 3.10 as the minimum, and adding Python 3.14 support. It updates packaging metadata, CI runtime coverage, publishing runtime, and user-facing support documentation consistently.

  • Packaging metadata

    • Updated pyproject.toml to require Python >=3.10.
    • Removed the Programming Language :: Python :: 3.9 classifier.
    • Added the Programming Language :: Python :: 3.14 classifier.
  • CI workflow runtime matrix

    • Removed Python 3.9 from .github/workflows/build.yml test matrix.
    • Expanded matrix coverage from 3.10–3.13 to 3.10–3.14.
  • Publish workflow runtime

    • Updated .github/workflows/publish.yml to use Python 3.14 for package publishing.
  • Documentation and environment references

    • Added explicit support statement in README.md that the SDK supports Python 3.10+.
    • Removed stale Python 3.9 devcontainer image reference from .devcontainer/devcontainer.json.
    • Updated the devcontainer target image to Python 3.14 (mcr.microsoft.com/devcontainers/python:3.14-bullseye), with 3.14-bookworm as the commented alternative.
# pyproject.toml
-requires-python = ">=3.9"
+requires-python = ">=3.10"

 classifiers = [
-  "Programming Language :: Python :: 3.9",
   "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",
 ]

Copilot AI linked an issue May 18, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Drop support for Python 3.9 and upgrade dependencies feat: drop Python 3.9 support across packaging, CI, and docs May 18, 2026
Copilot AI requested a review from ramsessanchez May 18, 2026 22:48
@ramsessanchez
Copy link
Copy Markdown
Contributor

@copilot add support for 3.14

Copy link
Copy Markdown
Author

Copilot AI commented May 18, 2026

@copilot add support for 3.14

Added Python 3.14 support in pyproject.toml classifiers, the CI build matrix, and the publish workflow runtime in commit 2a0154d.

Copilot AI changed the title feat: drop Python 3.9 support across packaging, CI, and docs feat: drop Python 3.9 and add Python 3.14 support across packaging, CI, and docs May 18, 2026
@ramsessanchez
Copy link
Copy Markdown
Contributor

@copilot remove 3.9 from .devcontainer, also make sure target image is 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>
Copy link
Copy Markdown
Author

Copilot AI commented May 18, 2026

@copilot remove 3.9 from .devcontainer, also make sure target image is 3.14

Updated .devcontainer/devcontainer.json to target Python 3.14 (3.14-bullseye, with 3.14-bookworm commented option) and confirmed no Python 3.9 reference remains there in commit f7712fa.

@ramsessanchez ramsessanchez marked this pull request as ready for review May 18, 2026 23:45
@ramsessanchez ramsessanchez requested a review from a team as a code owner May 18, 2026 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop Support for 3.9

2 participants