From cd4a2faf8bb3cd86b3151b8365ca87024a2a29ef Mon Sep 17 00:00:00 2001 From: Fabio Caccamo Date: Sat, 12 Oct 2024 13:33:13 +0200 Subject: [PATCH] Drop `Python 3.8` and `Python 3.9` support. --- .github/workflows/test-package.yml | 2 +- .pre-commit-config.yaml | 2 +- pyproject.toml | 2 -- tox.ini | 4 +--- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index c2ff09e..cc257b7 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -15,7 +15,7 @@ jobs: fail-fast: false matrix: platform: [ubuntu-latest, macos-latest, windows-latest] - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', 'pypy-3.8', 'pypy-3.9', 'pypy-3.10'] + python-version: ['3.10', '3.11', '3.12', '3.13', 'pypy-3.10'] steps: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b5add13..d5341cb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ repos: rev: v3.16.0 hooks: - id: pyupgrade - args: ["--py38-plus"] + args: ["--py310-plus"] - repo: https://github.com/frostming/fix-future-annotations rev: 0.5.0 diff --git a/pyproject.toml b/pyproject.toml index 1f8bdf0..26c5b5f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,8 +25,6 @@ classifiers = [ "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "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", diff --git a/tox.ini b/tox.ini index e78aaf3..3d4fd49 100644 --- a/tox.ini +++ b/tox.ini @@ -1,11 +1,9 @@ [tox] envlist = - py{38,39,310,311,312,313}, + py{310,311,312,313}, [testenv] basepython = - py38: python3.8 - py39: python3.9 py310: python3.10 py311: python3.11 py312: python3.12