Skip to content

Python: add non-blocking Python 3.15 CI - #8652

Merged
Vincent Biret (baywet) merged 1 commit into
microsoft:mainfrom
eavanvalkenburg:python-315-ci-plan
Sep 22, 2026
Merged

Vincent Biret (baywet) merged 1 commit into
microsoft:mainfrom
eavanvalkenburg:python-315-ci-plan

Conversation

@eavanvalkenburg

Copy link
Copy Markdown
Member

Motivation & Context

Python 3.15 is in release-candidate status and needs early compatibility coverage without making branch protection depend on prerelease ecosystem readiness. Running it in CI now surfaces interpreter and dependency issues before support becomes blocking.

Description & Review Guide

  • What are the major changes? Adds Python 3.15 to the core Python test matrix and applies continue-on-error only to the 3.15 matrix jobs.
  • What is the impact of these changes? Python 3.15 tests run on Ubuntu and Windows without blocking pull requests, while Python 3.10 through 3.14 remain required. Lab CI is unchanged.
  • What do you want reviewers to focus on? Confirm that the conditional allowed-failure behavior is scoped only to Python 3.15 and preserves the existing blocking behavior for supported versions.

Related Issue

N/A — intentionally created without a linked issue.

Contribution Checklist

  • The code builds clean without any errors or warnings
  • All unit tests pass, and I have added new tests where possible
  • The PR follows the Contribution Guidelines
  • This PR is linked to an issue and there is no other open PR for this issue (see Related Issue above).
  • This is not a breaking change. If it is a breaking change, add the breaking change label (or add "[BREAKING]" to the title prefix, before or after any language prefix) — a workflow keeps the label and title prefix in sync automatically.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The conditional correctly scopes non-blocking behavior to Python 3.15 without affecting existing versions.

Review effort: Balanced
Findings: None

What changed in this PR

Adds early, non-blocking Python 3.15 compatibility coverage while preserving required checks for supported versions.

Changes:

  • Adds Python 3.15 to Ubuntu and Windows test matrices.
  • Limits allowed failures to Python 3.15 jobs.
File Description
.github/​workflows/​python-tests.yml Adds conditional Python 3.15 CI coverage.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAF Automated Review — Iteration 1

Result: No findings
Scope: full PR (1 commit(s)): 9b6a6cd29245
Model: gpt-5.6-sol-fast

Overview

The change adds Python 3.15 to the existing Ubuntu and Windows test matrix while using an exact matrix-value comparison to keep only those new cells advisory. Existing Python 3.10-3.14 cells remain blocking, interpreter and cache selection continue to be version-scoped, and independent Lab and coverage workflows are unchanged. No publishable defect was established.

Reviewed the supplied pull-request change set across correctness, security/reliability, architecture, and failure behavior.
No publishable findings remained after source verification for this scope.

Merged via the queue into microsoft:main with commit a8781d7 Sep 22, 2026
28 checks passed

This branch was previously deployed

1 inactive deployment
github-app-auth — 9b6a6cd2 Deployed Sep 22, 2026 by eavanvalkenburg via team_check #5085
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.

3 participants