Skip to content

Commit 8c8887c

Browse files
committed
Drop Python 3.8
1 parent 631245d commit 8c8887c

File tree

6 files changed

+6
-7
lines changed

6 files changed

+6
-7
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
strategy:
2323
matrix:
24-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
24+
python-version: ["3.9", "3.10", "3.11", "3.12"]
2525
steps:
2626
- uses: actions/checkout@v4
2727
- uses: actions/setup-python@v4

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ repos:
33
rev: v3.15.0
44
hooks:
55
- id: pyupgrade
6-
args: [--py38-plus]
6+
args: [--py39-plus]
77

88
- repo: https://github.com/psf/black-pre-commit-mirror
99
rev: 23.10.1

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.8 or newer.
30+
To work on this project, you need Python 3.9 or newer.
3131
Most of this project's development workflow commands use nox_.
3232

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

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.8", "3.9", "3.10", "3.11", "3.12"])
12+
@nox.session(python=["3.9", "3.10", "3.11", "3.12"])
1313
def test(session):
1414
session.install("-e", ".[test]", silent=True)
1515
args = session.posargs or ("--cov-report", "term", "--cov", "sphinx_autobuild")

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ urls.Download = "https://pypi.org/project/sphinx-autobuild/"
1313
urls."Issue tracker" = "https://github.com/sphinx-doc/sphinx-autobuild/issues"
1414
urls.Source = "https://github.com/sphinx-doc/sphinx-autobuild"
1515
license.text = "MIT"
16-
requires-python = ">=3.8"
16+
requires-python = ">=3.9"
1717

1818
# Classifiers list: https://pypi.org/classifiers/
1919
classifiers = [
@@ -27,7 +27,6 @@ classifiers = [
2727
"Programming Language :: Python",
2828
"Programming Language :: Python :: 3",
2929
"Programming Language :: Python :: 3 :: Only",
30-
"Programming Language :: Python :: 3.8",
3130
"Programming Language :: Python :: 3.9",
3231
"Programming Language :: Python :: 3.10",
3332
"Programming Language :: Python :: 3.11",

sphinx_autobuild/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def _get_build_args(args):
1919
build_args = []
2020
arg_dict = vars(args) # Convert the args namespace to a dictionary
2121
for opt, meta in SPHINX_BUILD_OPTIONS:
22-
arg = opt[1:] # remove leading '-'
22+
arg = opt.removeprefix("-") # remove leading '-'
2323
val = arg_dict.get(arg)
2424
if val is None:
2525
continue

0 commit comments

Comments
 (0)