Skip to content

Commit 45de856

Browse files
authored
Merge pull request #520 from microsoft/copilot/update-ci-to-python-3-14
ci: add Python 3.14 to CI matrix, update setup-python version, and dev container
2 parents a839f94 + d21e46a commit 45de856

4 files changed

Lines changed: 7 additions & 6 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
// "image": "mcr.microsoft.com/devcontainers/python:3.9-bookworm",
77
// "image": "mcr.microsoft.com/devcontainers/python:3.10-bookworm",
88
// "image": "mcr.microsoft.com/devcontainers/python:3.11-bookworm",
9-
"image": "mcr.microsoft.com/devcontainers/python:3.12-bookworm",
10-
// "image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye",
9+
// "image": "mcr.microsoft.com/devcontainers/python:3.12-bookworm",
10+
// "image": "mcr.microsoft.com/devcontainers/python:3.13-bookworm",
11+
"image": "mcr.microsoft.com/devcontainers/python:3.14-bookworm",
1112

1213
"features": {
1314
"ghcr.io/hspaans/devcontainer-features/pytest:1": {},

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
max-parallel: 10
2020
fail-fast: false
2121
matrix:
22-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
22+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
2323
library :
2424
- name: "kiota_abstractions"
2525
path: "./packages/abstractions"
@@ -77,7 +77,7 @@ jobs:
7777
strategy:
7878
max-parallel: 10
7979
matrix:
80-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
80+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
8181

8282
steps:
8383
- name: Checkout

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set up Python
2828
uses: actions/setup-python@v6
2929
with:
30-
python-version: 3.12
30+
python-version: "3.14"
3131
- name: Install poetry and mono-repo-deps plugin
3232
run: |
3333
python -m pip install --upgrade poetry

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ __TIP__ Running `.\kiota-python.ps1 test` should give a hint of all available co
148148

149149
This repository is setup to use [Visual Studio Code Dev Containers](https://code.visualstudio.com/docs/remote/containers) to provide a consistent development environment for contributors. The dev container is configured to have all the necessary tools and dependencies to work on the repository.
150150

151-
By default we do all development in `Python 3.12`, but we support Python 3.9, 3.10, 3.11, and 3.12. The dev container is configured to use Python 3.12, but you can test your changes by changing the `"image": "mcr.microsoft.com/devcontainers/python:3.12-bookworm",` line in the `.devcontainer/devcontainer.json` file to the desired version. If you save changes to this file, you will be prompted to rebuild the dev container. You can also rebuild the dev container by running the `Remote-Containers: Rebuild Container` command from the command palette.
151+
By default we do all development in `Python 3.14`, but we support Python 3.9, 3.10, 3.11, 3.12, 3.13, and 3.14. The dev container is configured to use Python 3.14, but you can test your changes by changing the `"image": "mcr.microsoft.com/devcontainers/python:3.14-bookworm",` line in the `.devcontainer/devcontainer.json` file to the desired version. If you save changes to this file, you will be prompted to rebuild the dev container. You can also rebuild the dev container by running the `Remote-Containers: Rebuild Container` command from the command palette.
152152

153153
### Dependencies
154154

0 commit comments

Comments
 (0)