Skip to content

Commit 1c86fc8

Browse files
committed
breaking: remove python 3.9 support
We now depend on infrahub-testcontainers 1.2 that dropped support for 3.9 as well. Signed-off-by: Fatih Acar <[email protected]>
1 parent 9ef7028 commit 1c86fc8

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ jobs:
208208
strategy:
209209
matrix:
210210
python-version:
211-
- "3.9"
212211
- "3.10"
213212
- "3.11"
214213
- "3.12"

changelog/+5e549d33.removed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove Python 3.9 support.

pyproject.toml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,14 @@ packages = [{ include = "infrahub_sdk" }]
1212
classifiers = [
1313
"Intended Audience :: Developers",
1414
"Programming Language :: Python :: 3",
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",
2019
]
2120

2221
[tool.poetry.dependencies]
23-
python = "^3.9, <3.14"
22+
python = "^3.10, <3.14"
2423
pydantic = ">=2.0.0,!=2.0.1,!=2.1.0,<3.0.0"
2524
pydantic-settings = ">=2.0"
2625
graphql-core = ">=3.1,<3.3"
@@ -40,7 +39,6 @@ toml = { version = "^0.10", optional = true }
4039
typer = { version = "^0.12.3", optional = true }
4140
pytest = { version = "*", optional = true }
4241
pyyaml = { version = "^6", optional = true }
43-
eval-type-backport = { version = "^0.2.2", python = "~3.9" }
4442
dulwich = "^0.21.4"
4543
whenever = "0.7.2"
4644
netutils = "^1.0.0"
@@ -247,10 +245,6 @@ max-complexity = 17
247245
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
248246
]
249247

250-
"infrahub_sdk/ctl/**/*.py" = [
251-
"UP007", # Use `X | Y` for type annotations | Required for Typer until we can drop the support for Python 3.9
252-
]
253-
254248
"infrahub_sdk/client.py" = [
255249
##################################################################################################
256250
# Review and change the below later #

0 commit comments

Comments
 (0)