Skip to content

Commit 29643bd

Browse files
Drop Python 3.9 support in favor of 3.14
- Python 3.9 is EOL after its last security release in October 2025. - Python 3.14 is newly released. - Change version ranges to support Python 3.10-3.14 - Use uv-build up to 0.10.0. - Test Python 3.14 in CI
1 parent 3fa721d commit 29643bd

3 files changed

Lines changed: 10 additions & 92 deletions

File tree

.github/workflows/test-and-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
21+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
2222
permissions:
2323
id-token: write
2424
contents: read

pyproject.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ readme = "README.md"
66
authors = [
77
{name = "Datalogics"},
88
]
9-
requires-python = ">=3.9"
9+
requires-python = ">=3.10,<3.15"
1010
dependencies = [
1111
"httpx>=0.28.1",
1212
"pydantic>=2.12.0",
1313
]
1414

1515
[build-system]
16-
requires = ["uv_build>=0.8.22,<0.9.0"]
16+
requires = ["uv_build>=0.8.22,<0.10.0"]
1717
build-backend = "uv_build"
1818

1919
[dependency-groups]
@@ -34,7 +34,7 @@ dev = [
3434
]
3535

3636
[tool.mypy]
37-
python_version = "3.9"
37+
python_version = "3.10"
3838
warn_return_any = true
3939
pretty = true
4040
exclude = [
@@ -53,6 +53,8 @@ fixed_format_cache = true
5353
[tool.pyright]
5454
venvPath = "."
5555
venv = ".venv"
56+
pythonVersion = "3.10"
57+
typeCheckingMode = "strict"
5658

5759
[tool.pytest.ini_options]
5860
minversion = "7.4"
@@ -61,7 +63,7 @@ addopts = "-ra"
6163

6264
[tool.ruff]
6365
extend-include = ["*.ipynb"]
64-
target-version = "py39"
66+
target-version = "py310"
6567

6668
[tool.ruff.lint]
6769
# Enable the pycodestyle (`E`) and Pyflakes (`F`) rules by default.

0 commit comments

Comments
 (0)