Skip to content

Commit

Permalink
Drop Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Jan 30, 2024
1 parent 631245d commit 8c8887c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ repos:
rev: v3.15.0
hooks:
- id: pyupgrade
args: [--py38-plus]
args: [--py39-plus]

- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.10.1
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.8 or newer.
To work on this project, you need Python 3.9 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: 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.8", "3.9", "3.10", "3.11", "3.12"])
@nox.session(python=["3.9", "3.10", "3.11", "3.12"])
def test(session):
session.install("-e", ".[test]", silent=True)
args = session.posargs or ("--cov-report", "term", "--cov", "sphinx_autobuild")
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ urls.Download = "https://pypi.org/project/sphinx-autobuild/"
urls."Issue tracker" = "https://github.com/sphinx-doc/sphinx-autobuild/issues"
urls.Source = "https://github.com/sphinx-doc/sphinx-autobuild"
license.text = "MIT"
requires-python = ">=3.8"
requires-python = ">=3.9"

# Classifiers list: https://pypi.org/classifiers/
classifiers = [
Expand All @@ -27,7 +27,6 @@ classifiers = [
"Programming Language :: Python",
"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 Down
2 changes: 1 addition & 1 deletion sphinx_autobuild/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def _get_build_args(args):
build_args = []
arg_dict = vars(args) # Convert the args namespace to a dictionary
for opt, meta in SPHINX_BUILD_OPTIONS:
arg = opt[1:] # remove leading '-'
arg = opt.removeprefix("-") # remove leading '-'
val = arg_dict.get(arg)
if val is None:
continue
Expand Down

0 comments on commit 8c8887c

Please sign in to comment.