Skip to content

Drop support for Python 3.9-3.11 to match Sphinx #189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
Expand Down
3 changes: 2 additions & 1 deletion .ruff.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
target-version = "py39" # Pin Ruff to Python 3.9
target-version = "py311" # Pin Ruff to Python 3.11
line-length = 88
output-format = "full"
extend-exclude = [
Expand All @@ -15,6 +15,7 @@ ignore = [
"D105",
"D107",
"E203",
"UP038", # This rule is deprecated and will be removed in a future release.
# "W503", # unimplemented in Ruff (as of 2024-04-16)
]
select = [
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Set-up

$ git clone https://github.com/YOUR_USERNAME_HERE/sphinx-autobuild

To work on this project, you need Python 3.9 or newer.
To work on this project, you need Python 3.11 or newer.
Most of this project's development workflow commands use nox_.

If you're not sure how to install nox,
Expand Down
2 changes: 2 additions & 0 deletions NEWS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Changelog
unreleased
----------

* Drop support for Python 3.9-3.10 to match Sphinx.

2024.10.03 - 2024-10-03
-----------------------

Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def lint(session):
session.run("pre-commit", "run", "--all-files", *session.posargs)


@nox.session(python=["3.9", "3.10", "3.11", "3.12", "3.13"])
@nox.session(python=["3.11", "3.12", "3.13"])
def test(session):
session.install("-e", ".[test]", silent=True)
session.run("pytest", *session.posargs)
Expand Down
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ authors = [
{ name = "Adam Turner" },
{ name = "Jonathan Stoppani", email = "jonathan@stoppani.name" },
]
requires-python = ">=3.9"
requires-python = ">=3.11"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
Expand All @@ -24,8 +24,6 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
Expand Down