Skip to content

Commit ec2e27e

Browse files
authored
maint: bump minimum Python version (#566)
* maint: drop Python 3.8 * chore: bump tox too
1 parent 1d83433 commit ec2e27e

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
fail-fast: false
2727
matrix:
2828
os: [ubuntu-latest]
29-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
29+
python-version: ["3.9", "3.10", "3.11", "3.12"]
3030
sphinx: [">=5.0,<=7.*"] # Newest Sphinx (any)
3131
myst-parser: [">=1.0.0,<=2.*"] # Newest MyST Parser (any)
3232
include:
@@ -41,7 +41,7 @@ jobs:
4141
myst-parser: ">=2.0"
4242
# Oldest known-compatible dependencies
4343
- os: ubuntu-latest
44-
python-version: "3.8"
44+
python-version: "3.9"
4545
sphinx: "~=5.0"
4646
myst-parser: "~=1.0.0"
4747
# Newest known-compatible dependencies

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ classifiers = [
1717
"License :: OSI Approved :: MIT License",
1818
"Programming Language :: Python :: 3",
1919
"Programming Language :: Python :: 3 :: Only",
20-
"Programming Language :: Python :: 3.8",
2120
"Programming Language :: Python :: 3.9",
2221
"Programming Language :: Python :: 3.10",
2322
"Programming Language :: Python :: 3.11",
@@ -35,7 +34,7 @@ keywords = [
3534
"docutils",
3635
"sphinx",
3736
]
38-
requires-python = ">=3.8"
37+
requires-python = ">=3.9"
3938
dependencies = [
4039
"importlib_metadata",
4140
"ipython",

tox.ini

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,17 @@
1111
# then then deleting compiled files has been found to fix it: `find . -name \*.pyc -delete`
1212

1313
[tox]
14-
envlist = py39-sphinx5
14+
envlist = py311-sphinx7
1515

1616
[testenv]
1717
usedevelop = true
1818

19-
[testenv:py{38,39,310}-sphinx{4,5}]
19+
[testenv:py{39,310,311,312}-sphinx{5,6,7}]
2020
extras = testing
2121
deps =
22-
sphinx4: sphinx>=4,<5
2322
sphinx5: sphinx>=5,<6
23+
sphinx6: sphinx>=6,<7
24+
sphinx7: sphinx>=7,<8
2425
commands = pytest {posargs}
2526

2627
[testenv:docs-{update,clean}]

0 commit comments

Comments
 (0)