Skip to content

Commit f7e066f

Browse files
Copilotbaywet
andauthored
feat: drop support for Python 3.9
Agent-Logs-Url: https://github.com/microsoft/kiota-python/sessions/9d8793ae-b295-4f30-bbcf-76dead649b99 Co-authored-by: baywet <7905502+baywet@users.noreply.github.com>
1 parent 20826a9 commit f7e066f

12 files changed

Lines changed: 12 additions & 22 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
{
44
"name": "Python 3",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
// "image": "mcr.microsoft.com/devcontainers/python:3.9-bookworm",
76
// "image": "mcr.microsoft.com/devcontainers/python:3.10-bookworm",
87
// "image": "mcr.microsoft.com/devcontainers/python:3.11-bookworm",
98
// "image": "mcr.microsoft.com/devcontainers/python:3.12-bookworm",

.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", "3.14"]
22+
python-version: ["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", "3.14"]
80+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
8181

8282
steps:
8383
- name: Checkout

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.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.
151+
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.
152152

153153
### Dependencies
154154

packages/abstractions/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ readme = "README.md"
1212
keywords = ["kiota", "openAPI", "Microsoft", "Graph"]
1313
classifiers = [
1414
"Development Status :: 5 - Production/Stable",
15-
"Programming Language :: Python :: 3.9",
1615
"Programming Language :: Python :: 3.10",
1716
"Programming Language :: Python :: 3.11",
1817
"Programming Language :: Python :: 3.12",
@@ -25,7 +24,7 @@ documentation = "https://learn.microsoft.com/openapi/kiota/"
2524
packages = [{include = "kiota_abstractions"}]
2625

2726
[tool.poetry.dependencies]
28-
python = ">=3.9,<4.0"
27+
python = ">=3.10,<4.0"
2928
std-uritemplate = ">=2.0.0"
3029
opentelemetry-api = ">=1.27.0"
3130
opentelemetry-sdk = ">=1.27.0"

packages/authentication/azure/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ readme = "README.md"
1212
keywords = ["kiota", "openAPI", "Microsoft", "Graph"]
1313
classifiers = [
1414
"Development Status :: 5 - Production/Stable",
15-
"Programming Language :: Python :: 3.9",
1615
"Programming Language :: Python :: 3.10",
1716
"Programming Language :: Python :: 3.11",
1817
"Programming Language :: Python :: 3.12",
@@ -25,7 +24,7 @@ documentation = "https://learn.microsoft.com/openapi/kiota/"
2524
packages = [{include = "kiota_authentication_azure"}]
2625

2726
[tool.poetry.dependencies]
28-
python = ">=3.9,<4.0"
27+
python = ">=3.10,<4.0"
2928
aiohttp = ">=3.8.0"
3029
azure-core = ">=1.21.1"
3130
microsoft-kiota-abstractions = {path="../../abstractions/", develop=true}

packages/bundle/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ readme = "README.md"
1212
keywords = ["kiota", "openAPI", "Microsoft", "Graph"]
1313
classifiers = [
1414
"Development Status :: 5 - Production/Stable",
15-
"Programming Language :: Python :: 3.9",
1615
"Programming Language :: Python :: 3.10",
1716
"Programming Language :: Python :: 3.11",
1817
"Programming Language :: Python :: 3.12",
@@ -25,7 +24,7 @@ documentation = "https://learn.microsoft.com/openapi/kiota/"
2524
packages = [{include = "kiota_bundle"}]
2625

2726
[tool.poetry.dependencies]
28-
python = ">=3.9,<4.0"
27+
python = ">=3.10,<4.0"
2928
microsoft-kiota-abstractions = {path="../../packages/abstractions/", develop=true}
3029
microsoft-kiota-http = {path="../../packages/http/httpx/", develop=true}
3130
microsoft-kiota-serialization-json = {path="../../packages/serialization/json/", develop=true}

packages/http/httpx/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ readme = "README.md"
1212
keywords = ["kiota", "openAPI", "Microsoft", "Graph"]
1313
classifiers = [
1414
"Development Status :: 5 - Production/Stable",
15-
"Programming Language :: Python :: 3.9",
1615
"Programming Language :: Python :: 3.10",
1716
"Programming Language :: Python :: 3.11",
1817
"Programming Language :: Python :: 3.12",
@@ -25,7 +24,7 @@ documentation = "https://learn.microsoft.com/openapi/kiota/"
2524
packages = [{include = "kiota_http"}]
2625

2726
[tool.poetry.dependencies]
28-
python = ">=3.9,<4.0"
27+
python = ">=3.10,<4.0"
2928
microsoft-kiota-abstractions = {path="../../abstractions/", develop=true}
3029
opentelemetry-api = ">=1.27.0"
3130
opentelemetry-sdk = ">=1.27.0"

packages/serialization/form/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ readme = "README.md"
1212
keywords = ["kiota", "openAPI", "Microsoft", "Graph"]
1313
classifiers = [
1414
"Development Status :: 5 - Production/Stable",
15-
"Programming Language :: Python :: 3.9",
1615
"Programming Language :: Python :: 3.10",
1716
"Programming Language :: Python :: 3.11",
1817
"Programming Language :: Python :: 3.12",
@@ -25,7 +24,7 @@ documentation = "https://learn.microsoft.com/openapi/kiota/"
2524
packages = [{include = "kiota_serialization_form"}]
2625

2726
[tool.poetry.dependencies]
28-
python = ">=3.9,<4.0"
27+
python = ">=3.10,<4.0"
2928
microsoft-kiota-abstractions = {path="../../abstractions/", develop=true}
3029

3130
[tool.poetry.group.dev.dependencies]

packages/serialization/json/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ readme = "README.md"
1212
keywords = ["kiota", "openAPI", "Microsoft", "Graph"]
1313
classifiers = [
1414
"Development Status :: 5 - Production/Stable",
15-
"Programming Language :: Python :: 3.9",
1615
"Programming Language :: Python :: 3.10",
1716
"Programming Language :: Python :: 3.11",
1817
"Programming Language :: Python :: 3.12",
@@ -25,7 +24,7 @@ documentation = "https://learn.microsoft.com/openapi/kiota/"
2524
packages = [{include = "kiota_serialization_json"}]
2625

2726
[tool.poetry.dependencies]
28-
python = ">=3.9,<4.0"
27+
python = ">=3.10,<4.0"
2928
microsoft-kiota-abstractions = {path="../../abstractions/", develop=true}
3029

3130
[tool.poetry.group.dev.dependencies]

packages/serialization/multipart/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ readme = "README.md"
1212
keywords = ["kiota", "openAPI", "Microsoft", "Graph"]
1313
classifiers = [
1414
"Development Status :: 5 - Production/Stable",
15-
"Programming Language :: Python :: 3.9",
1615
"Programming Language :: Python :: 3.10",
1716
"Programming Language :: Python :: 3.11",
1817
"Programming Language :: Python :: 3.12",
@@ -25,7 +24,7 @@ documentation = "https://learn.microsoft.com/openapi/kiota/"
2524
packages = [{include = "kiota_serialization_multipart"}]
2625

2726
[tool.poetry.dependencies]
28-
python = ">=3.9,<4.0"
27+
python = ">=3.10,<4.0"
2928
microsoft-kiota-abstractions = {path="../../abstractions/", develop=true}
3029

3130
[tool.poetry.group.dev.dependencies]

0 commit comments

Comments
 (0)