Skip to content

Commit b1c6835

Browse files
authored
Merge pull request #525 from microsoft/copilot/feat-drop-support-for-python-3-9
feat: drop support for Python 3.9
2 parents a945f59 + 6c13439 commit b1c6835

12 files changed

Lines changed: 21 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ 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",
1918
"Programming Language :: Python :: 3.13",
19+
"Programming Language :: Python :: 3.14",
2020
"License :: OSI Approved :: MIT License",
2121
]
2222
homepage = "https://github.com/microsoft/kiota#readme"
@@ -25,7 +25,7 @@ documentation = "https://learn.microsoft.com/openapi/kiota/"
2525
packages = [{include = "kiota_abstractions"}]
2626

2727
[tool.poetry.dependencies]
28-
python = ">=3.9,<4.0"
28+
python = ">=3.10,<4.0"
2929
std-uritemplate = ">=2.0.0"
3030
opentelemetry-api = ">=1.27.0"
3131
opentelemetry-sdk = ">=1.27.0"

packages/authentication/azure/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ 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",
1918
"Programming Language :: Python :: 3.13",
19+
"Programming Language :: Python :: 3.14",
2020
"License :: OSI Approved :: MIT License",
2121
]
2222
homepage = "https://github.com/microsoft/kiota#readme"
@@ -25,7 +25,7 @@ documentation = "https://learn.microsoft.com/openapi/kiota/"
2525
packages = [{include = "kiota_authentication_azure"}]
2626

2727
[tool.poetry.dependencies]
28-
python = ">=3.9,<4.0"
28+
python = ">=3.10,<4.0"
2929
aiohttp = ">=3.8.0"
3030
azure-core = ">=1.21.1"
3131
microsoft-kiota-abstractions = {path="../../abstractions/", develop=true}

packages/bundle/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ 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",
1918
"Programming Language :: Python :: 3.13",
19+
"Programming Language :: Python :: 3.14",
2020
"License :: OSI Approved :: MIT License",
2121
]
2222
homepage = "https://github.com/microsoft/kiota#readme"
@@ -25,7 +25,7 @@ documentation = "https://learn.microsoft.com/openapi/kiota/"
2525
packages = [{include = "kiota_bundle"}]
2626

2727
[tool.poetry.dependencies]
28-
python = ">=3.9,<4.0"
28+
python = ">=3.10,<4.0"
2929
microsoft-kiota-abstractions = {path="../../packages/abstractions/", develop=true}
3030
microsoft-kiota-http = {path="../../packages/http/httpx/", develop=true}
3131
microsoft-kiota-serialization-json = {path="../../packages/serialization/json/", develop=true}

packages/http/httpx/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ 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",
1918
"Programming Language :: Python :: 3.13",
19+
"Programming Language :: Python :: 3.14",
2020
"License :: OSI Approved :: MIT License",
2121
]
2222
homepage = "https://github.com/microsoft/kiota#readme"
@@ -25,7 +25,7 @@ documentation = "https://learn.microsoft.com/openapi/kiota/"
2525
packages = [{include = "kiota_http"}]
2626

2727
[tool.poetry.dependencies]
28-
python = ">=3.9,<4.0"
28+
python = ">=3.10,<4.0"
2929
microsoft-kiota-abstractions = {path="../../abstractions/", develop=true}
3030
opentelemetry-api = ">=1.27.0"
3131
opentelemetry-sdk = ">=1.27.0"

packages/serialization/form/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ 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",
1918
"Programming Language :: Python :: 3.13",
19+
"Programming Language :: Python :: 3.14",
2020
"License :: OSI Approved :: MIT License",
2121
]
2222
homepage = "https://github.com/microsoft/kiota#readme"
@@ -25,7 +25,7 @@ documentation = "https://learn.microsoft.com/openapi/kiota/"
2525
packages = [{include = "kiota_serialization_form"}]
2626

2727
[tool.poetry.dependencies]
28-
python = ">=3.9,<4.0"
28+
python = ">=3.10,<4.0"
2929
microsoft-kiota-abstractions = {path="../../abstractions/", develop=true}
3030

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

packages/serialization/json/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ 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",
1918
"Programming Language :: Python :: 3.13",
19+
"Programming Language :: Python :: 3.14",
2020
"License :: OSI Approved :: MIT License",
2121
]
2222
homepage = "https://github.com/microsoft/kiota#readme"
@@ -25,7 +25,7 @@ documentation = "https://learn.microsoft.com/openapi/kiota/"
2525
packages = [{include = "kiota_serialization_json"}]
2626

2727
[tool.poetry.dependencies]
28-
python = ">=3.9,<4.0"
28+
python = ">=3.10,<4.0"
2929
microsoft-kiota-abstractions = {path="../../abstractions/", develop=true}
3030

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

packages/serialization/multipart/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ 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",
1918
"Programming Language :: Python :: 3.13",
19+
"Programming Language :: Python :: 3.14",
2020
"License :: OSI Approved :: MIT License",
2121
]
2222
homepage = "https://github.com/microsoft/kiota#readme"
@@ -25,7 +25,7 @@ documentation = "https://learn.microsoft.com/openapi/kiota/"
2525
packages = [{include = "kiota_serialization_multipart"}]
2626

2727
[tool.poetry.dependencies]
28-
python = ">=3.9,<4.0"
28+
python = ">=3.10,<4.0"
2929
microsoft-kiota-abstractions = {path="../../abstractions/", develop=true}
3030

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

0 commit comments

Comments
 (0)