From 0e8a626424992e5f08d22c23f637f482aadb5059 Mon Sep 17 00:00:00 2001 From: kyluca Date: Thu, 9 Oct 2025 17:09:27 +1000 Subject: [PATCH 1/2] build!: drop support for EOL Python 3.9 --- .github/workflows/publish.yml | 2 +- .github/workflows/test.yml | 6 +++--- pyproject.toml | 3 +-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2458067..d2abfdf 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,7 +22,7 @@ jobs: - name: Set up Python uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0 with: - python-version: '3.9' + python-version: '3.10' - name: Install sphinx toolset run: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dcbebc7..c1bf1fd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: os: ['ubuntu-latest', 'ubuntu-24.04-arm'] - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', 'pypy3.10', 'pypy3.11'] + python-version: ['3.10', '3.11', '3.12', '3.13', 'pypy3.10', 'pypy3.11'] steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 @@ -59,7 +59,7 @@ jobs: strategy: matrix: - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', 'pypy3.10', 'pypy3.11'] + python-version: ['3.10', '3.11', '3.12', '3.13', 'pypy3.10', 'pypy3.11'] steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 @@ -107,7 +107,7 @@ jobs: strategy: matrix: - python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.10', '3.11', '3.12', '3.13'] steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 diff --git a/pyproject.toml b/pyproject.toml index 7fd7ac7..aa1d7c7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ dynamic = ["version"] description = "Official Python command line client for tldr pages." readme = "README.md" license = "MIT" -requires-python = "~=3.9" +requires-python = "~=3.10" authors = [ { name = "Felix Yan and tldr-pages contributors" }, ] @@ -37,7 +37,6 @@ classifiers = [ "Operating System :: POSIX :: BSD :: OpenBSD", "Operating System :: POSIX :: Linux", "Operating System :: POSIX :: SunOS/Solaris", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", From ae717baf9f94dfe167e11f7c90409377a796bf79 Mon Sep 17 00:00:00 2001 From: kyluca Date: Fri, 10 Oct 2025 22:08:41 +1000 Subject: [PATCH 2/2] build: add Python 3.14 to build matrix --- .github/workflows/test.yml | 6 +++--- pyproject.toml | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c1bf1fd..1e4508f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: os: ['ubuntu-latest', 'ubuntu-24.04-arm'] - python-version: ['3.10', '3.11', '3.12', '3.13', 'pypy3.10', 'pypy3.11'] + python-version: ['3.10', '3.11', '3.12', '3.13', '3.14', 'pypy3.10', 'pypy3.11'] steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 @@ -59,7 +59,7 @@ jobs: strategy: matrix: - python-version: ['3.10', '3.11', '3.12', '3.13', 'pypy3.10', 'pypy3.11'] + python-version: ['3.10', '3.11', '3.12', '3.13', '3.14', 'pypy3.10', 'pypy3.11'] steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 @@ -107,7 +107,7 @@ jobs: strategy: matrix: - python-version: ['3.10', '3.11', '3.12', '3.13'] + python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 diff --git a/pyproject.toml b/pyproject.toml index 3ca0a7d..213ba6c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,6 +41,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Topic :: Documentation", "Topic :: Software Development :: Documentation", "Topic :: System",