diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c52a5dbb..8d293c11 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: max-parallel: 10 fail-fast: false matrix: - python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.15"] library : - name: "kiota_abstractions" path: "./packages/abstractions" @@ -76,7 +76,7 @@ jobs: strategy: max-parallel: 10 matrix: - python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.15"] steps: - name: Checkout diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 19cc9f45..99d1fe99 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -150,7 +150,7 @@ __TIP__ Running `.\kiota-python.ps1 test` should give a hint of all available co 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. -By default we do all development in `Python 3.14`, but we support Python 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. +By default we do all development in `Python 3.14`, but we support Python 3.10, 3.11, 3.12, 3.13, 3.14, and 3.15. CI runs package checks and generated-code validation on all supported versions. 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. ### Dependencies diff --git a/README.md b/README.md index ec744e3c..5f51af63 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,10 @@ The Kiota libraries provide the essential building blocks for Kiota-generated SD To learn more about Kiota, visit the [Kiota repository](https://github.com/microsoft/kiota). +## Supported Python Versions + +All packages support Python 3.10, 3.11, 3.12, 3.13, 3.14, and 3.15. + ## Build Status [![CI Actions Status](https://github.com/microsoft/kiota-python/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/microsoft/kiota-python/actions) diff --git a/packages/abstractions/pyproject.toml b/packages/abstractions/pyproject.toml index ed4130c7..e7fd22ad 100644 --- a/packages/abstractions/pyproject.toml +++ b/packages/abstractions/pyproject.toml @@ -17,6 +17,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "License :: OSI Approved :: MIT License", ] requires-python = ">=3.10" diff --git a/packages/authentication/azure/pyproject.toml b/packages/authentication/azure/pyproject.toml index 8c6cac3b..25b2c956 100644 --- a/packages/authentication/azure/pyproject.toml +++ b/packages/authentication/azure/pyproject.toml @@ -17,6 +17,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "License :: OSI Approved :: MIT License", ] requires-python = ">=3.10" diff --git a/packages/bundle/pyproject.toml b/packages/bundle/pyproject.toml index 1595f385..cf7c1507 100644 --- a/packages/bundle/pyproject.toml +++ b/packages/bundle/pyproject.toml @@ -17,6 +17,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "License :: OSI Approved :: MIT License", ] requires-python = ">=3.10" diff --git a/packages/http/httpx/pyproject.toml b/packages/http/httpx/pyproject.toml index 9aebac20..dd0133dc 100644 --- a/packages/http/httpx/pyproject.toml +++ b/packages/http/httpx/pyproject.toml @@ -17,6 +17,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "License :: OSI Approved :: MIT License", ] requires-python = ">=3.10" diff --git a/packages/serialization/form/pyproject.toml b/packages/serialization/form/pyproject.toml index e084b869..e721b38b 100644 --- a/packages/serialization/form/pyproject.toml +++ b/packages/serialization/form/pyproject.toml @@ -17,6 +17,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "License :: OSI Approved :: MIT License", ] requires-python = ">=3.10" diff --git a/packages/serialization/json/pyproject.toml b/packages/serialization/json/pyproject.toml index ae68800f..0c4f938e 100644 --- a/packages/serialization/json/pyproject.toml +++ b/packages/serialization/json/pyproject.toml @@ -17,6 +17,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "License :: OSI Approved :: MIT License", ] requires-python = ">=3.10" diff --git a/packages/serialization/multipart/pyproject.toml b/packages/serialization/multipart/pyproject.toml index 734895c5..cf1c0fe0 100644 --- a/packages/serialization/multipart/pyproject.toml +++ b/packages/serialization/multipart/pyproject.toml @@ -17,6 +17,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "License :: OSI Approved :: MIT License", ] requires-python = ">=3.10" diff --git a/packages/serialization/text/pyproject.toml b/packages/serialization/text/pyproject.toml index 1b339a88..05622bff 100644 --- a/packages/serialization/text/pyproject.toml +++ b/packages/serialization/text/pyproject.toml @@ -17,6 +17,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "License :: OSI Approved :: MIT License", ] requires-python = ">=3.10"