Skip to content

Commit

Permalink
feat: drop support for python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
andrueastman committed Jan 7, 2025
1 parent 81ff8e8 commit 59f284b
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 21 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
max-parallel: 10
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
library :
- name: "kiota_abstractions"
path: "./packages/abstractions"
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
strategy:
max-parallel: 10
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]

steps:
- name: Checkout
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Callable
from collections.abc import Callable

from .serialization import (
ParseNodeFactory,
Expand Down
3 changes: 1 addition & 2 deletions packages/abstractions/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ readme = "README.md"
keywords = ["kiota", "openAPI", "Microsoft", "Graph"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -24,7 +23,7 @@ documentation = "https://learn.microsoft.com/openapi/kiota/"
packages = [{include = "kiota_abstractions"}]

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
python = ">=3.9,<4.0"
std-uritemplate = ">=2.0.0"
opentelemetry-api = ">=1.27.0"
opentelemetry-sdk = ">=1.27.0"
Expand Down
3 changes: 1 addition & 2 deletions packages/authentication/azure/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ readme = "README.md"
keywords = ["kiota", "openAPI", "Microsoft", "Graph"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -24,7 +23,7 @@ documentation = "https://learn.microsoft.com/openapi/kiota/"
packages = [{include = "kiota_authentication_azure"}]

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
python = ">=3.9,<4.0"
aiohttp = ">=3.8.0"
azure-core = ">=1.21.1"
microsoft-kiota-abstractions = {path="../../abstractions/", develop=true}
Expand Down
3 changes: 1 addition & 2 deletions packages/bundle/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ readme = "README.md"
keywords = ["kiota", "openAPI", "Microsoft", "Graph"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -25,7 +24,7 @@ documentation = "https://learn.microsoft.com/openapi/kiota/"
packages = [{include = "kiota_bundle"}]

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
python = ">=3.9,<4.0"
microsoft-kiota-abstractions = {path="../../packages/abstractions/", develop=true}
microsoft-kiota-http = {path="../../packages/http/httpx/", develop=true}
microsoft-kiota-serialization-json = {path="../../packages/serialization/json/", develop=true}
Expand Down
3 changes: 1 addition & 2 deletions packages/http/httpx/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ readme = "README.md"
keywords = ["kiota", "openAPI", "Microsoft", "Graph"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -25,7 +24,7 @@ documentation = "https://learn.microsoft.com/openapi/kiota/"
packages = [{include = "kiota_http"}]

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
python = ">=3.9,<4.0"
microsoft-kiota-abstractions = {path="../../abstractions/", develop=true}
opentelemetry-api = ">=1.27.0"
opentelemetry-sdk = ">=1.27.0"
Expand Down
3 changes: 1 addition & 2 deletions packages/serialization/form/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ readme = "README.md"
keywords = ["kiota", "openAPI", "Microsoft", "Graph"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -24,7 +23,7 @@ documentation = "https://learn.microsoft.com/openapi/kiota/"
packages = [{include = "kiota_serialization_form"}]

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
python = ">=3.9,<4.0"
microsoft-kiota-abstractions = {path="../../abstractions/", develop=true}
pendulum = ">=3.0.0b1"

Expand Down
3 changes: 1 addition & 2 deletions packages/serialization/json/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ readme = "README.md"
keywords = ["kiota", "openAPI", "Microsoft", "Graph"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -24,7 +23,7 @@ documentation = "https://learn.microsoft.com/openapi/kiota/"
packages = [{include = "kiota_serialization_json"}]

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
python = ">=3.9,<4.0"
microsoft-kiota-abstractions = {path="../../abstractions/", develop=true}
pendulum = ">=3.0.0b1"

Expand Down
3 changes: 1 addition & 2 deletions packages/serialization/multipart/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ readme = "README.md"
keywords = ["kiota", "openAPI", "Microsoft", "Graph"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -24,7 +23,7 @@ documentation = "https://learn.microsoft.com/openapi/kiota/"
packages = [{include = "kiota_serialization_multipart"}]

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
python = ">=3.9,<4.0"
microsoft-kiota-abstractions = {path="../../abstractions/", develop=true}
pendulum = ">=3.0.0b1"

Expand Down
3 changes: 1 addition & 2 deletions packages/serialization/text/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ readme = "README.md"
keywords = ["kiota", "openAPI", "Microsoft", "Graph"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -24,7 +23,7 @@ documentation = "https://learn.microsoft.com/openapi/kiota/"
packages = [{include = "kiota_serialization_text"}]

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
python = ">=3.9,<4.0"
microsoft-kiota-abstractions = {path="../../abstractions/", develop=true}
python-dateutil = "2.9.0.post0"

Expand Down
3 changes: 1 addition & 2 deletions tests/validation/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ readme = "README.md"
keywords = ["kiota", "openAPI", "Microsoft", "Graph"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -25,7 +24,7 @@ documentation = "https://learn.microsoft.com/openapi/kiota/"
packages = [{include = "kiota_abstractions"}]

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
python = ">=3.9,<4.0"
microsoft-kiota-abstractions = {path="../../packages/abstractions/", develop=true}
microsoft-kiota-http = {path="../../packages/http/httpx/", develop=true}
microsoft-kiota-serialization-json = {path="../../packages/serialization/json/", develop=true}
Expand Down

0 comments on commit 59f284b

Please sign in to comment.