Skip to content

Commit

Permalink
maint: bump minimum Python version (#566)
Browse files Browse the repository at this point in the history
* maint: drop Python 3.8

* chore: bump tox too
  • Loading branch information
agoose77 committed Nov 7, 2023
1 parent 1d83433 commit ec2e27e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
sphinx: [">=5.0,<=7.*"] # Newest Sphinx (any)
myst-parser: [">=1.0.0,<=2.*"] # Newest MyST Parser (any)
include:
Expand All @@ -41,7 +41,7 @@ jobs:
myst-parser: ">=2.0"
# Oldest known-compatible dependencies
- os: ubuntu-latest
python-version: "3.8"
python-version: "3.9"
sphinx: "~=5.0"
myst-parser: "~=1.0.0"
# Newest known-compatible dependencies
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -35,7 +34,7 @@ keywords = [
"docutils",
"sphinx",
]
requires-python = ">=3.8"
requires-python = ">=3.9"
dependencies = [
"importlib_metadata",
"ipython",
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@
# then then deleting compiled files has been found to fix it: `find . -name \*.pyc -delete`

[tox]
envlist = py39-sphinx5
envlist = py311-sphinx7

[testenv]
usedevelop = true

[testenv:py{38,39,310}-sphinx{4,5}]
[testenv:py{39,310,311,312}-sphinx{5,6,7}]
extras = testing
deps =
sphinx4: sphinx>=4,<5
sphinx5: sphinx>=5,<6
sphinx6: sphinx>=6,<7
sphinx7: sphinx>=7,<8
commands = pytest {posargs}

[testenv:docs-{update,clean}]
Expand Down

0 comments on commit ec2e27e

Please sign in to comment.