From cf5b6efd2caacc0078d3194492cc5f9a39dc74f1 Mon Sep 17 00:00:00 2001 From: Fabio Caccamo Date: Sat, 12 Oct 2024 13:33:36 +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 9541d1a..0de925d 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'] + python-version: ['3.10', '3.11', '3.12', '3.13'] steps: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 63f7743..cffdbda 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 111aeaf..9df9f46 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,8 +40,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 51d3251..27fa353 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