From 7a7a821a6006afb097a3df11d4de606d5cfcb40b Mon Sep 17 00:00:00 2001 From: kngwyu Date: Mon, 25 Sep 2023 11:33:42 +0900 Subject: [PATCH] Drop Python3.8 support --- .github/workflows/tests.yml | 1 - noxfile.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3cde69a6..7362e830 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,7 +23,6 @@ jobs: - {name: Mac, python: '3.10', os: macos-latest, nox: "tests"} - {name: Py310, python: '3.10', os: ubuntu-latest, nox: "tests"} - {name: Py39, python: '3.9', os: ubuntu-latest, nox: "tests"} - - {name: Py38, python: '3.8', os: ubuntu-latest, nox: "tests"} - {name: Lint, python: '3.11', os: ubuntu-latest, nox: "lint"} steps: - uses: actions/checkout@v3 diff --git a/noxfile.py b/noxfile.py index 107a971e..e1ae15f5 100644 --- a/noxfile.py +++ b/noxfile.py @@ -53,7 +53,7 @@ def format(session: nox.Session) -> None: session.run("isort", *SOURCES) -@nox.session(reuse_venv=True, python=["3.8", "3.9", "3.10", "3.11"]) +@nox.session(reuse_venv=True, python=["3.9", "3.10", "3.11"]) def lint(session: nox.Session) -> None: _sync(session, "requirements/lint.txt") session.run("ruff", *SOURCES) @@ -72,7 +72,7 @@ def smoke(session: nox.Session) -> None: session.run("python", DEFAULT, *session.posargs) -@nox.session(reuse_venv=True, python=["3.8", "3.9", "3.10", "3.11"]) +@nox.session(reuse_venv=True, python=["3.9", "3.10", "3.11"]) def tests(session: nox.Session) -> None: _sync(session, "requirements/tests.txt") session.run("pytest", "tests", *session.posargs)