From e587684ad738c639e26c30d8d0e5421d30e68a3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=BE=D0=BA=D0=BE=D1=81=20=D0=90=D1=80=D1=82=D0=B5?= =?UTF-8?q?=D0=BC=20=D0=9D=D0=B8=D0=BA=D0=BE=D0=BB=D0=B0=D0=B5=D0=B2=D0=B8?= =?UTF-8?q?=D1=87?= Date: Fri, 17 Jul 2026 10:33:33 +0700 Subject: [PATCH] fix: require Python >= 3.10 pyproject.toml declared requires-python >= 3.9, but the codebase uses annotations that are incompatible with Python 3.9: builtin generic tuple[str, str] in parse_date_range (cli.py) and PEP 604 unions str | None (config.py, yaml_config.py), the latter requiring 3.10+ at runtime. Bump requires-python to >=3.10 and drop the Python 3.9 classifier. Closes #51 --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 063a232..fcdfc6a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,13 +11,12 @@ authors = [{ name = "Artem Kokos", email = "artem-kokos@mail.ru" }] license = { text = "MIT" } classifiers = [ "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Operating System :: POSIX :: Linux", "Environment :: Console", ] -requires-python = ">=3.9" +requires-python = ">=3.10" dependencies = [ "python-redmine>=2.4.0", "tabulate>=0.9.0",