Skip to content

Commit 92bcf10

Browse files
authored
Require Python 3.11 or newer, to match Sphinx (#189)
1 parent 86e2f37 commit 92bcf10

File tree

6 files changed

+7
-8
lines changed

6 files changed

+7
-8
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
python-version:
25-
- "3.9"
26-
- "3.10"
2725
- "3.11"
2826
- "3.12"
2927
- "3.13"

.ruff.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
target-version = "py39" # Pin Ruff to Python 3.9
1+
target-version = "py311" # Pin Ruff to Python 3.11
22
line-length = 88
33
output-format = "full"
44
extend-exclude = [
@@ -15,6 +15,7 @@ ignore = [
1515
"D105",
1616
"D107",
1717
"E203",
18+
"UP038", # This rule is deprecated and will be removed in a future release.
1819
# "W503", # unimplemented in Ruff (as of 2024-04-16)
1920
]
2021
select = [

CONTRIBUTING.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Set-up
2727
2828
$ git clone https://github.com/YOUR_USERNAME_HERE/sphinx-autobuild
2929
30-
To work on this project, you need Python 3.9 or newer.
30+
To work on this project, you need Python 3.11 or newer.
3131
Most of this project's development workflow commands use nox_.
3232

3333
If you're not sure how to install nox,

NEWS.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Changelog
44
unreleased
55
----------
66

7+
* Drop support for Python 3.9-3.10 to match Sphinx.
8+
79
2024.10.03 - 2024-10-03
810
-----------------------
911

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def lint(session):
99
session.run("pre-commit", "run", "--all-files", *session.posargs)
1010

1111

12-
@nox.session(python=["3.9", "3.10", "3.11", "3.12", "3.13"])
12+
@nox.session(python=["3.11", "3.12", "3.13"])
1313
def test(session):
1414
session.install("-e", ".[test]", silent=True)
1515
session.run("pytest", *session.posargs)

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ authors = [
1313
{ name = "Adam Turner" },
1414
{ name = "Jonathan Stoppani", email = "[email protected]" },
1515
]
16-
requires-python = ">=3.9"
16+
requires-python = ">=3.11"
1717
classifiers = [
1818
"Development Status :: 5 - Production/Stable",
1919
"Environment :: Console",
@@ -24,8 +24,6 @@ classifiers = [
2424
"Operating System :: OS Independent",
2525
"Programming Language :: Python",
2626
"Programming Language :: Python :: 3 :: Only",
27-
"Programming Language :: Python :: 3.9",
28-
"Programming Language :: Python :: 3.10",
2927
"Programming Language :: Python :: 3.11",
3028
"Programming Language :: Python :: 3.12",
3129
"Programming Language :: Python :: 3.13",

0 commit comments

Comments
 (0)