From 68c341bd105ae9329fbae30ebd37be7751bc848e Mon Sep 17 00:00:00 2001 From: Justin Mayer Date: Tue, 31 Mar 2026 08:48:50 +0200 Subject: [PATCH] refactor: Require Python 3.11 and above --- .github/workflows/main.yml | 2 +- .readthedocs.yaml | 2 +- pyproject.toml | 3 +-- tox.ini | 3 +-- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 14b8ee90..06d90677 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [ubuntu, macos, windows] - python: ["3.10", "3.11", "3.12", "3.13", "3.14"] + python: ["3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v6 diff --git a/.readthedocs.yaml b/.readthedocs.yaml index b18ff005..cd5f2060 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -9,7 +9,7 @@ version: 2 build: os: ubuntu-22.04 tools: - python: "3.10" + python: "3.11" # Build HTML & PDF formats formats: diff --git a/pyproject.toml b/pyproject.toml index f6cb125b..8ea92e34 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,6 @@ classifiers = [ "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", @@ -27,7 +26,7 @@ classifiers = [ "Topic :: Text Processing :: Markup :: HTML", "Topic :: Text Processing :: Markup :: reStructuredText", ] -requires-python = ">=3.10" +requires-python = ">=3.11" dependencies = [ "blinker>=1.7.0", "docutils>=0.20.1", diff --git a/tox.ini b/tox.ini index 2b91bff4..fee8f38d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,8 @@ [tox] -envlist = py{3.10,3.11,3.12,3.13,3.14},docs +envlist = py{3.11,3.12,3.13,3.14},docs [testenv] basepython = - py3.10: python3.10 py3.11: python3.11 py3.12: python3.12 py3.13: python3.13