From b7b20aa73323ec087ae6052286cd5a5bd8b62042 Mon Sep 17 00:00:00 2001 From: Jonas Lammler Date: Thu, 22 Oct 2026 12:38:16 +0200 Subject: [PATCH] feat: drop support for python 3.10 Python 3.10 will be EOL in Oct 2026. https://devguide.python.org/versions/ --- .github/workflows/test.yml | 1 - .gitlab-ci.yml | 1 - .pre-commit-config.yaml | 2 +- pyproject.toml | 2 +- setup.py | 3 +-- tox.ini | 3 +-- 6 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3ab6ad3a..84249780 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,6 @@ jobs: strategy: matrix: python-version: - - "3.10" - "3.11" - "3.12" - "3.13" diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f2cc23b9..5ed2acfd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,7 +27,6 @@ test: parallel: matrix: - python_version: - - "3.10" - "3.11" - "3.12" - "3.13" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2a6d6301..157f3753 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,7 +32,7 @@ repos: rev: v3.22.0 hooks: - id: pyupgrade - args: [--py310-plus] + args: [--py311-plus] - repo: https://github.com/pycqa/isort rev: 9.0.2 diff --git a/pyproject.toml b/pyproject.toml index cbf37daf..8bb90a3f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ requires = ["setuptools"] build-backend = "setuptools.build_meta" [tool.pylint.main] -py-version = "3.10" +py-version = "3.11" recursive = true jobs = 0 diff --git a/setup.py b/setup.py index bbcd4774..afbdd9ab 100644 --- a/setup.py +++ b/setup.py @@ -27,13 +27,12 @@ "Intended Audience :: Developers", "Natural Language :: English", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", ], - python_requires=">=3.10", + python_requires=">=3.11", install_requires=[ "python-dateutil>=2.7.5", "requests>=2.20", diff --git a/tox.ini b/tox.ini index 813895b3..2cd65d13 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py310, py311, py312, py313, py314 +envlist = py311, py312, py313, py314 [testenv] passenv = FAKE_API_ENDPOINT @@ -10,7 +10,6 @@ commands = [gh-actions] python = - 3.10: py310 3.11: py311 3.12: py312 3.13: py313