Skip to content

Commit 49e22ca

Browse files
committed
deprecate python 3.8
1 parent 55fa49c commit 49e22ca

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ jobs:
3838
name: Test with python ${{ matrix.python-version }} / ${{ matrix.os-version }}
3939
strategy:
4040
matrix:
41-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev"]
41+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
4242
os-version: ["ubuntu-latest", "windows-latest"]
4343
exclude:
4444
- os-version: windows-latest
4545
include:
4646
- os-version: windows-latest
47-
python-version: 3.12
47+
python-version: 3.13
4848

4949
runs-on: ${{ matrix.os-version }}
5050

@@ -93,7 +93,7 @@ jobs:
9393
uses: ./.github/actions/setup
9494
with:
9595
type: doc
96-
python-version: "3.12"
96+
python-version: "3.13"
9797
poetry-version: ${{ env.POETRY_VERSION }}
9898

9999
- name: Test

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ include = [
2424
]
2525

2626
[tool.poetry.dependencies]
27-
python = ">=3.8"
27+
python = ">=3.9"
2828
Werkzeug = ">= 2.0.0"
2929

3030

@@ -137,5 +137,5 @@ lint.ignore = [
137137
"UP032",
138138
]
139139
line-length = 120
140-
target-version = "py38"
140+
target-version = "py39"
141141
exclude = ["doc", "example*.py", "tests/examples/*.py"]
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
deprecations:
3+
- |
4+
Python versions earlier than 3.9 have been deprecated in order to make the
5+
code more type safe. Python 3.8 has reached EOL on 2024-10-07.

0 commit comments

Comments
 (0)