From 5d31c559407121c0c984577b8a41793497b0c55b Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 13 Dec 2024 12:29:07 +0100 Subject: [PATCH] build: drop support for Python 3.8 and 3.9 Change-Id: I88c01e69e8c29de92b02ac56f1757332e42cef87 --- .github/workflows/ci.yaml | 2 +- .mergify.yml | 2 -- pyproject.toml | 6 ++---- tox.ini | 2 +- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2017d1d..2b1efee 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,7 +11,7 @@ jobs: test: strategy: matrix: - python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python: ["3.10", "3.11", "3.12", "3.13"] runs-on: ubuntu-22.04 steps: diff --git a/.mergify.yml b/.mergify.yml index a74c4f0..e6b5a71 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -16,8 +16,6 @@ queue_rules: queue_conditions: - "#approved-reviews-by>=1" - "check-success=pep8" - - "check-success=test (3.8)" - - "check-success=test (3.9)" - "check-success=test (3.10)" - "check-success=test (3.11)" - "check-success=test (3.12)" diff --git a/pyproject.toml b/pyproject.toml index 3bb8aff..0847153 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "daiquiri" -requires-python = ">=3.8" +requires-python = ">=3.10" dynamic = ["version"] license = {"text" = "Apache 2.0"} description = "Library to configure Python logging easily" @@ -19,8 +19,6 @@ classifiers = [ "Operating System :: POSIX :: Linux", "Programming Language :: Python", "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", @@ -46,7 +44,7 @@ test = ["pytest"] systemd = ["systemd-python>=234"] [tool.black] -target-version = ['py38', 'py39', 'py310', 'py311', 'py312', 'py313'] +target-version = ['py310', 'py311', 'py312', 'py313'] [tool.mypy] files = "daiquiri" diff --git a/tox.ini b/tox.ini index 110b347..d08fbed 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38,py39,py310,py311,py312,py313,pep8,docs +envlist = py310,py311,py312,py313,pep8,docs [testenv] allowlist_externals = sh