From 47f926e019a56af6a3e9346792f5ea5f9fec322b Mon Sep 17 00:00:00 2001 From: Frazer McLean Date: Tue, 22 Oct 2024 00:09:49 +0200 Subject: [PATCH] Drop Python 3.8 support --- .github/workflows/main.yml | 6 +++--- .pre-commit-config.yaml | 2 +- pyproject.toml | 3 +-- tox.ini | 3 +-- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f5dc283..01ad56a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,7 +27,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: "actions/checkout@v4" @@ -54,7 +54,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] arch: ["x86", "x64"] env: @@ -84,7 +84,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: "actions/checkout@v4" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9354901..87815de 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,7 +18,7 @@ repos: rev: v3.7.0 hooks: - id: pyupgrade - args: [--py38-plus] + args: [--py39-plus] - repo: https://github.com/timothycrosley/isort rev: 5.12.0 hooks: diff --git a/pyproject.toml b/pyproject.toml index 1f038c3..01ffea0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,14 +16,13 @@ maintainers = [ ] classifiers = [ "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", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", ] -requires-python = ">=3.8" +requires-python = ">=3.9" dynamic = ["version"] [project.urls] diff --git a/tox.ini b/tox.ini index 8d5108a..c55559b 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{38,39,310,311,312,313}{,-nospeedups},pypy,docs +envlist = py{39,310,311,312,313}{,-nospeedups},pypy,docs [testenv] extras = @@ -27,7 +27,6 @@ commands = [gh-actions] python = - 3.8: py38 3.9: py39 3.10: py310 3.11: py311, docs