Skip to content

feat: drop Python 3.9 support and add Python 3.14 support#1043

Merged
ramsessanchez merged 4 commits into
mainfrom
copilot/feat-drop-support-3-9
May 19, 2026
Merged

feat: drop Python 3.9 support and add Python 3.14 support#1043
ramsessanchez merged 4 commits into
mainfrom
copilot/feat-drop-support-3-9

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 18, 2026

Aligns this SDK with kiota-python by removing Python 3.9 from all supported version references and adding Python 3.14. Minimum supported version is now 3.10.

Overview

  • pyproject.toml: requires-python bumped to >=3.10; removed Programming Language :: Python :: 3.9 classifier and added Programming Language :: Python :: 3.14 classifier
  • .github/workflows/build.yml: removed "3.9" from the CI test matrix and added "3.14"
  • README.md: prerequisites updated from Python 3.9+Python 3.10+
  • .devcontainer/devcontainer.json: removed the 3.9-bookworm commented image reference; updated the active image to mcr.microsoft.com/devcontainers/python:3.14-bookworm

Notes

No dependency version changes were required at this time — no dependencies were being held back solely for 3.9 compatibility.

Testing Instructions

  • Check out this branch
  • Confirm pyproject.toml no longer lists 3.9 in classifiers or requires-python
  • Confirm the build.yml matrix runs ["3.10", "3.11", "3.12", "3.13", "3.14"]
  • Confirm .devcontainer/devcontainer.json no longer references 3.9 and the active image is 3.14-bookworm
  • Optionally attempt pip install in a Python 3.9 environment — expect a resolver error indicating the package requires >=3.10

Copilot AI linked an issue May 18, 2026 that may be closed by this pull request
Agent-Logs-Url: https://github.com/microsoftgraph/msgraph-sdk-python-core/sessions/1c1c3c0f-5789-4889-8936-a38229018747

Co-authored-by: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com>
Copilot AI changed the title [WIP] Drop support for Python version 3.9 feat: drop Python 3.9 support May 18, 2026
Copilot AI requested a review from ramsessanchez May 18, 2026 22:46
@ramsessanchez ramsessanchez marked this pull request as ready for review May 18, 2026 23:06
@ramsessanchez ramsessanchez requested a review from a team as a code owner May 18, 2026 23:06
@ramsessanchez
Copy link
Copy Markdown
Contributor

@copilot add support for 3.14

Agent-Logs-Url: https://github.com/microsoftgraph/msgraph-sdk-python-core/sessions/d497072d-c7f3-421f-98a8-b5c852c47ff6

Co-authored-by: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 18, 2026

@copilot add support for 3.14

Done in e2bfae1 — added "3.14" to the CI matrix in build.yml and the Programming Language :: Python :: 3.14 classifier in pyproject.toml.

Copilot AI changed the title feat: drop Python 3.9 support feat: drop Python 3.9 support and add Python 3.14 support May 18, 2026
Copilot AI requested a review from ramsessanchez May 18, 2026 23:13
@ramsessanchez
Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 18, 2026

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

Done in 55b1f0c — removed the 3.9-bookworm commented image line from .devcontainer/devcontainer.json and updated the active image to mcr.microsoft.com/devcontainers/python:3.14-bookworm.

@sonarqubecloud
Copy link
Copy Markdown

@ramsessanchez ramsessanchez enabled auto-merge (squash) May 19, 2026 00:14
@ramsessanchez ramsessanchez merged commit 4cb5cf4 into main May 19, 2026
14 checks passed
@ramsessanchez ramsessanchez deleted the copilot/feat-drop-support-3-9 branch May 19, 2026 00:27
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

3 participants