From ac9fc38712cd385ce2a1979be414dbaed2ca93f8 Mon Sep 17 00:00:00 2001 From: WEN Hao Date: Sat, 1 Aug 2026 18:19:50 +0800 Subject: [PATCH] ci: update Python versions, drop EOL 3.8/3.9, add 3.14 Update requires-python to >=3.10 and refresh classifiers. --- .github/workflows/check-formatting.yml | 2 +- .github/workflows/docs-publish.yml | 2 +- .github/workflows/random-test.yml | 2 +- .github/workflows/run-pytest.yml | 2 +- pyproject.toml | 7 ++----- 5 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/check-formatting.yml b/.github/workflows/check-formatting.yml index cbd574e..2365887 100644 --- a/.github/workflows/check-formatting.yml +++ b/.github/workflows/check-formatting.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - python-version: ["3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v7 diff --git a/.github/workflows/docs-publish.yml b/.github/workflows/docs-publish.yml index fc4358a..78953ed 100644 --- a/.github/workflows/docs-publish.yml +++ b/.github/workflows/docs-publish.yml @@ -35,7 +35,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - python-version: ["3.9"] + python-version: ["3.12"] steps: - uses: actions/checkout@v7 diff --git a/.github/workflows/random-test.yml b/.github/workflows/random-test.yml index 4ab2712..19fd799 100644 --- a/.github/workflows/random-test.yml +++ b/.github/workflows/random-test.yml @@ -24,7 +24,7 @@ jobs: strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] os: [ubuntu-22.04, ubuntu-22.04] runs-on: ${{ matrix.os }} diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index a0c5ed8..c186929 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v7 diff --git a/pyproject.toml b/pyproject.toml index 51d5fb4..8991595 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ dynamic = ["version"] description = "Computation of confidence intervals for binomial proportions and for difference of binomial proportions." readme = "README.md" license = { file = "LICENSE" } -requires-python = ">=3.6" +requires-python = ">=3.10" authors = [ { name = "DeepPSP", email = "wenh06@gmail.com" }, ] @@ -17,14 +17,11 @@ classifiers = [ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", - "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", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] dependencies = [ "deprecate-kwargs",