From a7e1c29def5f1b791a48a7160ccec14442c6b494 Mon Sep 17 00:00:00 2001 From: Wibowo Arindrarto Date: Fri, 26 Jul 2024 23:23:06 +0200 Subject: [PATCH] chore: Drop official support and tests for python <= 3.10 --- .github/workflows/ci.yml | 2 +- Makefile | 2 +- pyproject.toml | 5 +---- tox.ini | 2 +- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2370b10..c2e5ca9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.12", "3.11", "3.10", "3.9", "3.8"] + python-version: ["3.12", "3.11"] steps: - name: Checkout repo uses: actions/checkout@v4 diff --git a/Makefile b/Makefile index 28a39e8..a1ea905 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ endif APP_NAME := crimson # Supported Python versions; latest listed first. -PYTHON_VERSIONS := 3.12.0 3.11.6 3.10.13 3.9.18 3.8.18 +PYTHON_VERSIONS := 3.12.0 3.11.6 # Primary Python version used for virtualenv. PYTHON_VERSION := $(firstword $(PYTHON_VERSIONS)) diff --git a/pyproject.toml b/pyproject.toml index 77b51b8..8641765 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,9 +17,6 @@ classifiers = [ "License :: OSI Approved :: BSD License", "Operating System :: POSIX", "Operating System :: Microsoft :: Windows", - "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", "Topic :: Utilities", @@ -37,7 +34,7 @@ style = "semver" pattern = "^v?(?P\\d+\\.\\d+\\.\\d+)(-?((?P[a-zA-Z]+)\\.?(?P\\d+)?))?(\\+(?P.+))?$" [tool.poetry.dependencies] -python = ">=3.8.1,<4.0" +python = ">=3.11.0,<4.0" click = "^8.1.7" PyYAML = "^6.0.1" diff --git a/tox.ini b/tox.ini index 9defc26..0c638a4 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py312, py311, py310, py39, py38 +envlist = py312, py311 [testenv] allowlist_externals =