Skip to content

Commit 0d4f938

Browse files
committed
Drop support for Python < 3.10, add Python 3.13
Python 3.8 has been EOL since October 2024. Python 3.9 goes EOL next month (October 2025). Drop support for both. Signed-off-by: Stephen Finucane <[email protected]>
1 parent 073353a commit 0d4f938

File tree

4 files changed

+18
-11
lines changed

4 files changed

+18
-11
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
steps:
1111
- name: Checkout source code
1212
uses: actions/checkout@v5
13-
- name: Set up Python 3.12
13+
- name: Set up Python 3.13
1414
uses: actions/setup-python@v5
1515
with:
16-
python-version: "3.12"
16+
python-version: "3.13"
1717
- name: Install dependencies
1818
run: python -m pip install tox
1919
- name: Run tox
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
strategy:
2525
matrix:
26-
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
26+
python: ["3.10", "3.11", "3.12", "3.13"]
2727
steps:
2828
- name: Checkout source code
2929
uses: actions/checkout@v5
@@ -47,10 +47,10 @@ jobs:
4747
# We need history for release notes
4848
with:
4949
fetch-depth: 0
50-
- name: Set up Python 3.12
50+
- name: Set up Python 3.13
5151
uses: actions/setup-python@v5
5252
with:
53-
python-version: "3.12"
53+
python-version: "3.13"
5454
- name: Install dependencies
5555
run: python -m pip install tox
5656
- name: Build docs (via tox)
@@ -72,10 +72,10 @@ jobs:
7272
# We need history to build the package
7373
with:
7474
fetch-depth: 0
75-
- name: Set up Python 3.12
75+
- name: Set up Python 3.13
7676
uses: actions/setup-python@v5
7777
with:
78-
python-version: "3.12"
78+
python-version: "3.13"
7979
- name: Install dependencies
8080
run: python -m pip install build
8181
- name: Build a binary wheel and a source tarball

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ authors = [
1010
]
1111
readme = {file = "README.rst", content-type = "text/x-rst"}
1212
license = {text = "MIT License"}
13-
requires-python = ">=3.8"
13+
requires-python = ">=3.10"
1414
keywords = ["sphinx", "click"]
1515
classifiers = [
1616
"Development Status :: 5 - Production/Stable",
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
upgrade:
3+
- |
4+
Python 3.8 and Python 3.9 are no longer supported as they have reached
5+
end-of-life.
6+
features:
7+
- |
8+
Python 3.13 is now officially supported.

tox.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
minversion = 2.0
3-
envlist = py{38,39,310,311,312}-click{8,8-async},style,docs
3+
envlist = py{310,311,312,313}-click{8,8-async},style,docs
44

55
[testenv]
66
setenv =
@@ -40,11 +40,10 @@ commands =
4040

4141
[gh-actions]
4242
python =
43-
3.8: py38
44-
3.9: py39
4543
3.10: py310
4644
3.11: py311
4745
3.12: py312
46+
3.13: py313
4847

4948
[coverage:run]
5049
branch = True

0 commit comments

Comments
 (0)